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
docs(mcp.md): document oauth support
Krrish Dholakia91f420160fd4
diff --git a/docs/my-website/docs/mcp.md b/docs/my-website/docs/mcp.mdindex 7eee979cc67..50bd5aefa76 100644--- a/docs/my-website/docs/mcp.md+++ b/docs/my-website/docs/mcp.md@@ -1045,6 +1045,25 @@ curl --location 'http://localhost:4000/github_mcp/mcp' \---+## MCP Oauth++LiteLLM v 1.77.6 added support for OAuth 2.0 Client Credentials for MCP servers.+++This configuration is currently available on the config.yaml, with UI support coming soon.++```yaml+mcp_servers:+ github_mcp:+ url: "https://api.githubcopilot.com/mcp"+ auth_type: oauth2+ authorization_url: https://github.com/login/oauth/authorize+ token_url: https://github.com/login/oauth/access_token+ client_id: os.environ/GITHUB_OAUTH_CLIENT_ID+ client_secret: os.environ/GITHUB_OAUTH_CLIENT_SECRET+ scopes: ["public_repo", "user:email"]+```+## Using your MCP with client side credentialsUse this if you want to pass a client side authentication token to LiteLLM to then pass to your MCP to auth to your MCP.