Repository navigation
fix(mcp): honor server_id for REST tool calls with shared upstream URLs #30184
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
mateo-berri
merged 11 commits into
litellm_internal_staging
from
litellm_fix_mcp_rest_server_id_auth
Jun 12, 2026
Merged
Changes from 1 commit
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
ff7a59e
fix(mcp): honor server_id for REST tool calls with shared upstream URLs
Sameerlite 2625237
fix(mcp): classify prefixed REST tool names against full registry
Sameerlite 75722df
Merge remote-tracking branch 'origin/litellm_internal_staging' into l…
mateo-berri dea48f1
test(mcp): cover server_id fallback for unresolved prefixed REST tool…
mateo-berri 1c19e3e
test(mcp): scope global tool-name mapping mutation with patch.dict
mateo-berri 8cc2390
test(mcp): cover server_id guard on prefix-retry tool resolution
mateo-berri 40b5135
test(mcp): assert requested server credentials injected on cross-serv…
mateo-berri 424a610
perf(mcp): scan registry prefixes only when server_id is supplied
mateo-berri b7df649
fix(mcp): allow hyphenated upstream tool names when REST server_id is…
mateo-berri 1623403
perf(mcp): skip registry prefix scan for separator-free REST tool names
mateo-berri 8acfb96
test(http_handler): drop httpbin dependence from per-request timeout …
mateo-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
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.
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.