mcp_management

Edit Mcp Server

Allows deleting mcp serves in the db

put/v1/mcp/server

Headers

litellm-changed-bystring nullable

The litellm-changed-by header enables tracking of actions performed by authorized users on behalf of other users, providing an audit trail for accountability

The litellm-changed-by header enables tracking of actions performed by authorized users on behalf of other users, providing an audit trail for accountability

Request body

aliasstring nullable
allow_all_keysboolean
allowed_toolsstring[] nullable
argsstring[]
audiencestring nullable
auth_type'none' | 'api_key' | 'bearer_token' | 'basic' | 'authorization' | 'oauth2' | 'aws_sigv4' | 'token' | 'oauth2_token_exchange' | 'oauth2_id_jag' | 'true_passthrough' | 'oauth_delegate' nullable
authorization_urlstring nullable
available_on_public_internetboolean
byok_api_key_help_urlstring nullable
byok_descriptionstring[]
commandstring nullable
dcr_bridgeboolean nullable
delegate_auth_to_upstreamboolean
descriptionstring nullable
envobject
extra_headersstring[] nullable
instructionsstring nullable
is_byokboolean
issuerstring nullable
max_concurrent_requestsinteger nullable
mcp_access_groupsstring[]
mcp_infoobject nullable
oauth2_flow'client_credentials' | 'authorization_code' nullable
oauth_passthroughboolean
registration_urlstring nullable
server_idstring required
server_namestring nullable
source_urlstring nullable
spec_pathstring nullable
static_headersobject nullable
subject_token_typestring nullable
timeoutnumber nullable
token_exchange_endpointstring nullable
token_exchange_profilestring nullable
token_urlstring nullable
tool_name_to_descriptionobject nullable
tool_name_to_display_nameobject nullable
transport'sse' | 'http' | 'stdio'
urlstring nullable

Response

Successful Response

aliasstring nullable
allow_all_keysboolean
allowed_toolsstring[]
approval_statusstring nullable

Approval status: 'pending_review', 'active', 'rejected'

argsstring[]
audiencestring nullable
auth_type'none' | 'api_key' | 'bearer_token' | 'basic' | 'authorization' | 'oauth2' | 'aws_sigv4' | 'token' | 'oauth2_token_exchange' | 'oauth2_id_jag' | 'true_passthrough' | 'oauth_delegate' nullable
authorization_urlstring nullable
available_on_public_internetboolean
byok_api_key_help_urlstring nullable
byok_descriptionstring[]
commandstring nullable
connected_app_reachableboolean nullable
created_atstring date-time nullable
created_bystring nullable
dcr_bridgeboolean nullable
delegate_auth_to_upstreamboolean
descriptionstring nullable
envobject
extra_headersstring[]
has_user_credentialboolean nullable
health_check_errorstring nullable
instructionsstring nullable
is_byokboolean
issuerstring nullable
last_health_checkstring date-time nullable
max_concurrent_requestsinteger nullable
mcp_access_groupsstring[]
mcp_infoobject nullable
oauth2_flow'client_credentials' | 'authorization_code' nullable
oauth_passthroughboolean
registration_urlstring nullable
review_notesstring nullable
reviewed_atstring date-time nullable
server_idstring required
server_namestring nullable
source_urlstring nullable
spec_pathstring nullable
static_headersobject nullable
status'healthy' | 'unhealthy' | 'unknown' nullable

Health status: 'healthy', 'unhealthy', 'unknown'

subject_token_typestring nullable
submitted_atstring date-time nullable
submitted_bystring nullable
teamsobject[]
timeoutnumber nullable
token_exchange_endpointstring nullable
token_exchange_profilestring nullable
token_urlstring nullable
tool_name_to_descriptionobject nullable
tool_name_to_display_nameobject nullable
transport'sse' | 'http' | 'stdio' required
updated_atstring date-time nullable
updated_bystring nullable
urlstring nullable

Changes

Changed in 16 of the 42 revisions of this API.419