-
Notifications
You must be signed in to change notification settings - Fork 9.1k
[everything] Add structured content tool #2272
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[everything] Add structured content tool #2272
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@richardkmichael thanks for this! Nice implementation.
Even though there are some unrelated drive-by changes (to instructions markdown, and order of tools) I'll approve. In the future, it would be nice for the PR description to call out such changes ahead of time, to make for fewer surprises in the review process.
|
@richardkmichael Just noticed, you need to resolve conflicts before the PR can be merged. Sorry it took so long to get to this one. It was buried in a mountain of PRs to add servers to the README. 😔 |
Tools gained Structured Content in Specification 2025-16-18 https://modelcontextprotocol.io/specification/2025-06-18/server/tools#structured-content The MCP Inspector is able to handle these outputs.
7bdfcc6 to
84a8721
Compare
Helpful feedback, thanks @cliffhall . I adjusted the PR description in case anyone else looks at it.
Rebased, hopefully good now. I have a tiny bit more cleanup, but it'll be a small separate PR to avoid further distraction here. |
cliffhall
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 👍

Add a
structuredContenttool to Everything server to demonstrate Tool Result Structured Content, added in spec 2025-06-18.Note:
Includes these changes unrelated to the Structured Content tool: (only the last commit is the new tool)
instructionsto be easier to read and maintainDescription
Server Details
Motivation and Context
The Everything server is helpful for learning about MCP and testing clients. More specification
coverage would be ideal, so add this new feature from the latest spec.
How Has This Been Tested?
Tested with the MCP Inspector. The Inspector gained Tool Structured Output support in PR
456.
Breaking Changes
No.
Types of changes
Checklist
Additional context
I also organized tool related code to make adding future tools easier.