litellm-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@litellm-mcpUse gpt-4 to explain quantum computing in simple terms"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
litellm-mcp
MCP server for the LiteLLM proxy API. No clone, no build — just npx.
Cursor config
{
"mcpServers": {
"litellm": {
"command": "npx",
"args": ["-y", "@weeebdev/litellm-mcp"],
"env": {
"LITELLM_BASE_URL": "https://litellm-api.up.railway.app",
"LITELLM_API_KEY": "sk-your-key-here"
}
}
}
}From GitHub (no npm):
{
"mcpServers": {
"litellm": {
"command": "npx",
"args": ["-y", "github:weeebdev/litellm-mcp"],
"env": {
"LITELLM_BASE_URL": "https://litellm-api.up.railway.app",
"LITELLM_API_KEY": "sk-your-key-here"
}
}
}
}Local dev (from a cloned repo):
{
"mcpServers": {
"litellm": {
"command": "npx",
"args": ["-y", "."],
"cwd": "/Users/adil/projects/litellm-mcp",
"env": {
"LITELLM_API_KEY": "sk-your-key-here"
}
}
}
}Related MCP server: agentforge
Configuration
Variable | Description | Default |
| LiteLLM proxy URL |
|
| Bearer token / virtual key | (required) |
Tools
LLM: litellm_chat_completion, litellm_completion, litellm_embeddings, litellm_image_generation, litellm_responses_create
Models & health: litellm_list_models, litellm_get_model_info, litellm_health_check, litellm_test_model_connection
Admin: litellm_list_keys, litellm_get_key_info, litellm_generate_key, litellm_list_teams, litellm_get_spend_logs, litellm_list_mcp_servers, litellm_list_mcp_tools
Escape hatch: litellm_api_request — call any endpoint from the Swagger docs
Publish to npm
npm publish --access publicThen anyone can run:
npx -y @weeebdev/litellm-mcpThis server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/weeebdev/litellm-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server