Skip to content

Enable Auto-Attach for MCP Prompts / Embedded Resources #251747

Open
@pattobrien

Description

@pattobrien

VSCode's chat allows for auto-attaching prompt/instructions files, given frontmatter that matches the format expected in the VSCode docs.

It would be really awesome if there was a way to have MCP Prompts / Resources also auto-included in chat context, based on similar frontmatter in either the prompt/resource TextContent itself, or in metadata of the base MCP Prompt or Resource objects.

This would greatly improve the UX of Prompts for end-users, which as of now requires explicit Prompt selection in order to include MCPServer-specific system prompts.

I'm unsure of whether this is functionality that would be best defined in the MCP spec itself, or specifically with the VSCode implementation; therefore, I opened a related discussion in the MCP repo.

Metadata

Metadata

Labels

chat-mcpchat-promptsPrompt and Instruction files related issuesunder-discussionIssue is under discussion for relevance, priority, approach

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions