Gateway
MCP proxy
POST
Proxy to a named MCP server
Authorizations
Your LITELLM_MASTER_KEY. Default for local Docker Compose: sk-local
Path Parameters
Server name as configured in config.yaml mcp_servers block
Response
MCP server response
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
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": {}
}
'import requests
url = "https://litellm-rust.onrender.com/mcp/{server_id}"
payload = {
"method": "tools/list",
"params": {}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({method: 'tools/list', params: {}})
};
fetch('https://litellm-rust.onrender.com/mcp/{server_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Your LITELLM_MASTER_KEY. Default for local Docker Compose: sk-local
Server name as configured in config.yaml mcp_servers block
MCP server response
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": {}
}
'import requests
url = "https://litellm-rust.onrender.com/mcp/{server_id}"
payload = {
"method": "tools/list",
"params": {}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({method: 'tools/list', params: {}})
};
fetch('https://litellm-rust.onrender.com/mcp/{server_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));