mcpField
U
update-mcp

update-mcp

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

About update-mcp

A skill for updating MCP server registrations on a live LiteLLM proxy. It guides the operator through selecting a server and changing its URL, credentials, description, or exposed tools.

Key features

  1. 01Change server URL and credentials
  2. 02Edit description and allowed tools
  3. 03List registrations to find a server ID
  4. 04Confirm updated fields

Use cases

  1. 01Rotate a server’s authentication token
  2. 02Change which tools a server exposes
  3. 03Update a registered server endpoint

MCP support

Updates an existing MCP server registration on a LiteLLM proxy, including the tools exposed to clients.

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/berriai/litellm-skills --skill update-mcp

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

Details

From the project README

Update MCP Server

Update an existing MCP server registration on 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. What to change — any combination of:
    • url
    • credentials (rotate the auth token)
    • description
    • allowed_tools (list of tool names to expose)

Run

curl -s -X PUT "$BASE/v1/mcp/server" \
  -H "Authorization: Bearer $KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "server_id": "<server_id>",
    "url": "<new_url>",
    "credentials": "<new_token>"
  }'

Only include the fields being changed.

Output

Confirm the server was updated and show the updated fields.

Comments

Markdown supported