Add prompt-target-mapping and prompt-gotchas for the apm .prompt.md primitive from the published apm docs, correct the preserved-key set in prompt-primitive-schema, and add prompt-standards research covering Copilot/VS Code prompt files, Claude Code commands, Prompty, Dotprompt and MCP prompts. No vendor-neutral prompt-file standard was found. Refs: #149 Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
1.5 KiB
topic, source_keys
| topic | source_keys | |
|---|---|---|
| mcp-prompts |
|
Layer
MCP prompts are a server-to-client protocol primitive, not a file format. A server declares the prompts capability and clients call prompts/list and prompts/get with named string arguments. The latest revision at fetch time was dated 2026-07-28. There is no on-disk location, naming convention or frontmatter, and storage is out of scope.
Shape
A prompt definition has name, optional title, description and icons, and an arguments list whose entries carry name, description and required. prompts/get returns messages, each with a user or assistant role and a content item (text, image, audio, resource link or embedded resource). There is no system role and no template syntax: the server substitutes arguments and returns finished messages. There is no field for allowed tools, model or invocation control.
Interaction model
Prompts are described as user-controlled, meaning the user explicitly selects one, for example as a slash command, though the protocol mandates no UI. Errors use JSON-RPC codes, and implementations must validate inputs and outputs.
Relevance
MCP prompts and apm prompts solve different problems: one delivers prompt content at runtime from a server, the other authors a static file that is compiled into each tool's command directory. They are not substitutes. Whether a given client surfaces MCP prompts as slash commands was not confirmed from the spec page.