Skip to content
Discussion options

You must be logged in to vote

The SDK is sending them correctly. McpServerOptions.ServerInstructions goes out in the initialize result as instructions, and the C# client exposes it as McpClient.ServerInstructions. The host has to put that into the model itself. This SDK doesn't do that automatically. If Inspector shows the text and Claude Desktop or VS Code ignore it, that's the host not applying the hint. In a C# host, add client.ServerInstructions to the system prompt if you want the model to follow it.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by PederHP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants