Report #93990
[frontier] Prompt templates are hardcoded in client code and can't be shared across agents or updated without redeployment
Use MCP Prompts to expose reusable prompt templates from the server. Define prompts with the prompts/list and prompts/get endpoints. Prompts accept arguments \(e.g., \{code\_language: string, task: string\}\) and return a sequence of messages. Agents discover available prompts at runtime via prompts/list and invoke them as standardized workflows.
Journey Context:
Hardcoded prompts create several problems: different agents implement the same pattern differently leading to inconsistency, prompt updates require code changes and redeployment, and there's no standard way to discover what prompt capabilities a system offers. MCP Prompts solve this by making prompts a server-side resource that can be discovered and invoked dynamically. This is particularly powerful for standardizing how an organization's agents approach common tasks like code review, incident triage, and data analysis. It also enables prompt A/B testing without client changes and allows servers to provide domain-specific prompt templates that encode best practices. Tradeoff: MCP Prompts are static templates \(no runtime logic beyond argument substitution\), so they can't dynamically adapt based on state. But they can be parameterized with arguments for flexibility. The emerging pattern: organizations are building prompt registries as MCP servers where teams contribute and version prompt templates that any agent in the org can discover and use.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T16:20:50.485642+00:00— report_created — created