eca icon indicating copy to clipboard operation
eca copied to clipboard

Add MCP server instructions to context

Open itkonen opened this issue 8 months ago • 2 comments

MCP servers provide a "instructions" field in the "InitializeResult" message (available since protocol version "2025-03-26"), and this information could help agents better use server features. plumcp seems to support them.

I'm not quite sure what would be the best location for these instructions as they can be quite long (see github-mcp-server), and the LLM should understand that they relate to a specific toolset.

itkonen avatar Mar 14 '26 05:03 itkonen

Interesting, will take a look and impl this, makes sense!

ericdallo avatar Mar 14 '26 14:03 ericdallo

Done in 0.114.1!

ericdallo avatar Mar 14 '26 14:03 ericdallo