About delete-mcp
A skill for removing an MCP server registration from a live LiteLLM proxy. It looks up the server when needed, confirms its identity before deletion, and notes that dependent agents will lose access to its tools.
Key features
- 01List registered MCP servers
- 02Delete a server by ID
- 03Confirm server name and URL
- 04Warn about agent tool access
Use cases
- 01Remove an obsolete server registration
- 02Review a server before removal
- 03Assess tool access impact on agents
MCP support
Deletes an MCP server registration from a LiteLLM proxy. Agents using that server lose access to its tools after removal.
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ berriai/ litellm-skills --skill delete-mcpAfter installing, type/delete-mcpin Claude Code to confirm it loaded.
Details
From the project READMEDelete MCP Server
Remove an MCP server registration from a live LiteLLM proxy.
Setup
LITELLM_BASE_URL — e.g. https://my-proxy.example.com
LITELLM_API_KEY — proxy admin key
Ask the user
- server_id — if they don't have it, list first:
curl -s "$BASE/v1/mcp/server" -H "Authorization: Bearer $KEY" - Confirm — show the server name/URL and ask for confirmation.
Run
curl -s -X DELETE "$BASE/v1/mcp/server/<server_id>" \
-H "Authorization: Bearer $KEY"
Output
Confirm deletion. Note that any agents using this MCP server will lose access to its tools.
Comments
Markdown supported