mcpField
D
delete-mcp

delete-mcp

github.com/berriaiCloud & DevOps103121 installsUpdated 25w ago
Repository

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

  1. 01List registered MCP servers
  2. 02Delete a server by ID
  3. 03Confirm server name and URL
  4. 04Warn about agent tool access

Use cases

  1. 01Remove an obsolete server registration
  2. 02Review a server before removal
  3. 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-mcp

After installing, type/delete-mcpin Claude Code to confirm it loaded.

Details

From the project README

Delete 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

  1. server_id — if they don't have it, list first:
    curl -s "$BASE/v1/mcp/server" -H "Authorization: Bearer $KEY"
    
  2. 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