Repository navigation
feat(mcp): scan and pin upstream tool descriptions #43283
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
Merged
joshua-berri
merged 12 commits into
main
from
litellm_mcp_tool_description_scan_and_pin
Sep 29, 2026
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
46d5038
feat(mcp): scan and pin upstream tool descriptions
mateo-berri 797bdb8
chore: sync schema.prisma copies from root
github-actions[bot] b2ef761
fix(mcp): pin input schemas, scan before pinning, admin-only pin writes
mateo-berri dc3f3ca
fix(mcp): apply overrides and the pin before the discovery scan, dedu…
mateo-berri f987b1f
Merge remote-tracking branch 'origin/main' into litellm_mcp_tool_desc…
mateo-berri 49d19d3
fix(mcp): snapshot the pin through the REST module's unpinned catalog…
mateo-berri 335cae3
fix(mcp): pin the raw upstream catalog so an override never hides ups…
mateo-berri 84d8c66
refactor(mcp): trim the tool catalog guard docstrings to one line
mateo-berri 1494cb5
test(mcp): cover guarded discovery boundaries and response definitions
joshua-berri 24faeb1
fix(mcp): bound discovery guardrail concurrency per catalog
joshua-berri 852ed63
fix(mcp): scan tool catalogs in bounded parallel batches
joshua-berri e6dc5c5
fix(mcp): hide pinned catalogs from restricted management views
joshua-berri File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
...-extras/litellm_proxy_extras/migrations/20260925000000_add_mcp_pinned_tools/migration.sql
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| -- AlterTable | ||
| ALTER TABLE "LiteLLM_MCPServerTable" ADD COLUMN IF NOT EXISTS "pinned_tools" JSONB DEFAULT '{}'; | ||
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.