MCP Prompts
MCP prompts expose reusable templated messages/workflows from a server. They can help users discover server-supported interaction patterns.
type PromptTemplate = {
name: string;
description?: string;
arguments?: Array<{ name: string; required?: boolean }>;
};
Prompt content from an MCP server is still external content. A host should not let a remote prompt override its own higher-level security/policy instructions.
Practice
- Why are prompts different from tools?
- Who should decide whether a remote prompt is offered to a user?
- How can a prompt become an injection vector?
- Why should prompt templates be versioned/evaluated like application prompts?