From a4530b49d8a42e8c05e88b0db74586abe15ea89b Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Sat, 14 Jun 2025 17:31:22 -0700 Subject: [PATCH] clean up mcp docs --- docs/my-website/docs/mcp.md | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) diff --git a/docs/my-website/docs/mcp.md b/docs/my-website/docs/mcp.md index 49c96afe9d..4582717707 100644 --- a/docs/my-website/docs/mcp.md +++ b/docs/my-website/docs/mcp.md @@ -31,26 +31,11 @@ This video demonstrates how you can onboard an MCP server to LiteLLM Proxy, use 1. Allow proxy admin users to perform create, update, and delete operations on MCP servers stored in the db. 2. Allows users to view and call tools to the MCP servers they have access to. -LiteLLM exposes the following MCP endpoints: -- GET `/mcp/enabled` - Returns if MCP is enabled (python>=3.10 requirements are met) -- GET `/mcp/tools/list` - List all available tools -- POST `/mcp/tools/call` - Call a specific tool with the provided arguments -- GET `/v1/mcp/server` - Returns all of the configured mcp servers in the db filtered by requestor's access -- GET `/v1/mcp/server/{server_id}` - Returns the the specific mcp server in the db given `server_id` filtered by requestor's access -- PUT `/v1/mcp/server` - Updates an existing external mcp server. -- POST `/v1/mcp/server` - Add a new external mcp server. -- DELETE `/v1/mcp/server/{server_id}` - Deletes the mcp server given `server_id`. +When MCP clients connect to LiteLLM's MCP Gateway they can run the following MCP operations:: +1. List Tools: List all available MCP tools on LiteLLM +2. Call Tools: Call a specific MCP tool with the provided arguments -When MCP clients connect to LiteLLM they can follow this workflow: - -1. Connect to the LiteLLM MCP server -2. List all available tools on LiteLLM -3. Client makes LLM API request with tool call(s) -4. LLM API returns which tools to call and with what arguments -5. MCP client makes MCP tool calls to LiteLLM -6. LiteLLM makes the tool calls to the appropriate MCP server -7. LiteLLM returns the tool call results to the MCP client #### Usage