Skip to content

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

Closed
spoons-and-mirrors wants to merge 3 commits into
anomalyco: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 into
anomalyco:devfrom
spoons-and-mirrors:feat/mcp-registry

Conversation

@spoons-and-mirrors

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

Copy link
Copy Markdown
Contributor

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-mirrorsspoons-and-mirrors changed the title tool(mcp registry): tool(mcp registry): debloat context from mcp descriptionsNov 25, 2025
@spoons-and-mirrorsspoons-and-mirrors changed the title tool(mcp registry): debloat context from mcp descriptionstool(mcp registry): debloat context of mcp descriptionsNov 25, 2025
@spoons-and-mirrors

Copy link
Copy Markdown
ContributorAuthor

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

Sign up for freeto 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

@spoons-and-mirrors@actions-user