MCP response improvements - #327
Merged
Merged
Conversation
alexbainter
force-pushed
the
alex-326-schema-resource-uri-mentions
branch
from
August 11, 2026 16:35
d4b853e to
065a8f7
Compare
alexbainter
force-pushed
the
alex-326-schema-resource-uri-mentions
branch
from
August 11, 2026 16:39
065a8f7 to
2eb3bcd
Compare
alexbainter
force-pushed
the
alex-326-schema-resource-uri-mentions
branch
from
August 11, 2026 16:44
2eb3bcd to
ca2b7ba
Compare
aaronjae22
approved these changes
Aug 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #326. Closes #323.
#326: Updates the MCP tool responses to include the
schema://<id>resource URI since resource templates aren't enumerable by Claude Code for some reason (anthropics/claude-code#3122). As part of this change, I updated thecreate_andupdate_tools to return the same plaintext format thatsearch_schemasuses. I'm not actually sure whether plaintext vs something like JSON or XML is easier for the model (I suspect it depends on the model), but this way we just have oneformat_schemafunction that's used by all our tools when surfacing a schema.#323: Just adds the actual MCP connection URL to the docs.