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
Changes from 10 commits
e685e44
941f289
9e987b6
9e3e48b
cc7b45a
3c98679
c657125
7d74be7
d4f30b1
9601bd6
6559798
6290c4b
7dff8c5
bfcac52
8adc999
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -384,12 +384,13 @@ const CreateMCPServer: React.FC<CreateMCPServerProps> = ({ | |
| description: restValues.description, | ||
| logo_url: logoUrl || undefined, | ||
| mcp_server_cost_info: Object.keys(costConfig).length > 0 ? costConfig : null, | ||
| tool_allowlist_enforced: allowedTools.length > 0, | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Create flow omits enforcement flag when all tools deselectedMedium Severity In the create flow, Reviewed by Cursor Bugbot for commit 6290c4b. Configure here. |
||
| }, | ||
| mcp_access_groups: accessGroups, | ||
| alias: restValues.alias, | ||
| allowed_tools: allowedTools.length > 0 ? allowedTools : null, | ||
| tool_name_to_display_name: Object.keys(toolNameToDisplayName).length > 0 ? toolNameToDisplayName : null, | ||
| tool_name_to_description: Object.keys(toolNameToDescription).length > 0 ? toolNameToDescription : null, | ||
| allowed_tools: allowedTools, | ||
| tool_name_to_display_name: toolNameToDisplayName, | ||
| tool_name_to_description: toolNameToDescription, | ||
| allow_all_keys: Boolean(allowAllKeysRaw), | ||
| available_on_public_internet: Boolean(availableOnPublicInternetRaw), | ||
| delegate_auth_to_upstream: Boolean(delegateAuthToUpstreamRaw), | ||
|
|
||


Uh oh!
There was an error while loading. Please reload this page.