Repository navigation
fix(mcp): clear allowed_tools and tool overrides on MCP server edit #29411
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 15 commits into
litellm_internal_staging
from
litellm_mcp_clear_allowed_tools
Jun 2, 2026
Merged
Changes from 3 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
e685e44
fix(mcp): clear allowed_tools and tool overrides on MCP server edit
Sameerlite 941f289
style(mcp): simplify CRUD panel value ternary per review
Sameerlite 9e987b6
fix(mcp): enforce empty tool allowlist when cleared in dashboard
Sameerlite 9e3e48b
Fix legacy MCP tool allowlist edit state
cursoragent cc7b45a
test(mcp): pin allowlist fields on mock server in tools test
Sameerlite 3c98679
fix(mcp): avoid locking legacy servers on quick edit save
Sameerlite c657125
fix(mcp): type mcp_info base for allowlist flag read
Sameerlite 7d74be7
fix(mcp): use MCPInfo type for tool_allowlist_enforced in edit save
Sameerlite d4f30b1
Update ui/litellm-dashboard/src/components/mcp_tools/mcp_server_edit.tsx
Sameerlite 9601bd6
Remove unused MCP allowlist variable
cursoragent 6559798
Fix MCP legacy tool state display
cursoragent 6290c4b
Fix legacy MCP tool allowlist saves
cursoragent 7dff8c5
Merge branch 'litellm_internal_staging' into litellm_mcp_clear_allowe…
mateo-berri bfcac52
fix(mcp): enforce allowlist when create flow deselects all tools
mateo-berri 8adc999
fix(mcp): enforce disallowed_tools on REST listing and keep restored …
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
Some comments aren't visible on the classic Files Changed page.
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
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
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.