
Description
Register a new MCP server on a live LiteLLM proxy. Asks for the server name, transport type, URL, and optional auth, then calls POST /v1/mcp/server.
SKILL.md
Add MCP Server
Register an MCP (Model Context Protocol) server on a live LiteLLM proxy so it can be used by models and agents.
Setup
Ask for these if not already known:
LITELLM_BASE_URL — e.g. https://my-proxy.example.com
LITELLM_API_KEY — proxy admin key
API reference: https://docs.litellm.ai/docs/mcp
Ask the user
- Server name (required, e.g.
my-github-mcp) - URL (required, e.g.
https://mcp.example.com/sse) - Transport —
sse(default),http, orstdio - Description (optional)
- Auth — does it need a bearer token or API key? (optional)
Run
curl -s -X POST "$BASE/v1/mcp/server" \
-H "Authorization: Bearer $KEY" \
-H "Content-Type: application/json" \
-d '{
"server_name": "<name>",
"url": "<url>",
"transport": "sse",
"description": "<description_or_omit>",
"auth_type": "bearer_token",
"credentials": "<token_if_needed>"
}'
For unauthenticated servers, omit auth_type and credentials.
List existing MCP servers
curl -s "$BASE/v1/mcp/server" \
-H "Authorization: Bearer $KEY"
Delete an MCP server
curl -s -X DELETE "$BASE/v1/mcp/server/<server_id>" \
-H "Authorization: Bearer $KEY"
Output
Show server_id — needed to reference this MCP server in agent configs or to delete it later.
More skills from the litellm-skills repository
View all 21 skillsadd-agent
create AI agents on LiteLLM proxy
Jul 14AgentsAPI DevelopmentLLMMCPadd-key
generate API keys on LiteLLM proxy
Jul 14AI InfrastructureAPI DevelopmentLiteLLMadd-model
add models to LiteLLM proxy
Jul 14AI InfrastructureLiteLLMLLMadd-org
create organizations on LiteLLM proxy
Jul 14AI InfrastructureLiteLLMManagementadd-team
create new teams on LiteLLM proxy
Jul 14AI InfrastructureLLMManagementadd-user
create LiteLLM proxy users
Jul 14AI InfrastructureLLMOperations
More from LiteLLM
View publisherdelete-agent
delete AI agents from LiteLLM proxy
litellm-skills
Jul 14AgentsAI InfrastructureLiteLLMManagementdelete-key
delete API keys from LiteLLM proxy
litellm-skills
Jul 14API DevelopmentLiteLLMSecuritydelete-mcp
delete MCP servers from LiteLLM proxy
litellm-skills
Jul 14AI InfrastructureConfigurationMCPdelete-model
delete models from LiteLLM proxy
litellm-skills
Jul 14AI InfrastructureLiteLLMLLMManagementdelete-org
delete organizations from LiteLLM proxy
litellm-skills
Jul 14AI InfrastructureLiteLLM