Repository navigation
MCP server for LiteLLM Proxy admin APIs #32182
wklee610
started this conversation in
Show and tell
Replies: 2 comments
|
Neat! Could you add the FastMCP bits to make it HTTP Streamable? |
0 replies
|
Checking key/user/team spend and routing config via admin API is exactly the workflow we built a full product around, with spend tracked against a real ledger, not just config state. Instrumented example: https://unitsense.ai/blog/smart-routing-pilot/. Happy to compare notes on what NC-AI's internal gateway setup looks like. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I built a small FastMCP server that exposes the LiteLLM Proxy API as MCP tools.
On startup, it fetches LITELLM_URL/openapi.json and dynamically registers one MCP tool per LiteLLM endpoint using the OpenAPI operationId. This makes it version-aware: when LiteLLM adds or changes endpoints, the MCP tool list follows the running proxy.
The goal is to let MCP clients inspect and operate LiteLLM itself, for example:
Github code: https://github.com/wklee610/litellm-mcp
If there’s anything I should change in the implementation, please let me know.
I’d be happy to update it. :)
All reactions