Skip to main content
POST
/
mcp
/
{server_id}
Proxy to a named MCP server
curl --request POST \
  --url https://litellm-rust.onrender.com/mcp/{server_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "method": "tools/list",
  "params": {}
}
'

Authorizations

Authorization
string
header
required

Your LITELLM_MASTER_KEY. Default for local Docker Compose: sk-local

Path Parameters

server_id
string
required

Server name as configured in config.yaml mcp_servers block

Body

application/json
method
string
Example:

"tools/list"

params
object

Response

MCP server response