Skip to content

tool(mcp registry): debloat context of mcp descriptions#4717

Closed
spoons-and-mirrors wants to merge 3 commits intoanomalyco:devfrom
spoons-and-mirrors:feat/mcp-registry
Closed

tool(mcp registry): debloat context of mcp descriptions#4717
spoons-and-mirrors wants to merge 3 commits intoanomalyco:devfrom
spoons-and-mirrors:feat/mcp-registry

Conversation

@spoons-and-mirrors
Copy link
Contributor

@spoons-and-mirrors spoons-and-mirrors commented Nov 25, 2025

The mcp registry tool is an experimental tool that (when enabled) hides mcp tool descriptions from the request to save tokens.

To use an mcp tool, the model will call the mcp registry with the tool(s) to activate, which enables them for 3 user messages (random number really)

image

This allows users to have plenty of mcp tools running without bloating context with their schema and descriptions - only a simple list of tool names is supplied in the registry description.

image

@spoons-and-mirrors spoons-and-mirrors marked this pull request as ready for review November 25, 2025 03:11
@spoons-and-mirrors spoons-and-mirrors changed the title tool(mcp registry): tool(mcp registry): debloat context from mcp descriptions Nov 25, 2025
@spoons-and-mirrors spoons-and-mirrors changed the title tool(mcp registry): debloat context from mcp descriptions tool(mcp registry): debloat context of mcp descriptions Nov 25, 2025
@spoons-and-mirrors
Copy link
Contributor Author

closing for house keeping - may re-open in the future

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants