add mcp routes

This commit is contained in:
Ishaan Jaff
2025-03-20 17:58:33 -07:00
parent f44a5a86db
commit 8909e24efc
@@ -17,7 +17,15 @@ from litellm.proxy._experimental.mcp_server.tool_registry import (
)
from litellm.types.mcp_server.tool_registry import *
router = APIRouter()
router = APIRouter(
prefix="/mcp",
tags=["MCP"],
)
@router.get("/")
async def root():
return {"message": "MCP Server is running"}
@router.get("/tools/list", response_model=ListToolsResponse)