From 767cadd007f74c03a60285abdb3692088fd1f2ae Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Tue, 5 May 2026 10:50:24 -0700 Subject: [PATCH] fix(mcp): show all tools in edit panel, not just allowed tools Edit flow was passing externalTools (from GET /tools/list, filtered by allowed_tools) to MCPToolConfiguration, disabling the internal hook. Remove the external props so the internal hook fires via POST /test/tools/list, which returns all tools unfiltered. Combined with the credential inheritance fix, tools load automatically without re-entering credentials and all tools are visible for re-configuration. existingAllowedTools still pre-checks previously allowed tools. Co-Authored-By: Claude Sonnet 4.6 --- litellm/proxy/_experimental/out/404.html | 1 - litellm/proxy/_experimental/out/_not-found.html | 1 - .../proxy/_experimental/out/api-reference.html | 1 - litellm/proxy/_experimental/out/chat.html | 1 - .../out/experimental/api-playground.html | 1 - .../_experimental/out/experimental/budgets.html | 1 - .../_experimental/out/experimental/caching.html | 1 - .../out/experimental/claude-code-plugins.html | 1 - .../_experimental/out/experimental/old-usage.html | 1 - .../_experimental/out/experimental/prompts.html | 1 - .../out/experimental/tag-management.html | 1 - litellm/proxy/_experimental/out/guardrails.html | 1 - litellm/proxy/_experimental/out/login.html | 1 - litellm/proxy/_experimental/out/logs.html | 1 - .../_experimental/out/mcp/oauth/callback.html | 1 - litellm/proxy/_experimental/out/model-hub.html | 1 - litellm/proxy/_experimental/out/model_hub.html | 1 - .../proxy/_experimental/out/model_hub_table.html | 1 - .../_experimental/out/models-and-endpoints.html | 1 - litellm/proxy/_experimental/out/onboarding.html | 1 - .../proxy/_experimental/out/organizations.html | 1 - litellm/proxy/_experimental/out/playground.html | 1 - litellm/proxy/_experimental/out/policies.html | 1 - .../out/settings/admin-settings.html | 1 - .../out/settings/logging-and-alerts.html | 1 - .../out/settings/router-settings.html | 1 - .../_experimental/out/settings/ui-theme.html | 1 - litellm/proxy/_experimental/out/skills.html | 1 - litellm/proxy/_experimental/out/teams.html | 1 - litellm/proxy/_experimental/out/test-key.html | 1 - .../_experimental/out/tools/mcp-servers.html | 1 - .../_experimental/out/tools/vector-stores.html | 1 - litellm/proxy/_experimental/out/usage.html | 1 - litellm/proxy/_experimental/out/users.html | 1 - litellm/proxy/_experimental/out/virtual-keys.html | 1 - ui/litellm-dashboard/package-lock.json | 15 +++++++++++++++ .../src/components/mcp_tools/mcp_server_edit.tsx | 4 ---- 37 files changed, 15 insertions(+), 39 deletions(-) delete mode 100644 litellm/proxy/_experimental/out/404.html delete mode 100644 litellm/proxy/_experimental/out/_not-found.html delete mode 100644 litellm/proxy/_experimental/out/api-reference.html delete mode 100644 litellm/proxy/_experimental/out/chat.html delete mode 100644 litellm/proxy/_experimental/out/experimental/api-playground.html delete mode 100644 litellm/proxy/_experimental/out/experimental/budgets.html delete mode 100644 litellm/proxy/_experimental/out/experimental/caching.html delete mode 100644 litellm/proxy/_experimental/out/experimental/claude-code-plugins.html delete mode 100644 litellm/proxy/_experimental/out/experimental/old-usage.html delete mode 100644 litellm/proxy/_experimental/out/experimental/prompts.html delete mode 100644 litellm/proxy/_experimental/out/experimental/tag-management.html delete mode 100644 litellm/proxy/_experimental/out/guardrails.html delete mode 100644 litellm/proxy/_experimental/out/login.html delete mode 100644 litellm/proxy/_experimental/out/logs.html delete mode 100644 litellm/proxy/_experimental/out/mcp/oauth/callback.html delete mode 100644 litellm/proxy/_experimental/out/model-hub.html delete mode 100644 litellm/proxy/_experimental/out/model_hub.html delete mode 100644 litellm/proxy/_experimental/out/model_hub_table.html delete mode 100644 litellm/proxy/_experimental/out/models-and-endpoints.html delete mode 100644 litellm/proxy/_experimental/out/onboarding.html delete mode 100644 litellm/proxy/_experimental/out/organizations.html delete mode 100644 litellm/proxy/_experimental/out/playground.html delete mode 100644 litellm/proxy/_experimental/out/policies.html delete mode 100644 litellm/proxy/_experimental/out/settings/admin-settings.html delete mode 100644 litellm/proxy/_experimental/out/settings/logging-and-alerts.html delete mode 100644 litellm/proxy/_experimental/out/settings/router-settings.html delete mode 100644 litellm/proxy/_experimental/out/settings/ui-theme.html delete mode 100644 litellm/proxy/_experimental/out/skills.html delete mode 100644 litellm/proxy/_experimental/out/teams.html delete mode 100644 litellm/proxy/_experimental/out/test-key.html delete mode 100644 litellm/proxy/_experimental/out/tools/mcp-servers.html delete mode 100644 litellm/proxy/_experimental/out/tools/vector-stores.html delete mode 100644 litellm/proxy/_experimental/out/usage.html delete mode 100644 litellm/proxy/_experimental/out/users.html delete mode 100644 litellm/proxy/_experimental/out/virtual-keys.html diff --git a/litellm/proxy/_experimental/out/404.html b/litellm/proxy/_experimental/out/404.html deleted file mode 100644 index 1ad9a6e249e..00000000000 --- a/litellm/proxy/_experimental/out/404.html +++ /dev/null @@ -1 +0,0 @@ -404: This page could not be found.LiteLLM Dashboard

