Update mcp

From BerriAI/litellm-skills · View interactive version

Update mcp is an AI agent skill from the GitHub repository BerriAI/litellm-skills. Update an existing MCP server on a live LiteLLM proxy. Ask for the server_id and what to change (URL, auth, description), then call PUT /v1/mcp/server.

How to use this skill

Skill file

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:

```bash

curl -s "$BASE/v1/mcp/server" -H "Authorization: Bearer $KEY"

```

  1. What to change — any combination of:

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.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.