The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
Merge remote-tracking branch 'origin/litellm_internal_staging' into litellm_together_glm53_flash
mateo-berriae89f9cf7459
diff --cc litellm/proxy/_lazy_openapi_snapshot.jsonindex 0e3cbbfd560,e30750ef565..1963c7799a2--- a/litellm/proxy/_lazy_openapi_snapshot.json+++ b/litellm/proxy/_lazy_openapi_snapshot.json@@@ -13983,6 -14979,65 +14979,76 @@@}],"title": "Scopes"+ },+ "subject_token_type": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Subject Token Type"+ },+ "token_endpoint_auth_method": {+ "anyOf": [+ {+ "enum": [+ "client_secret_basic",+ "client_secret_post"+ ],+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Token Endpoint Auth Method"+ },+ "token_exchange_endpoint": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Token Exchange Endpoint"+ },+ "token_exchange_profile": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Token Exchange Profile"+ },+ "upstream_resource": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Upstream Resource"++ },++ "upstream_token_header": {++ "anyOf": [++ {++ "type": "string"++ },++ {++ "type": "null"++ }++ ],++ "title": "Upstream Token Header"}},"title": "MCPCredentials",@@@ -14351,14 -15565,3447 +15576,3458 @@@],"title": "Url"}- },- "title": "NewMCPServerRequest",- "type": "object"- },- "ValidationError": {- "properties": {- "loc": {- "items": {+ },+ "title": "NewMCPServerRequest",+ "type": "object"+ },+ "ValidationError": {+ "properties": {+ "ctx": {+ "title": "Context",+ "type": "object"+ },+ "input": {+ "title": "Input"+ },+ "loc": {+ "items": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "integer"+ }+ ]+ },+ "title": "Location",+ "type": "array"+ },+ "msg": {+ "title": "Message",+ "type": "string"+ },+ "type": {+ "title": "Error Type",+ "type": "string"+ }+ },+ "required": [+ "loc",+ "msg",+ "type"+ ],+ "title": "ValidationError",+ "type": "object"+ }+ }+ },+ "paths": {+ "/mcp": {+ "delete": {+ "description": "Serve the aggregate MCP endpoint on the bare ``/mcp`` spelling: the\n``/mcp`` mount cannot match its bare prefix, and the resulting 307 breaks\nMCP clients behind TLS-terminating proxies.",+ "operationId": "aggregate_mcp_route_mcp_delete",+ "responses": {+ "200": {+ "content": {+ "application/json": {+ "schema": {}+ }+ },+ "description": "Successful Response"+ }+ },+ "summary": "Aggregate Mcp Route",+ "tags": [+ "mcp_app"+ ]+ },+ "get": {+ "description": "Serve the aggregate MCP endpoint on the bare ``/mcp`` spelling: the\n``/mcp`` mount cannot match its bare prefix, and the resulting 307 breaks\nMCP clients behind TLS-terminating proxies.",+ "operationId": "aggregate_mcp_route_mcp_get",+ "responses": {+ "200": {+ "content": {+ "application/json": {+ "schema": {}+ }+ },+ "description": "Successful Response"+ }+ },+ "summary": "Aggregate Mcp Route",+ "tags": [+ "mcp_app"+ ]+ },+ "head": {+ "description": "Serve the aggregate MCP endpoint on the bare ``/mcp`` spelling: the\n``/mcp`` mount cannot match its bare prefix, and the resulting 307 breaks\nMCP clients behind TLS-terminating proxies.",+ "operationId": "aggregate_mcp_route_mcp_head",+ "responses": {+ "200": {+ "content": {+ "application/json": {+ "schema": {}+ }+ },+ "description": "Successful Response"+ }+ },+ "summary": "Aggregate Mcp Route",+ "tags": [+ "mcp_app"+ ]+ },+ "options": {+ "description": "Serve the aggregate MCP endpoint on the bare ``/mcp`` spelling: the\n``/mcp`` mount cannot match its bare prefix, and the resulting 307 breaks\nMCP clients behind TLS-terminating proxies.",+ "operationId": "aggregate_mcp_route_mcp_options",+ "responses": {+ "200": {+ "content": {+ "application/json": {+ "schema": {}+ }+ },+ "description": "Successful Response"+ }+ },+ "summary": "Aggregate Mcp Route",+ "tags": [+ "mcp_app"+ ]+ },+ "patch": {+ "description": "Serve the aggregate MCP endpoint on the bare ``/mcp`` spelling: the\n``/mcp`` mount cannot match its bare prefix, and the resulting 307 breaks\nMCP clients behind TLS-terminating proxies.",+ "operationId": "aggregate_mcp_route_mcp_patch",+ "responses": {+ "200": {+ "content": {+ "application/json": {+ "schema": {}+ }+ },+ "description": "Successful Response"+ }+ },+ "summary": "Aggregate Mcp Route",+ "tags": [+ "mcp_app"+ ]+ },+ "post": {+ "description": "Serve the aggregate MCP endpoint on the bare ``/mcp`` spelling: the\n``/mcp`` mount cannot match its bare prefix, and the resulting 307 breaks\nMCP clients behind TLS-terminating proxies.",+ "operationId": "aggregate_mcp_route_mcp_post",+ "responses": {+ "200": {+ "content": {+ "application/json": {+ "schema": {}+ }+ },+ "description": "Successful Response"+ }+ },+ "summary": "Aggregate Mcp Route",+ "tags": [+ "mcp_app"+ ]+ },+ "put": {+ "description": "Serve the aggregate MCP endpoint on the bare ``/mcp`` spelling: the\n``/mcp`` mount cannot match its bare prefix, and the resulting 307 breaks\nMCP clients behind TLS-terminating proxies.",+ "operationId": "aggregate_mcp_route_mcp_put",+ "responses": {+ "200": {+ "content": {+ "application/json": {+ "schema": {}+ }+ },+ "description": "Successful Response"+ }+ },+ "summary": "Aggregate Mcp Route",+ "tags": [+ "mcp_app"+ ]+ }+ },+ "/mcp-rest/test/connection": {+ "post": {+ "description": "Test if we can connect to the provided MCP server before adding it",+ "operationId": "test_connection_mcp_rest_test_connection_post_2",+ "requestBody": {+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/NewMCPServerRequest"+ }+ }+ },+ "required": true+ },+ "responses": {+ "200": {+ "content": {+ "application/json": {+ "schema": {}+ }+ },+ "description": "Successful Response"+ },+ "422": {+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/HTTPValidationError"+ }+ }+ },+ "description": "Validation Error"+ }+ },+ "security": [+ {+ "APIKeyHeader": []+ }+ ],+ "summary": "Test Connection",+ "tags": [+ "mcp_app"+ ]+ }+ },+ "/mcp-rest/test/tools/list": {+ "post": {+ "description": "Preview tools available from MCP server before adding it",+ "operationId": "test_tools_list_mcp_rest_test_tools_list_post_2",+ "requestBody": {+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/NewMCPServerRequest"+ }+ }+ },+ "required": true+ },+ "responses": {+ "200": {+ "content": {+ "application/json": {+ "schema": {}+ }+ },+ "description": "Successful Response"+ },+ "422": {+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/HTTPValidationError"+ }+ }+ },+ "description": "Validation Error"+ }+ },+ "security": [+ {+ "APIKeyHeader": []+ }+ ],+ "summary": "Test Tools List",+ "tags": [+ "mcp_app"+ ]+ }+ },+ "/mcp-rest/tools/call": {+ "post": {+ "description": "REST API to call a specific MCP tool with the provided arguments",+ "operationId": "call_tool_rest_api_mcp_rest_tools_call_post_2",+ "responses": {+ "200": {+ "content": {+ "application/json": {+ "schema": {}+ }+ },+ "description": "Successful Response"+ }+ },+ "security": [+ {+ "APIKeyHeader": []+ }+ ],+ "summary": "Call Tool Rest Api",+ "tags": [+ "mcp_app"+ ]+ }+ },+ "/mcp-rest/tools/list": {+ "get": {+ "description": "List all available tools with information about the server they belong to.\n\nExample response:\n{\n \"tools\": [\n {\n \"name\": \"create_zap\",\n \"description\": \"Create a new zap\",\n \"inputSchema\": \"tool_input_schema\",\n \"mcp_info\": {\n \"server_name\": \"zapier\",\n \"logo_url\": \"https://www.zapier.com/logo.png\",\n \"server_id\": \"a1b2c3d4-...\",\n \"alias\": \"zapier_prod\",\n }\n }\n ],\n \"error\": null,\n \"message\": \"Successfully retrieved tools\"\n}",+ "operationId": "list_tool_rest_api_mcp_rest_tools_list_get_2",+ "parameters": [+ {+ "description": "The server id to list tools for",+ "in": "query",+ "name": "server_id",+ "required": false,+ "schema": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "description": "The server id to list tools for",+ "title": "Server Id"+ }+ },+ {+ "description": "Filter tools to a single MCP server by name or alias",+ "in": "query",+ "name": "mcp_server_name",+ "required": false,+ "schema": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "description": "Filter tools to a single MCP server by name or alias",+ "title": "Mcp Server Name"+ }+ },+ {+ "description": "Filter tools to a single toolset by name",+ "in": "query",+ "name": "toolset_name",+ "required": false,+ "schema": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "description": "Filter tools to a single toolset by name",+ "title": "Toolset Name"+ }+ },+ {+ "description": "Admin only. Return the full server tool catalog without the allowed_tools filter or per-key tool permissions, so the MCP settings UI can configure the allowlist. Ignored for non-admins.",+ "in": "query",+ "name": "include_disabled_tools",+ "required": false,+ "schema": {+ "default": false,+ "description": "Admin only. Return the full server tool catalog without the allowed_tools filter or per-key tool permissions, so the MCP settings UI can configure the allowlist. Ignored for non-admins.",+ "title": "Include Disabled Tools",+ "type": "boolean"+ }+ }+ ],+ "responses": {+ "200": {+ "content": {+ "application/json": {+ "schema": {+ "additionalProperties": true,+ "title": "Response List Tool Rest Api Mcp Rest Tools List Get",+ "type": "object"+ }+ }+ },+ "description": "Successful Response"+ },+ "422": {+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/HTTPValidationError"+ }+ }+ },+ "description": "Validation Error"+ }+ },+ "security": [+ {+ "APIKeyHeader": []+ }+ ],+ "summary": "List Tool Rest Api",+ "tags": [+ "mcp_app"+ ]+ }+ }+ }+ },+ "mcp_byok_oauth": {+ "components": {+ "schemas": {+ "HTTPValidationError": {+ "properties": {+ "detail": {+ "items": {+ "$ref": "#/components/schemas/ValidationError"+ },+ "title": "Detail",+ "type": "array"+ }+ },+ "title": "HTTPValidationError",+ "type": "object"+ },+ "ValidationError": {+ "properties": {+ "ctx": {+ "title": "Context",+ "type": "object"+ },+ "input": {+ "title": "Input"+ },+ "loc": {+ "items": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "integer"+ }+ ]+ },+ "title": "Location",+ "type": "array"+ },+ "msg": {+ "title": "Message",+ "type": "string"+ },+ "type": {+ "title": "Error Type",+ "type": "string"+ }+ },+ "required": [+ "loc",+ "msg",+ "type"+ ],+ "title": "ValidationError",+ "type": "object"+ }+ }+ },+ "paths": {+ "/.well-known/oauth-authorization-server": {+ "get": {+ "description": "OAuth authorization server discovery endpoint.\n\nSupports both legacy pattern (/{server_name}) and root endpoint.",+ "operationId": "oauth_authorization_server_mcp__well_known_oauth_authorization_server_get",+ "parameters": [+ {+ "in": "query",+ "name": "mcp_server_name",+ "required": false,+ "schema": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Mcp Server Name"+ }+ }+ ],+ "responses": {+ "200": {+ "content": {+ "application/json": {+ "schema": {}+ }+ },+ "description": "Successful Response"+ },+ "422": {+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/HTTPValidationError"+ }+ }+ },+ "description": "Validation Error"+ }+ },+ "summary": "Oauth Authorization Server Mcp",+ "tags": [+ "mcp_byok_oauth"+ ]+ }+ },+ "/.well-known/oauth-authorization-server/mcp": {+ "get": {+ "description": "OAuth authorization server discovery for the aggregate /mcp endpoint, the RFC 8414\npath-inserted form for a client that treats {base}/mcp as its authorization base URL.\n\nThe single-segment /mcp is reserved for the aggregate so the discovery chain stays\nconsistent: the aggregate protected-resource document advertises {base}/mcp as its\nauthorization server, so the document served here must have issuer {base}/mcp. A server\nliterally named ``mcp`` therefore does not take this route; it keeps its standard\ntwo-segment discovery at /.well-known/oauth-authorization-server/mcp/mcp. Letting the\nper-server row win here instead would serve an issuer of {base} against a resource that\nadvertised {base}/mcp, which fails the RFC 8414 issuer check and breaks the front door.",+ "operationId": "oauth_authorization_server_aggregate__well_known_oauth_authorization_server_mcp_get",+ "responses": {+ "200": {+ "content": {+ "application/json": {+ "schema": {}+ }+ },+ "description": "Successful Response"+ }+ },+ "summary": "Oauth Authorization Server Aggregate",+ "tags": [+ "mcp_byok_oauth"+ ]+ }+ },+ "/.well-known/oauth-authorization-server/mcp/{mcp_server_name}": {+ "get": {+ "description": "OAuth authorization server discovery endpoint using standard MCP URL pattern.\n\nStandard pattern: /mcp/{server_name}\nDiscovery path: /.well-known/oauth-authorization-server/mcp/{server_name}",+ "operationId": "oauth_authorization_server_mcp_standard__well_known_oauth_authorization_server_mcp__mcp_server_name__get",+ "parameters": [+ {+ "in": "path",+ "name": "mcp_server_name",+ "required": true,+ "schema": {+ "title": "Mcp Server Name",+ "type": "string"+ }+ }+ ],+ "responses": {+ "200": {+ "content": {+ "application/json": {+ "schema": {}+ }+ },+ "description": "Successful Response"+ },+ "422": {+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/HTTPValidationError"+ }+ }+ },+ "description": "Validation Error"+ }+ },+ "summary": "Oauth Authorization Server Mcp Standard",+ "tags": [+ "mcp_byok_oauth"+ ]+ }+ },+ "/.well-known/oauth-authorization-server/{mcp_server_name}": {+ "get": {+ "description": "OAuth authorization server discovery endpoint.\n\nSupports both legacy pattern (/{server_name}) and root endpoint.",+ "operationId": "oauth_authorization_server_mcp__well_known_oauth_authorization_server__mcp_server_name__get",+ "parameters": [+ {+ "in": "path",+ "name": "mcp_server_name",+ "required": true,+ "schema": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Mcp Server Name"+ }+ }+ ],+ "responses": {+ "200": {+ "content": {+ "application/json": {+ "schema": {}+ }+ },+ "description": "Successful Response"+ },+ "422": {+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/HTTPValidationError"+ }+ }+ },+ "description": "Validation Error"+ }+ },+ "summary": "Oauth Authorization Server Mcp",+ "tags": [+ "mcp_byok_oauth"+ ]+ }+ },+ "/.well-known/oauth-authorization-server/{mcp_server_name}/mcp": {+ "get": {+ "description": "OAuth authorization server discovery for legacy /{server_name}/mcp pattern.",+ "operationId": "oauth_authorization_server_legacy__well_known_oauth_authorization_server__mcp_server_name__mcp_get",+ "parameters": [+ {+ "in": "path",+ "name": "mcp_server_name",+ "required": true,+ "schema": {+ "title": "Mcp Server Name",+ "type": "string"+ }+ }+ ],+ "responses": {+ "200": {+ "content": {+ "application/json": {+ "schema": {}+ }+ },+ "description": "Successful Response"+ },+ "422": {+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/HTTPValidationError"+ }+ }+ },+ "description": "Validation Error"+ }+ },+ "summary": "Oauth Authorization Server Legacy",+ "tags": [+ "mcp_byok_oauth"+ ]+ }+ },+ "/.well-known/oauth-protected-resource": {+ "get": {+ "description": "OAuth protected resource discovery endpoint using LiteLLM legacy URL pattern.\n\nLegacy pattern: /{server_name}/mcp\nDiscovery path: /.well-known/oauth-protected-resource/{server_name}/mcp\n\nThis endpoint is kept for backward compatibility. New integrations should\nuse the standard MCP pattern (/mcp/{server_name}) instead.",+ "operationId": "oauth_protected_resource_mcp__well_known_oauth_protected_resource_get",+ "parameters": [+ {+ "in": "query",+ "name": "mcp_server_name",+ "required": false,+ "schema": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Mcp Server Name"+ }+ }+ ],+ "responses": {+ "200": {+ "content": {+ "application/json": {+ "schema": {}+ }+ },+ "description": "Successful Response"+ },+ "422": {+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/HTTPValidationError"+ }+ }+ },+ "description": "Validation Error"+ }+ },+ "summary": "Oauth Protected Resource Mcp",+ "tags": [+ "mcp_byok_oauth"+ ]+ }+ },+ "/.well-known/oauth-protected-resource/mcp": {+ "get": {+ "description": "OAuth protected resource discovery for the aggregate /mcp endpoint.\n\nThe single-segment ``/mcp`` path does not collide with any per-server PRM pattern\n(those are two-segment: ``/mcp/{server}`` or ``/{server}/mcp``), so this unambiguously\ndescribes the aggregate resource.",+ "operationId": "oauth_protected_resource_aggregate__well_known_oauth_protected_resource_mcp_get",+ "responses": {+ "200": {+ "content": {+ "application/json": {+ "schema": {}+ }+ },+ "description": "Successful Response"+ }+ },+ "summary": "Oauth Protected Resource Aggregate",+ "tags": [+ "mcp_byok_oauth"+ ]+ }+ },+ "/.well-known/oauth-protected-resource/mcp/{mcp_server_name}": {+ "get": {+ "description": "OAuth protected resource discovery endpoint using standard MCP URL pattern.\n\nStandard pattern: /mcp/{server_name}\nDiscovery path: /.well-known/oauth-protected-resource/mcp/{server_name}\n\nThis endpoint is compliant with MCP specification and works with standard\nMCP clients like mcp-inspector and VSCode Copilot.",+ "operationId": "oauth_protected_resource_mcp_standard__well_known_oauth_protected_resource_mcp__mcp_server_name__get",+ "parameters": [+ {+ "in": "path",+ "name": "mcp_server_name",+ "required": true,+ "schema": {+ "title": "Mcp Server Name",+ "type": "string"+ }+ }+ ],+ "responses": {+ "200": {+ "content": {+ "application/json": {+ "schema": {}+ }+ },+ "description": "Successful Response"+ },+ "422": {+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/HTTPValidationError"+ }+ }+ },+ "description": "Validation Error"+ }+ },+ "summary": "Oauth Protected Resource Mcp Standard",+ "tags": [+ "mcp_byok_oauth"+ ]+ }+ },+ "/.well-known/oauth-protected-resource/{mcp_server_name}/mcp": {+ "get": {+ "description": "OAuth protected resource discovery endpoint using LiteLLM legacy URL pattern.\n\nLegacy pattern: /{server_name}/mcp\nDiscovery path: /.well-known/oauth-protected-resource/{server_name}/mcp\n\nThis endpoint is kept for backward compatibility. New integrations should\nuse the standard MCP pattern (/mcp/{server_name}) instead.",+ "operationId": "oauth_protected_resource_mcp__well_known_oauth_protected_resource__mcp_server_name__mcp_get",+ "parameters": [+ {+ "in": "path",+ "name": "mcp_server_name",+ "required": true,+ "schema": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Mcp Server Name"+ }+ }+ ],+ "responses": {+ "200": {+ "content": {+ "application/json": {+ "schema": {}+ }+ },+ "description": "Successful Response"+ },+ "422": {+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/HTTPValidationError"+ }+ }+ },+ "description": "Validation Error"+ }+ },+ "summary": "Oauth Protected Resource Mcp",+ "tags": [+ "mcp_byok_oauth"+ ]+ }+ }+ }+ },+ "mcp_discoverable": {+ "components": {+ "schemas": {+ "Body_authorize_complete_authorize_complete_post": {+ "properties": {+ "decision": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Decision"+ },+ "delivery": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Delivery"+ },+ "flow": {+ "title": "Flow",+ "type": "string"+ },+ "team_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Team Id"+ }+ },+ "required": [+ "flow"+ ],+ "title": "Body_authorize_complete_authorize_complete_post",+ "type": "object"+ },+ "Body_revoke_endpoint_revoke_post": {+ "properties": {+ "client_id": {+ "title": "Client Id",+ "type": "string"+ },+ "token": {+ "title": "Token",+ "type": "string"+ }+ },+ "required": [+ "token",+ "client_id"+ ],+ "title": "Body_revoke_endpoint_revoke_post",+ "type": "object"+ },+ "Body_token_endpoint__mcp_server_name__token_post": {+ "properties": {+ "client_id": {+ "title": "Client Id",+ "type": "string"+ },+ "client_secret": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Client Secret"+ },+ "code": {+ "title": "Code",+ "type": "string"+ },+ "code_verifier": {+ "title": "Code Verifier",+ "type": "string"+ },+ "grant_type": {+ "title": "Grant Type",+ "type": "string"+ },+ "redirect_uri": {+ "title": "Redirect Uri",+ "type": "string"+ },+ "refresh_token": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Refresh Token"+ },+ "resource": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Resource"+ },+ "scope": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Scope"+ }+ },+ "required": [+ "grant_type",+ "client_id"+ ],+ "title": "Body_token_endpoint__mcp_server_name__token_post",+ "type": "object"+ },+ "Body_token_endpoint_token_post": {+ "properties": {+ "client_id": {+ "title": "Client Id",+ "type": "string"+ },+ "client_secret": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Client Secret"+ },+ "code": {+ "title": "Code",+ "type": "string"+ },+ "code_verifier": {+ "title": "Code Verifier",+ "type": "string"+ },+ "grant_type": {+ "title": "Grant Type",+ "type": "string"+ },+ "redirect_uri": {+ "title": "Redirect Uri",+ "type": "string"+ },+ "refresh_token": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Refresh Token"+ },+ "resource": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Resource"+ },+ "scope": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Scope"+ }+ },+ "required": [+ "grant_type",+ "client_id"+ ],+ "title": "Body_token_endpoint_token_post",+ "type": "object"+ },+ "CallbacksByType": {+ "properties": {+ "failure": {+ "items": {+ "type": "string"+ },+ "title": "Failure",+ "type": "array"+ },+ "success": {+ "items": {+ "type": "string"+ },+ "title": "Success",+ "type": "array"+ },+ "success_and_failure": {+ "items": {+ "type": "string"+ },+ "title": "Success And Failure",+ "type": "array"+ }+ },+ "required": [+ "success",+ "failure",+ "success_and_failure"+ ],+ "title": "CallbacksByType",+ "type": "object"+ },+ "HTTPValidationError": {+ "properties": {+ "detail": {+ "items": {+ "$ref": "#/components/schemas/ValidationError"+ },+ "title": "Detail",+ "type": "array"+ }+ },+ "title": "HTTPValidationError",+ "type": "object"+ },+ "LiteLLM_MCPServerTable": {+ "description": "Represents a LiteLLM_MCPServerTable record",+ "properties": {+ "alias": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Alias"+ },+ "allow_all_keys": {+ "default": false,+ "title": "Allow All Keys",+ "type": "boolean"+ },+ "allowed_tools": {+ "items": {+ "type": "string"+ },+ "title": "Allowed Tools",+ "type": "array"+ },+ "approval_status": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "default": "active",+ "description": "Approval status: 'pending_review', 'active', 'rejected'",+ "title": "Approval Status"+ },+ "args": {+ "items": {+ "type": "string"+ },+ "title": "Args",+ "type": "array"+ },+ "audience": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Audience"+ },+ "auth_type": {+ "anyOf": [+ {+ "enum": [+ "none",+ "api_key",+ "bearer_token",+ "basic",+ "authorization",+ "oauth2",+ "aws_sigv4",+ "token",+ "oauth2_token_exchange",+ "oauth2_id_jag",+ "true_passthrough",+ "oauth_delegate"+ ],+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Auth Type"+ },+ "authorization_url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Authorization Url"+ },+ "available_on_public_internet": {+ "default": true,+ "title": "Available On Public Internet",+ "type": "boolean"+ },+ "byok_api_key_help_url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Byok Api Key Help Url"+ },+ "byok_description": {+ "items": {+ "type": "string"+ },+ "title": "Byok Description",+ "type": "array"+ },+ "command": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Command"+ },+ "connected_app_reachable": {+ "anyOf": [+ {+ "type": "boolean"+ },+ {+ "type": "null"+ }+ ],+ "title": "Connected App Reachable"+ },+ "created_at": {+ "anyOf": [+ {+ "format": "date-time",+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Created At"+ },+ "created_by": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Created By"+ },+ "credentials": {+ "anyOf": [+ {+ "$ref": "#/components/schemas/MCPCredentials"+ },+ {+ "type": "null"+ }+ ]+ },+ "dcr_bridge": {+ "anyOf": [+ {+ "type": "boolean"+ },+ {+ "type": "null"+ }+ ],+ "title": "Dcr Bridge"+ },+ "delegate_auth_to_upstream": {+ "default": false,+ "title": "Delegate Auth To Upstream",+ "type": "boolean"+ },+ "description": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Description"+ },+ "env": {+ "additionalProperties": {+ "type": "string"+ },+ "title": "Env",+ "type": "object"+ },+ "env_vars": {+ "anyOf": [+ {+ "items": {+ "$ref": "#/components/schemas/MCPEnvVar"+ },+ "type": "array"+ },+ {+ "type": "null"+ }+ ],+ "title": "Env Vars"+ },+ "extra_headers": {+ "items": {+ "type": "string"+ },+ "title": "Extra Headers",+ "type": "array"+ },+ "has_user_credential": {+ "anyOf": [+ {+ "type": "boolean"+ },+ {+ "type": "null"+ }+ ],+ "title": "Has User Credential"+ },+ "health_check_error": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Health Check Error"+ },+ "instructions": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Instructions"+ },+ "is_byok": {+ "default": false,+ "title": "Is Byok",+ "type": "boolean"+ },+ "issuer": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Issuer"+ },+ "last_health_check": {+ "anyOf": [+ {+ "format": "date-time",+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Last Health Check"+ },+ "max_concurrent_requests": {+ "anyOf": [+ {+ "type": "integer"+ },+ {+ "type": "null"+ }+ ],+ "title": "Max Concurrent Requests"+ },+ "mcp_access_groups": {+ "items": {+ "type": "string"+ },+ "title": "Mcp Access Groups",+ "type": "array"+ },+ "mcp_info": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Mcp Info"+ },+ "oauth2_flow": {+ "anyOf": [+ {+ "enum": [+ "client_credentials",+ "authorization_code"+ ],+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Oauth2 Flow"+ },+ "oauth_passthrough": {+ "default": false,+ "title": "Oauth Passthrough",+ "type": "boolean"+ },+ "registration_url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Registration Url"+ },+ "review_notes": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Review Notes"+ },+ "reviewed_at": {+ "anyOf": [+ {+ "format": "date-time",+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Reviewed At"+ },+ "server_id": {+ "title": "Server Id",+ "type": "string"+ },+ "server_name": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Server Name"+ },+ "source_url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Source Url"+ },+ "spec_path": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Spec Path"+ },+ "static_headers": {+ "anyOf": [+ {+ "additionalProperties": {+ "type": "string"+ },+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Static Headers"+ },+ "status": {+ "anyOf": [+ {+ "enum": [+ "healthy",+ "unhealthy",+ "unknown"+ ],+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "default": "unknown",+ "description": "Health status: 'healthy', 'unhealthy', 'unknown'",+ "title": "Status"+ },+ "subject_token_type": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Subject Token Type"+ },+ "submitted_at": {+ "anyOf": [+ {+ "format": "date-time",+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Submitted At"+ },+ "submitted_by": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Submitted By"+ },+ "teams": {+ "items": {+ "additionalProperties": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ]+ },+ "type": "object"+ },+ "title": "Teams",+ "type": "array"+ },+ "timeout": {+ "anyOf": [+ {+ "type": "number"+ },+ {+ "type": "null"+ }+ ],+ "title": "Timeout"+ },+ "token_exchange_endpoint": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Token Exchange Endpoint"+ },+ "token_exchange_profile": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Token Exchange Profile"+ },+ "token_url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Token Url"+ },+ "tool_name_to_description": {+ "anyOf": [+ {+ "additionalProperties": {+ "type": "string"+ },+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Tool Name To Description"+ },+ "tool_name_to_display_name": {+ "anyOf": [+ {+ "additionalProperties": {+ "type": "string"+ },+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Tool Name To Display Name"+ },+ "transport": {+ "enum": [+ "sse",+ "http",+ "stdio"+ ],+ "title": "Transport",+ "type": "string"+ },+ "updated_at": {+ "anyOf": [+ {+ "format": "date-time",+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Updated At"+ },+ "updated_by": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Updated By"+ },+ "url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Url"+ }+ },+ "required": [+ "server_id",+ "transport"+ ],+ "title": "LiteLLM_MCPServerTable",+ "type": "object"+ },+ "MCPCredentials": {+ "properties": {+ "audience": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Audience"+ },+ "auth_value": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Auth Value"+ },+ "aws_access_key_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Aws Access Key Id"+ },+ "aws_region_name": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Aws Region Name"+ },+ "aws_role_name": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Aws Role Name"+ },+ "aws_secret_access_key": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Aws Secret Access Key"+ },+ "aws_service_name": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Aws Service Name"+ },+ "aws_session_name": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Aws Session Name"+ },+ "aws_session_token": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Aws Session Token"+ },+ "client_assertion_signing_alg": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Client Assertion Signing Alg"+ },+ "client_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Client Id"+ },+ "client_private_key": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Client Private Key"+ },+ "client_private_key_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Client Private Key Id"+ },+ "client_secret": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Client Secret"+ },+ "id_jag_resource": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Id Jag Resource"+ },+ "id_jag_resource_token_endpoint": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Id Jag Resource Token Endpoint"+ },+ "redirect_uris": {+ "anyOf": [+ {+ "items": {+ "type": "string"+ },+ "type": "array"+ },+ {+ "type": "null"+ }+ ],+ "title": "Redirect Uris"+ },+ "scopes": {+ "anyOf": [+ {+ "items": {+ "type": "string"+ },+ "type": "array"+ },+ {+ "type": "null"+ }+ ],+ "title": "Scopes"+ },+ "subject_token_type": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Subject Token Type"+ },+ "token_endpoint_auth_method": {+ "anyOf": [+ {+ "enum": [+ "client_secret_basic",+ "client_secret_post"+ ],+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Token Endpoint Auth Method"+ },+ "token_exchange_endpoint": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Token Exchange Endpoint"+ },+ "token_exchange_profile": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Token Exchange Profile"+ },+ "upstream_resource": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Upstream Resource"++ },++ "upstream_token_header": {++ "anyOf": [++ {++ "type": "string"++ },++ {++ "type": "null"++ }++ ],++ "title": "Upstream Token Header"+ }+ },+ "title": "MCPCredentials",+ "type": "object"+ },+ "MCPEnvVar": {+ "description": "One environment variable for an MCP server.\n\nVariables can be interpolated into ``static_headers`` using ``${NAME}``\nsyntax. ``scope=global`` values are stored on the server. ``scope=user``\nvalues are stored per-user in ``LiteLLM_MCPUserEnvVars`` and supplied by\neach user.",+ "properties": {+ "description": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Description"+ },+ "name": {+ "title": "Name",+ "type": "string"+ },+ "scope": {+ "$ref": "#/components/schemas/MCPEnvVarScope",+ "default": "global"+ },+ "value": {+ "default": "",+ "title": "Value",+ "type": "string"+ }+ },+ "required": [+ "name"+ ],+ "title": "MCPEnvVar",+ "type": "object"+ },+ "MCPEnvVarScope": {+ "description": "Scope for an MCP server environment variable.\n\n- ``global``: value is provided by the admin and used for all users.\n- ``user``: each user must provide their own value via the per-user\n env-var endpoint. The admin-supplied ``value`` is treated as a\n placeholder/hint and is not used at request time.",+ "enum": [+ "global",+ "user"+ ],+ "title": "MCPEnvVarScope",+ "type": "string"+ },+ "NewMCPServerRequest": {+ "properties": {+ "alias": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Alias"+ },+ "allow_all_keys": {+ "default": false,+ "title": "Allow All Keys",+ "type": "boolean"+ },+ "allowed_tools": {+ "anyOf": [+ {+ "items": {+ "type": "string"+ },+ "type": "array"+ },+ {+ "type": "null"+ }+ ],+ "title": "Allowed Tools"+ },+ "approval_status": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "description": "Server-managed: set by the endpoint; caller values are overridden.",+ "title": "Approval Status"+ },+ "args": {+ "items": {+ "type": "string"+ },+ "title": "Args",+ "type": "array"+ },+ "audience": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Audience"+ },+ "auth_type": {+ "anyOf": [+ {+ "enum": [+ "none",+ "api_key",+ "bearer_token",+ "basic",+ "authorization",+ "oauth2",+ "aws_sigv4",+ "token",+ "oauth2_token_exchange",+ "oauth2_id_jag",+ "true_passthrough",+ "oauth_delegate"+ ],+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Auth Type"+ },+ "authorization_url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Authorization Url"+ },+ "available_on_public_internet": {+ "default": true,+ "title": "Available On Public Internet",+ "type": "boolean"+ },+ "byok_api_key_help_url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Byok Api Key Help Url"+ },+ "byok_description": {+ "items": {+ "type": "string"+ },+ "title": "Byok Description",+ "type": "array"+ },+ "command": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Command"+ },+ "credentials": {+ "anyOf": [+ {+ "$ref": "#/components/schemas/MCPCredentials"+ },+ {+ "type": "null"+ }+ ]+ },+ "dcr_bridge": {+ "anyOf": [+ {+ "type": "boolean"+ },+ {+ "type": "null"+ }+ ],+ "title": "Dcr Bridge"+ },+ "delegate_auth_to_upstream": {+ "default": false,+ "title": "Delegate Auth To Upstream",+ "type": "boolean"+ },+ "description": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Description"+ },+ "env": {+ "additionalProperties": {+ "type": "string"+ },+ "title": "Env",+ "type": "object"+ },+ "env_vars": {+ "anyOf": [+ {+ "items": {+ "$ref": "#/components/schemas/MCPEnvVar"+ },+ "type": "array"+ },+ {+ "type": "null"+ }+ ],+ "title": "Env Vars"+ },+ "extra_headers": {+ "anyOf": [+ {+ "items": {+ "type": "string"+ },+ "type": "array"+ },+ {+ "type": "null"+ }+ ],+ "title": "Extra Headers"+ },+ "instructions": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Instructions"+ },+ "is_byok": {+ "default": false,+ "title": "Is Byok",+ "type": "boolean"+ },+ "issuer": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Issuer"+ },+ "max_concurrent_requests": {+ "anyOf": [+ {+ "type": "integer"+ },+ {+ "type": "null"+ }+ ],+ "title": "Max Concurrent Requests"+ },+ "mcp_access_groups": {+ "items": {+ "type": "string"+ },+ "title": "Mcp Access Groups",+ "type": "array"+ },+ "mcp_info": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Mcp Info"+ },+ "oauth2_flow": {+ "anyOf": [+ {+ "enum": [+ "client_credentials",+ "authorization_code"+ ],+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Oauth2 Flow"+ },+ "oauth_passthrough": {+ "default": false,+ "title": "Oauth Passthrough",+ "type": "boolean"+ },+ "registration_url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Registration Url"+ },+ "server_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Server Id"+ },+ "server_name": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Server Name"+ },+ "source_url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Source Url"+ },+ "spec_path": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Spec Path"+ },+ "static_headers": {+ "anyOf": [+ {+ "additionalProperties": {+ "type": "string"+ },+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Static Headers"+ },+ "subject_token_type": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Subject Token Type"+ },+ "submitted_at": {+ "anyOf": [+ {+ "format": "date-time",+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "description": "Server-managed: set by the endpoint; caller values are overridden.",+ "title": "Submitted At"+ },+ "submitted_by": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "description": "Server-managed: set by the endpoint; caller values are overridden.",+ "title": "Submitted By"+ },+ "timeout": {+ "anyOf": [+ {+ "type": "number"+ },+ {+ "type": "null"+ }+ ],+ "title": "Timeout"+ },+ "token_exchange_endpoint": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Token Exchange Endpoint"+ },+ "token_exchange_profile": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Token Exchange Profile"+ },+ "token_url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Token Url"+ },+ "tool_name_to_description": {+ "anyOf": [+ {+ "additionalProperties": {+ "type": "string"+ },+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Tool Name To Description"+ },+ "tool_name_to_display_name": {+ "anyOf": [+ {+ "additionalProperties": {+ "type": "string"+ },+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Tool Name To Display Name"+ },+ "transport": {+ "default": "sse",+ "enum": [+ "sse",+ "http",+ "stdio"+ ],+ "title": "Transport",+ "type": "string"+ },+ "url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Url"+ }+ },+ "title": "NewMCPServerRequest",+ "type": "object"+ },+ "RegisterGuardrailRequest": {+ "description": "Request body for POST /guardrails/register. Follows Generic Guardrail API config.",+ "properties": {+ "guardrail_info": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Guardrail Info"+ },+ "guardrail_name": {+ "title": "Guardrail Name",+ "type": "string"+ },+ "litellm_params": {+ "additionalProperties": true,+ "title": "Litellm Params",+ "type": "object"+ },+ "team_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Team Id"+ }+ },+ "required": [+ "guardrail_name",+ "litellm_params"+ ],+ "title": "RegisterGuardrailRequest",+ "type": "object"+ },+ "RegisterGuardrailResponse": {+ "properties": {+ "guardrail_id": {+ "title": "Guardrail Id",+ "type": "string"+ },+ "guardrail_name": {+ "title": "Guardrail Name",+ "type": "string"+ },+ "status": {+ "title": "Status",+ "type": "string"+ },+ "submitted_at": {+ "anyOf": [+ {+ "format": "date-time",+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Submitted At"+ }+ },+ "required": [+ "guardrail_id",+ "guardrail_name",+ "status"+ ],+ "title": "RegisterGuardrailResponse",+ "type": "object"+ },+ "ValidationError": {+ "properties": {+ "ctx": {+ "title": "Context",+ "type": "object"+ },+ "input": {+ "title": "Input"+ },+ "loc": {+ "items": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "integer"+ }+ ]+ },+ "title": "Location",+ "type": "array"+ },+ "msg": {+ "title": "Message",+ "type": "string"+ },+ "type": {+ "title": "Error Type",+ "type": "string"+ }+ },+ "required": [+ "loc",+ "msg",+ "type"+ ],+ "title": "ValidationError",+ "type": "object"+ }+ }+ },+ "paths": {+ "/.well-known/jwks.json": {+ "get": {+ "description": "JSON Web Key Set endpoint.\n\nReturns the RSA public key used by MCPJWTSigner to sign outbound MCP tokens.\nMCP servers and gateways use this endpoint to verify liteLLM-issued JWTs.\n\nReturns an empty key set if MCPJWTSigner is not configured.",+ "operationId": "jwks_json__well_known_jwks_json_get",+ "responses": {+ "200": {+ "content": {+ "application/json": {+ "schema": {}+ }+ },+ "description": "Successful Response"+ }+ },+ "summary": "Jwks Json",+ "tags": [+ "mcp_discoverable"+ ]+ }+ },+ "/.well-known/litellm-cli-auth": {+ "get": {+ "description": "The versioned contract a native client (``lite login --pkce``, or a CLI in any other\nlanguage) reads to sign a user in through the browser and obtain a proxy credential.",+ "operationId": "native_client_auth_discovery__well_known_litellm_cli_auth_get",+ "responses": {+ "200": {+ "content": {+ "application/json": {+ "schema": {}+ }+ },+ "description": "Successful Response"+ }+ },+ "summary": "Native Client Auth Discovery",+ "tags": [+ "mcp_discoverable"+ ]+ }+ },+ "/.well-known/oauth-authorization-server": {+ "get": {+ "description": "OAuth authorization server discovery endpoint.\n\nSupports both legacy pattern (/{server_name}) and root endpoint.",+ "operationId": "oauth_authorization_server_mcp__well_known_oauth_authorization_server_get_2",+ "parameters": [+ {+ "in": "query",+ "name": "mcp_server_name",+ "required": false,+ "schema": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Mcp Server Name"+ }+ }+ ],+ "responses": {+ "200": {+ "content": {+ "application/json": {+ "schema": {}+ }+ },+ "description": "Successful Response"+ },+ "422": {+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/HTTPValidationError"+ }+ }+ },+ "description": "Validation Error"+ }+ },+ "summary": "Oauth Authorization Server Mcp",+ "tags": [+ "mcp_discoverable"+ ]+ }+ },+ "/.well-known/oauth-authorization-server/mcp": {+ "get": {+ "description": "OAuth authorization server discovery for the aggregate /mcp endpoint, the RFC 8414\npath-inserted form for a client that treats {base}/mcp as its authorization base URL.\n\nThe single-segment /mcp is reserved for the aggregate so the discovery chain stays\nconsistent: the aggregate protected-resource document advertises {base}/mcp as its\nauthorization server, so the document served here must have issuer {base}/mcp. A server\nliterally named ``mcp`` therefore does not take this route; it keeps its standard\ntwo-segment discovery at /.well-known/oauth-authorization-server/mcp/mcp. Letting the\nper-server row win here instead would serve an issuer of {base} against a resource that\nadvertised {base}/mcp, which fails the RFC 8414 issuer check and breaks the front door.",+ "operationId": "oauth_authorization_server_aggregate__well_known_oauth_authorization_server_mcp_get_2",+ "responses": {+ "200": {+ "content": {+ "application/json": {+ "schema": {}+ }+ },+ "description": "Successful Response"+ }+ },+ "summary": "Oauth Authorization Server Aggregate",+ "tags": [+ "mcp_discoverable"+ ]+ }+ },+ "/.well-known/oauth-authorization-server/mcp/{mcp_server_name}": {+ "get": {+ "description": "OAuth authorization server discovery endpoint using standard MCP URL pattern.\n\nStandard pattern: /mcp/{server_name}\nDiscovery path: /.well-known/oauth-authorization-server/mcp/{server_name}",+ "operationId": "oauth_authorization_server_mcp_standard__well_known_oauth_authorization_server_mcp__mcp_server_name__get_2",+ "parameters": [+ {+ "in": "path",+ "name": "mcp_server_name",+ "required": true,+ "schema": {+ "title": "Mcp Server Name",+ "type": "string"+ }+ }+ ],+ "responses": {+ "200": {+ "content": {+ "application/json": {+ "schema": {}+ }+ },+ "description": "Successful Response"+ },+ "422": {+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/HTTPValidationError"+ }+ }+ },+ "description": "Validation Error"+ }+ },+ "summary": "Oauth Authorization Server Mcp Standard",+ "tags": [+ "mcp_discoverable"+ ]+ }+ },+ "/.well-known/oauth-authorization-server/{mcp_server_name}": {+ "get": {+ "description": "OAuth authorization server discovery endpoint.\n\nSupports both legacy pattern (/{server_name}) and root endpoint.",+ "operationId": "oauth_authorization_server_mcp__well_known_oauth_authorization_server__mcp_server_name__get_2",+ "parameters": [+ {+ "in": "path",+ "name": "mcp_server_name",+ "required": true,+ "schema": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Mcp Server Name"+ }+ }+ ],+ "responses": {+ "200": {+ "content": {+ "application/json": {+ "schema": {}+ }+ },+ "description": "Successful Response"+ },+ "422": {+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/HTTPValidationError"+ }+ }+ },+ "description": "Validation Error"+ }+ },+ "summary": "Oauth Authorization Server Mcp",+ "tags": [+ "mcp_discoverable"+ ]+ }+ },+ "/.well-known/oauth-authorization-server/{mcp_server_name}/mcp": {+ "get": {+ "description": "OAuth authorization server discovery for legacy /{server_name}/mcp pattern.",+ "operationId": "oauth_authorization_server_legacy__well_known_oauth_authorization_server__mcp_server_name__mcp_get_2",+ "parameters": [+ {+ "in": "path",+ "name": "mcp_server_name",+ "required": true,+ "schema": {+ "title": "Mcp Server Name",+ "type": "string"+ }+ }+ ],+ "responses": {+ "200": {+ "content": {+ "application/json": {+ "schema": {}+ }+ },+ "description": "Successful Response"+ },+ "422": {+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/HTTPValidationError"+ }+ }+ },+ "description": "Validation Error"+ }+ },+ "summary": "Oauth Authorization Server Legacy",+ "tags": [+ "mcp_discoverable"+ ]+ }+ },+ "/.well-known/oauth-protected-resource": {+ "get": {+ "description": "OAuth protected resource discovery endpoint using LiteLLM legacy URL pattern.\n\nLegacy pattern: /{server_name}/mcp\nDiscovery path: /.well-known/oauth-protected-resource/{server_name}/mcp\n\nThis endpoint is kept for backward compatibility. New integrations should\nuse the standard MCP pattern (/mcp/{server_name}) instead.",+ "operationId": "oauth_protected_resource_mcp__well_known_oauth_protected_resource_get_2",+ "parameters": [+ {+ "in": "query",+ "name": "mcp_server_name",+ "required": false,+ "schema": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Mcp Server Name"+ }+ }+ ],+ "responses": {+ "200": {+ "content": {+ "application/json": {+ "schema": {}+ }+ },+ "description": "Successful Response"+ },+ "422": {+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/HTTPValidationError"+ }+ }+ },+ "description": "Validation Error"+ }+ },+ "summary": "Oauth Protected Resource Mcp",+ "tags": [+ "mcp_discoverable"+ ]+ }+ },+ "/.well-known/oauth-protected-resource/mcp": {+ "get": {+ "description": "OAuth protected resource discovery for the aggregate /mcp endpoint.\n\nThe single-segment ``/mcp`` path does not collide with any per-server PRM pattern\n(those are two-segment: ``/mcp/{server}`` or ``/{server}/mcp``), so this unambiguously\ndescribes the aggregate resource.",+ "operationId": "oauth_protected_resource_aggregate__well_known_oauth_protected_resource_mcp_get_2",+ "responses": {+ "200": {+ "content": {+ "application/json": {+ "schema": {}+ }+ },+ "description": "Successful Response"+ }+ },+ "summary": "Oauth Protected Resource Aggregate",+ "tags": [+ "mcp_discoverable"+ ]+ }+ },+ "/.well-known/oauth-protected-resource/mcp/{mcp_server_name}": {+ "get": {+ "description": "OAuth protected resource discovery endpoint using standard MCP URL pattern.\n\nStandard pattern: /mcp/{server_name}\nDiscovery path: /.well-known/oauth-protected-resource/mcp/{server_name}\n\nThis endpoint is compliant with MCP specification and works with standard\nMCP clients like mcp-inspector and VSCode Copilot.",+ "operationId": "oauth_protected_resource_mcp_standard__well_known_oauth_protected_resource_mcp__mcp_server_name__get_2",+ "parameters": [+ {+ "in": "path",+ "name": "mcp_server_name",+ "required": true,+ "schema": {+ "title": "Mcp Server Name",+ "type": "string"+ }+ }+ ],+ "responses": {+ "200": {+ "content": {+ "application/json": {+ "schema": {}+ }+ },+ "description": "Successful Response"+ },+ "422": {+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/HTTPValidationError"+ }+ }+ },+ "description": "Validation Error"+ }+ },+ "summary": "Oauth Protected Resource Mcp Standard",+ "tags": [+ "mcp_discoverable"+ ]+ }+ },+ "/.well-known/oauth-protected-resource/{mcp_server_name}/mcp": {+ "get": {+ "description": "OAuth protected resource discovery endpoint using LiteLLM legacy URL pattern.\n\nLegacy pattern: /{server_name}/mcp\nDiscovery path: /.well-known/oauth-protected-resource/{server_name}/mcp\n\nThis endpoint is kept for backward compatibility. New integrations should\nuse the standard MCP pattern (/mcp/{server_name}) instead.",+ "operationId": "oauth_protected_resource_mcp__well_known_oauth_protected_resource__mcp_server_name__mcp_get_2",+ "parameters": [+ {+ "in": "path",+ "name": "mcp_server_name",+ "required": true,+ "schema": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Mcp Server Name"+ }+ }+ ],+ "responses": {+ "200": {+ "content": {+ "application/json": {+ "schema": {}+ }+ },+ "description": "Successful Response"+ },+ "422": {+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/HTTPValidationError"+ }+ }+ },+ "description": "Validation Error"+ }+ },+ "summary": "Oauth Protected Resource Mcp",+ "tags": [+ "mcp_discoverable"+ ]+ }+ },+ "/.well-known/openid-configuration": {+ "get": {+ "operationId": "openid_configuration__well_known_openid_configuration_get",+ "responses": {+ "200": {+ "content": {+ "application/json": {+ "schema": {}+ }+ },+ "description": "Successful Response"+ }+ },+ "summary": "Openid Configuration",+ "tags": [+ "mcp_discoverable"+ ]+ }+ },+ "/authorize": {+ "get": {+ "operationId": "authorize_authorize_get",+ "parameters": [+ {+ "in": "query",+ "name": "redirect_uri",+ "required": true,+ "schema": {+ "title": "Redirect Uri",+ "type": "string"+ }+ },+ {+ "in": "query",+ "name": "client_id",+ "required": false,+ "schema": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Client Id"+ }+ },+ {+ "in": "query",+ "name": "state",+ "required": false,+ "schema": {+ "default": "",+ "title": "State",+ "type": "string"+ }+ },+ {+ "in": "query",+ "name": "mcp_server_name",+ "required": false,+ "schema": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Mcp Server Name"+ }+ },+ {+ "in": "query",+ "name": "code_challenge",+ "required": false,+ "schema": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Code Challenge"+ }+ },+ {+ "in": "query",+ "name": "code_challenge_method",+ "required": false,+ "schema": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Code Challenge Method"+ }+ },+ {+ "in": "query",+ "name": "response_type",+ "required": false,+ "schema": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Response Type"+ }+ },+ {+ "in": "query",+ "name": "scope",+ "required": false,+ "schema": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Scope"+ }+ },+ {+ "in": "query",+ "name": "resource",+ "required": false,+ "schema": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Resource"+ }+ }+ ],+ "responses": {+ "200": {+ "content": {+ "application/json": {+ "schema": {}+ }+ },+ "description": "Successful Response"+ },+ "422": {+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/HTTPValidationError"+ }+ }+ },+ "description": "Validation Error"+ }+ },+ "summary": "Authorize",+ "tags": [+ "mcp_discoverable"+ ]+ }+ },+ "/authorize/complete": {+ "post": {+ "description": "Finish an aggregate connect flow: mint the gateway authorization code for the\nsigned-in user and hand it back to the DCR client, by 303 redirect (default) or, for\na loopback client on a different machine, as a copyable callback URL\n(``delivery=manual``). POST plus the per-flow HttpOnly cookie set at /authorize; an\nanonymous or bad-flow request just 400s. The native-client consent page adds\n``decision`` (approve or deny) and the ``team_id`` the credential is attributed to.",+ "operationId": "authorize_complete_authorize_complete_post",+ "requestBody": {+ "content": {+ "application/x-www-form-urlencoded": {+ "schema": {+ "$ref": "#/components/schemas/Body_authorize_complete_authorize_complete_post"+ }+ }+ },+ "required": true+ },+ "responses": {+ "200": {+ "content": {+ "application/json": {+ "schema": {}+ }+ },+ "description": "Successful Response"+ },+ "422": {+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/HTTPValidationError"+ }+ }+ },+ "description": "Validation Error"+ }+ },+ "summary": "Authorize Complete",+ "tags": [+ "mcp_discoverable"+ ]+ }+ },+ "/callback": {+ "get": {+ "description": "OAuth 2.0 authorization response handler for MCP loopback clients.\n\nAccepts either:\n\n- A successful authorization response (``code`` + ``state``), which is\n forwarded back to the validated client ``redirect_uri`` with the\n original (un-wrapped) ``state``.\n- An error response (``error``[+``error_description``/``error_uri``]), per\n RFC 6749 \u00a74.1.2.1. When ``state`` is present and decodes to a trusted\n ``redirect_uri``, the error params are propagated back to the client so\n its OAuth library can surface them. Otherwise we render an HTML error\n page so the user is not left on an opaque 422 / blank screen.",+ "operationId": "callback_callback_get",+ "parameters": [+ {+ "in": "query",+ "name": "code",+ "required": false,+ "schema": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Code"+ }+ },+ {+ "in": "query",+ "name": "state",+ "required": false,+ "schema": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "State"+ }+ },+ {+ "in": "query",+ "name": "error",+ "required": false,+ "schema": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Error"+ }+ },+ {+ "in": "query",+ "name": "error_description",+ "required": false,+ "schema": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Error Description"+ }+ },+ {+ "in": "query",+ "name": "error_uri",+ "required": false,+ "schema": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Error Uri"+ }+ }+ ],+ "responses": {+ "200": {+ "content": {+ "application/json": {+ "schema": {}+ }+ },+ "description": "Successful Response"+ },+ "422": {+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/HTTPValidationError"+ }+ }+ },+ "description": "Validation Error"+ }+ },+ "summary": "Callback",+ "tags": [+ "mcp_discoverable"+ ]+ }+ },+ "/callbacks/configs": {+ "get": {+ "description": "Get Available Callback Configurations\n\nReturns the configuration details for all available logging callbacks,\nincluding supported parameters, field types, and descriptions.",+ "operationId": "get_callback_configs_callbacks_configs_get",+ "responses": {+ "200": {+ "content": {+ "application/json": {+ "schema": {}+ }+ },+ "description": "Successful Response"+ }+ },+ "security": [+ {+ "APIKeyHeader": []+ }+ ],+ "summary": "Get Callback Configs",+ "tags": [+ "mcp_discoverable"+ ]+ }+ },+ "/callbacks/list": {+ "get": {+ "description": "View List of Active Logging Callbacks",+ "operationId": "list_callbacks_callbacks_list_get",+ "responses": {+ "200": {+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/CallbacksByType"+ }+ }+ },+ "description": "Successful Response"+ }+ },+ "security": [+ {+ "APIKeyHeader": []+ }+ ],+ "summary": "List Callbacks",+ "tags": [+ "mcp_discoverable"+ ]+ }+ },+ "/guardrails/register": {+ "post": {+ "description": "Register a guardrail for onboarding (team submission).\n\nAccepts a guardrail config in the\n[Generic Guardrail API](https://docs.litellm.ai/docs/adding_provider/generic_guardrail_api) format.\nThe submission is stored with status `pending_review` until an admin approves it.",+ "operationId": "register_guardrail_guardrails_register_post_2",+ "requestBody": {+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/RegisterGuardrailRequest"+ }+ }+ },+ "required": true+ },+ "responses": {+ "200": {+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/RegisterGuardrailResponse"+ }+ }+ },+ "description": "Successful Response"+ },+ "422": {+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/HTTPValidationError"+ }+ }+ },+ "description": "Validation Error"+ }+ },+ "security": [+ {+ "APIKeyHeader": []+ }+ ],+ "summary": "Register Guardrail",+ "tags": [+ "mcp_discoverable"+ ]+ }+ },+ "/register": {+ "post": {+ "operationId": "register_client_register_post",+ "parameters": [+ {+ "in": "query",+ "name": "mcp_server_name",+ "required": false,+ "schema": {"anyOf": [{"type": "string"@@@ -15278,6 -20293,65 +20315,76 @@@}],"title": "Scopes"+ },+ "subject_token_type": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Subject Token Type"+ },+ "token_endpoint_auth_method": {+ "anyOf": [+ {+ "enum": [+ "client_secret_basic",+ "client_secret_post"+ ],+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Token Endpoint Auth Method"+ },+ "token_exchange_endpoint": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Token Exchange Endpoint"+ },+ "token_exchange_profile": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Token Exchange Profile"+ },+ "upstream_resource": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Upstream Resource"++ },++ "upstream_token_header": {++ "anyOf": [++ {++ "type": "string"++ },++ {++ "type": "null"++ }++ ],++ "title": "Upstream Token Header"}},"title": "MCPCredentials",@@@ -17890,6 -23640,65 +23673,76 @@@}],"title": "Scopes"+ },+ "subject_token_type": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Subject Token Type"+ },+ "token_endpoint_auth_method": {+ "anyOf": [+ {+ "enum": [+ "client_secret_basic",+ "client_secret_post"+ ],+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Token Endpoint Auth Method"+ },+ "token_exchange_endpoint": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Token Exchange Endpoint"+ },+ "token_exchange_profile": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Token Exchange Profile"+ },+ "upstream_resource": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Upstream Resource"++ },++ "upstream_token_header": {++ "anyOf": [++ {++ "type": "string"++ },++ {++ "type": "null"++ }++ ],++ "title": "Upstream Token Header"}},"title": "MCPCredentials",diff --cc tests/test_litellm/test_together_ai_model_metadata.pyindex fbeb0c35fca,32d0769becc..bf35f459bb6--- a/tests/test_litellm/test_together_ai_model_metadata.py+++ b/tests/test_litellm/test_together_ai_model_metadata.py@@@ -15,11 -15,8 +15,9 @@@ COST_MAP_ADAPTER: Final = TypeAdapter(CSERVERLESS_CHAT_MODELS: Final = ("together_ai/moonshotai/Kimi-K3","together_ai/zai-org/GLM-5.2",+ "together_ai/zai-org/GLM-5.3-Flash",- "together_ai/deepseek-ai/DeepSeek-V4-Pro","together_ai/deepseek-ai/DeepSeek-V4-Pro-0813","together_ai/deepseek-ai/DeepSeek-V4-Flash-0731",- "together_ai/moonshotai/Kimi-K2.7-Code","together_ai/MiniMaxAI/MiniMax-M3","together_ai/thinkingmachines/Inkling","together_ai/thinkingmachines/Inkling-Small",diff --cc ui/litellm-dashboard/src/lib/http/schema.d.tsindex 5e5ff63e9ed,c124cc2e9c8..03a4d1142f8--- a/ui/litellm-dashboard/src/lib/http/schema.d.ts+++ b/ui/litellm-dashboard/src/lib/http/schema.d.ts@@@ -29195,13 -30180,68 +30180,70 @@@ export interface componentsaws_session_name?: string | null;/** Aws Session Token */aws_session_token?: string | null;+ /** Client Assertion Signing Alg */+ client_assertion_signing_alg?: string | null;/** Client Id */client_id?: string | null;+ /** Client Private Key */+ client_private_key?: string | null;+ /** Client Private Key Id */+ client_private_key_id?: string | null;/** Client Secret */client_secret?: string | null;+ /** Id Jag Resource */+ id_jag_resource?: string | null;+ /** Id Jag Resource Token Endpoint */+ id_jag_resource_token_endpoint?: string | null;+ /** Redirect Uris */+ redirect_uris?: string[] | null;/** Scopes */scopes?: string[] | null;+ /** Subject Token Type */+ subject_token_type?: string | null;+ /** Token Endpoint Auth Method */+ token_endpoint_auth_method?: ("client_secret_basic" | "client_secret_post") | null;+ /** Token Exchange Endpoint */+ token_exchange_endpoint?: string | null;+ /** Token Exchange Profile */+ token_exchange_profile?: string | null;+ /** Upstream Resource */+ upstream_resource?: string | null;++ /** Upstream Token Header */++ upstream_token_header?: string | null;+ };+ /**+ * MCPEnvVar+ * @description One environment variable for an MCP server.+ *+ * Variables can be interpolated into ``static_headers`` using ``${NAME}``+ * syntax. ``scope=global`` values are stored on the server. ``scope=user``+ * values are stored per-user in ``LiteLLM_MCPUserEnvVars`` and supplied by+ * each user.+ */+ MCPEnvVar: {+ /** Description */+ description?: string | null;+ /** Name */+ name: string;+ /** @default global */+ scope: components["schemas"]["MCPEnvVarScope"];+ /**+ * Value+ * @default+ */+ value: string;};+ /**+ * MCPEnvVarScope+ * @description Scope for an MCP server environment variable.+ *+ * - ``global``: value is provided by the admin and used for all users.+ * - ``user``: each user must provide their own value via the per-user+ * env-var endpoint. The admin-supplied ``value`` is treated as a+ * placeholder/hint and is not used at request time.+ * @enum {string}+ */+ MCPEnvVarScope: "global" | "user";/*** MCPOAuthUserCredentialRequest* @description Stores a user's OAuth2 token for an OpenAPI MCP server.