404

This page could not be found.

\ No newline at end of file diff --git a/litellm/proxy/_experimental/out/_not-found.html b/litellm/proxy/_experimental/out/_not-found.html deleted file mode 100644 index 1ad9a6e249e..00000000000 --- a/litellm/proxy/_experimental/out/_not-found.html +++ /dev/null @@ -1 +0,0 @@ -404: This page could not be found.LiteLLM Dashboard

404

This page could not be found.

\ No newline at end of file diff --git a/litellm/proxy/_experimental/out/api-reference.html b/litellm/proxy/_experimental/out/api-reference.html deleted file mode 100644 index 210444386ad..00000000000 --- a/litellm/proxy/_experimental/out/api-reference.html +++ /dev/null @@ -1 +0,0 @@ -LiteLLM Dashboard
Loading...
\ No newline at end of file diff --git a/litellm/proxy/_experimental/out/chat.html b/litellm/proxy/_experimental/out/chat.html deleted file mode 100644 index 1ca440a5ddd..00000000000 --- a/litellm/proxy/_experimental/out/chat.html +++ /dev/null @@ -1 +0,0 @@ -LiteLLM Dashboard \ No newline at end of file diff --git a/litellm/proxy/_experimental/out/experimental/api-playground.html b/litellm/proxy/_experimental/out/experimental/api-playground.html deleted file mode 100644 index 3d0d98b864c..00000000000 --- a/litellm/proxy/_experimental/out/experimental/api-playground.html +++ /dev/null @@ -1 +0,0 @@ -LiteLLM Dashboard
Loading...
\ No newline at end of file diff --git a/litellm/proxy/_experimental/out/experimental/budgets.html b/litellm/proxy/_experimental/out/experimental/budgets.html deleted file mode 100644 index 6ddb1ebda9c..00000000000 --- a/litellm/proxy/_experimental/out/experimental/budgets.html +++ /dev/null @@ -1 +0,0 @@ -LiteLLM Dashboard
Loading...
\ No newline at end of file diff --git a/litellm/proxy/_experimental/out/experimental/caching.html b/litellm/proxy/_experimental/out/experimental/caching.html deleted file mode 100644 index 9e56d271b67..00000000000 --- a/litellm/proxy/_experimental/out/experimental/caching.html +++ /dev/null @@ -1 +0,0 @@ -LiteLLM Dashboard
Loading...
\ No newline at end of file diff --git a/litellm/proxy/_experimental/out/experimental/claude-code-plugins.html b/litellm/proxy/_experimental/out/experimental/claude-code-plugins.html deleted file mode 100644 index 21e3645e1dd..00000000000 --- a/litellm/proxy/_experimental/out/experimental/claude-code-plugins.html +++ /dev/null @@ -1 +0,0 @@ -LiteLLM Dashboard
Loading...
\ No newline at end of file diff --git a/litellm/proxy/_experimental/out/experimental/old-usage.html b/litellm/proxy/_experimental/out/experimental/old-usage.html deleted file mode 100644 index b5218f65f10..00000000000 --- a/litellm/proxy/_experimental/out/experimental/old-usage.html +++ /dev/null @@ -1 +0,0 @@ -LiteLLM Dashboard
Loading...
\ No newline at end of file diff --git a/litellm/proxy/_experimental/out/experimental/prompts.html b/litellm/proxy/_experimental/out/experimental/prompts.html deleted file mode 100644 index d6e650f51ae..00000000000 --- a/litellm/proxy/_experimental/out/experimental/prompts.html +++ /dev/null @@ -1 +0,0 @@ -LiteLLM Dashboard
Loading...
\ No newline at end of file diff --git a/litellm/proxy/_experimental/out/experimental/tag-management.html b/litellm/proxy/_experimental/out/experimental/tag-management.html deleted file mode 100644 index 8ca9bbefc7a..00000000000 --- a/litellm/proxy/_experimental/out/experimental/tag-management.html +++ /dev/null @@ -1 +0,0 @@ -LiteLLM Dashboard
Loading...
\ No newline at end of file diff --git a/litellm/proxy/_experimental/out/guardrails.html b/litellm/proxy/_experimental/out/guardrails.html deleted file mode 100644 index 8c48cd2a1ec..00000000000 --- a/litellm/proxy/_experimental/out/guardrails.html +++ /dev/null @@ -1 +0,0 @@ -LiteLLM Dashboard
Loading...
\ No newline at end of file diff --git a/litellm/proxy/_experimental/out/login.html b/litellm/proxy/_experimental/out/login.html deleted file mode 100644 index 77ff2c70bfa..00000000000 --- a/litellm/proxy/_experimental/out/login.html +++ /dev/null @@ -1 +0,0 @@ -LiteLLM Dashboard
🚅 LiteLLM
Loading...
\ No newline at end of file diff --git a/litellm/proxy/_experimental/out/logs.html b/litellm/proxy/_experimental/out/logs.html deleted file mode 100644 index 9ec71a0cf7c..00000000000 --- a/litellm/proxy/_experimental/out/logs.html +++ /dev/null @@ -1 +0,0 @@ -LiteLLM Dashboard
Loading...
\ No newline at end of file diff --git a/litellm/proxy/_experimental/out/mcp/oauth/callback.html b/litellm/proxy/_experimental/out/mcp/oauth/callback.html deleted file mode 100644 index c0c32428311..00000000000 --- a/litellm/proxy/_experimental/out/mcp/oauth/callback.html +++ /dev/null @@ -1 +0,0 @@ -LiteLLM Dashboard
Loading...
\ No newline at end of file diff --git a/litellm/proxy/_experimental/out/model-hub.html b/litellm/proxy/_experimental/out/model-hub.html deleted file mode 100644 index b28a93318b1..00000000000 --- a/litellm/proxy/_experimental/out/model-hub.html +++ /dev/null @@ -1 +0,0 @@ -LiteLLM Dashboard
Loading...
\ No newline at end of file diff --git a/litellm/proxy/_experimental/out/model_hub.html b/litellm/proxy/_experimental/out/model_hub.html deleted file mode 100644 index bfa46a6930f..00000000000 --- a/litellm/proxy/_experimental/out/model_hub.html +++ /dev/null @@ -1 +0,0 @@ -LiteLLM Dashboard
Loading...
\ No newline at end of file diff --git a/litellm/proxy/_experimental/out/model_hub_table.html b/litellm/proxy/_experimental/out/model_hub_table.html deleted file mode 100644 index 3a0514f5f5b..00000000000 --- a/litellm/proxy/_experimental/out/model_hub_table.html +++ /dev/null @@ -1 +0,0 @@ -LiteLLM Dashboard
Loading...
\ No newline at end of file diff --git a/litellm/proxy/_experimental/out/models-and-endpoints.html b/litellm/proxy/_experimental/out/models-and-endpoints.html deleted file mode 100644 index 692a860d0fb..00000000000 --- a/litellm/proxy/_experimental/out/models-and-endpoints.html +++ /dev/null @@ -1 +0,0 @@ -LiteLLM Dashboard
Loading...
\ No newline at end of file diff --git a/litellm/proxy/_experimental/out/onboarding.html b/litellm/proxy/_experimental/out/onboarding.html deleted file mode 100644 index 5fdfa54c966..00000000000 --- a/litellm/proxy/_experimental/out/onboarding.html +++ /dev/null @@ -1 +0,0 @@ -LiteLLM Dashboard
Loading...
\ No newline at end of file diff --git a/litellm/proxy/_experimental/out/organizations.html b/litellm/proxy/_experimental/out/organizations.html deleted file mode 100644 index f372f5c8d09..00000000000 --- a/litellm/proxy/_experimental/out/organizations.html +++ /dev/null @@ -1 +0,0 @@ -LiteLLM Dashboard
Loading...
\ No newline at end of file diff --git a/litellm/proxy/_experimental/out/playground.html b/litellm/proxy/_experimental/out/playground.html deleted file mode 100644 index 24aaf1e8c55..00000000000 --- a/litellm/proxy/_experimental/out/playground.html +++ /dev/null @@ -1 +0,0 @@ -LiteLLM Dashboard
Loading...
\ No newline at end of file diff --git a/litellm/proxy/_experimental/out/policies.html b/litellm/proxy/_experimental/out/policies.html deleted file mode 100644 index 0ac5c6649d1..00000000000 --- a/litellm/proxy/_experimental/out/policies.html +++ /dev/null @@ -1 +0,0 @@ -LiteLLM Dashboard
Loading...
\ No newline at end of file diff --git a/litellm/proxy/_experimental/out/settings/admin-settings.html b/litellm/proxy/_experimental/out/settings/admin-settings.html deleted file mode 100644 index 344e262ae95..00000000000 --- a/litellm/proxy/_experimental/out/settings/admin-settings.html +++ /dev/null @@ -1 +0,0 @@ -LiteLLM Dashboard
Loading...
\ No newline at end of file diff --git a/litellm/proxy/_experimental/out/settings/logging-and-alerts.html b/litellm/proxy/_experimental/out/settings/logging-and-alerts.html deleted file mode 100644 index e0bd09ea487..00000000000 --- a/litellm/proxy/_experimental/out/settings/logging-and-alerts.html +++ /dev/null @@ -1 +0,0 @@ -LiteLLM Dashboard
Loading...
\ No newline at end of file diff --git a/litellm/proxy/_experimental/out/settings/router-settings.html b/litellm/proxy/_experimental/out/settings/router-settings.html deleted file mode 100644 index cf4af264f35..00000000000 --- a/litellm/proxy/_experimental/out/settings/router-settings.html +++ /dev/null @@ -1 +0,0 @@ -LiteLLM Dashboard
Loading...
\ No newline at end of file diff --git a/litellm/proxy/_experimental/out/settings/ui-theme.html b/litellm/proxy/_experimental/out/settings/ui-theme.html deleted file mode 100644 index 228c39a6b6c..00000000000 --- a/litellm/proxy/_experimental/out/settings/ui-theme.html +++ /dev/null @@ -1 +0,0 @@ -LiteLLM Dashboard
Loading...
\ No newline at end of file diff --git a/litellm/proxy/_experimental/out/skills.html b/litellm/proxy/_experimental/out/skills.html deleted file mode 100644 index a09e3d3ba92..00000000000 --- a/litellm/proxy/_experimental/out/skills.html +++ /dev/null @@ -1 +0,0 @@ -LiteLLM Dashboard
Loading...
\ No newline at end of file diff --git a/litellm/proxy/_experimental/out/teams.html b/litellm/proxy/_experimental/out/teams.html deleted file mode 100644 index 014bdb64533..00000000000 --- a/litellm/proxy/_experimental/out/teams.html +++ /dev/null @@ -1 +0,0 @@ -LiteLLM Dashboard
Loading...
\ No newline at end of file diff --git a/litellm/proxy/_experimental/out/test-key.html b/litellm/proxy/_experimental/out/test-key.html deleted file mode 100644 index 596f0f434d1..00000000000 --- a/litellm/proxy/_experimental/out/test-key.html +++ /dev/null @@ -1 +0,0 @@ -LiteLLM Dashboard
Loading...
\ No newline at end of file diff --git a/litellm/proxy/_experimental/out/tools/mcp-servers.html b/litellm/proxy/_experimental/out/tools/mcp-servers.html deleted file mode 100644 index 71067b6d505..00000000000 --- a/litellm/proxy/_experimental/out/tools/mcp-servers.html +++ /dev/null @@ -1 +0,0 @@ -LiteLLM Dashboard
Loading...
\ No newline at end of file diff --git a/litellm/proxy/_experimental/out/tools/vector-stores.html b/litellm/proxy/_experimental/out/tools/vector-stores.html deleted file mode 100644 index 873502fd6c7..00000000000 --- a/litellm/proxy/_experimental/out/tools/vector-stores.html +++ /dev/null @@ -1 +0,0 @@ -LiteLLM Dashboard
Loading...
\ No newline at end of file diff --git a/litellm/proxy/_experimental/out/usage.html b/litellm/proxy/_experimental/out/usage.html deleted file mode 100644 index 7c469451863..00000000000 --- a/litellm/proxy/_experimental/out/usage.html +++ /dev/null @@ -1 +0,0 @@ -LiteLLM Dashboard
Loading...
\ No newline at end of file diff --git a/litellm/proxy/_experimental/out/users.html b/litellm/proxy/_experimental/out/users.html deleted file mode 100644 index 591a71533d8..00000000000 --- a/litellm/proxy/_experimental/out/users.html +++ /dev/null @@ -1 +0,0 @@ -LiteLLM Dashboard
Loading...
\ No newline at end of file diff --git a/litellm/proxy/_experimental/out/virtual-keys.html b/litellm/proxy/_experimental/out/virtual-keys.html deleted file mode 100644 index 0da4ab9a180..00000000000 --- a/litellm/proxy/_experimental/out/virtual-keys.html +++ /dev/null @@ -1 +0,0 @@ -LiteLLM Dashboard
Loading...
\ No newline at end of file diff --git a/ui/litellm-dashboard/package-lock.json b/ui/litellm-dashboard/package-lock.json index ca4e469de08..560baedcde4 100644 --- a/ui/litellm-dashboard/package-lock.json +++ b/ui/litellm-dashboard/package-lock.json @@ -13242,6 +13242,21 @@ "type": "github", "url": "https://github.com/sponsors/wooorm" } + }, + "node_modules/@next/swc-win32-ia32-msvc": { + "version": "14.2.33", + "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.2.33.tgz", + "integrity": "sha512-pc9LpGNKhJ0dXQhZ5QMmYxtARwwmWLpeocFmVG5Z0DzWq5Uf0izcI8tLc+qOpqxO1PWqZ5A7J1blrUIKrIFc7Q==", + "cpu": [ + "ia32" + ], + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10" + } } } } diff --git a/ui/litellm-dashboard/src/components/mcp_tools/mcp_server_edit.tsx b/ui/litellm-dashboard/src/components/mcp_tools/mcp_server_edit.tsx index af5bba6dc3e..997e76982d4 100644 --- a/ui/litellm-dashboard/src/components/mcp_tools/mcp_server_edit.tsx +++ b/ui/litellm-dashboard/src/components/mcp_tools/mcp_server_edit.tsx @@ -1102,10 +1102,6 @@ const MCPServerEdit: React.FC = ({ toolNameToDescription={toolNameToDescription} onToolNameToDisplayNameChange={setToolNameToDisplayName} onToolNameToDescriptionChange={setToolNameToDescription} - externalTools={tools} - externalIsLoading={isLoadingTools} - externalError={toolsError} - externalCanFetch={!!mcpServer.server_id} />