Replies: 2 comments 1 reply
-
|
According to the MCP Spec:
This is different from tools and resources which are intended to be provided to the LLM in the context window. So it is not surprising that the LLM does not request any prompts -- it likely knows nothing about them. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks @PederHP and @mikekistler, all these was not obvious from the [McpServerPrompt*Attribute] documentation. @PederHP you mentioned instructions property, could you elaborate on this concept and its implementation in Thank you |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Pre-submission Checklist
Discussion Topic
For our MCP server we have prompts to guide the Copilot agent. Why static public methods tagged with
[McpServerPromptAttribute]in class tagged with[McpServerPromptTypeAttribute]are never invoked by the Copilot agent? As far as I understand prompts are part of the MCP protocol like tools.Also how to differentiate an identity prompt from a guideline prompt.
Thank you
Btw Copilot gave me this answer:
The method tagged with McpServerPromptAttribute is intended for use within your own application's infrastructure—such as your chat system, UI, or backend logic—to define and describe prompt types for NDepend MCP Server actions. As an external agent, I do not invoke C# methods or attributes directly; instead, I interact with the NDepend MCP Server via its API/tooling interface to perform analysis and return results.Beta Was this translation helpful? Give feedback.
All reactions