# Add Mcp

> >

- **Type:** Skill
- **Install:** `agentstack add skill-berriai-litellm-skills-add-mcp`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [BerriAI](https://agentstack.voostack.com/s/berriai)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [BerriAI](https://github.com/BerriAI)
- **Source:** https://github.com/BerriAI/litellm-skills/tree/main/add-mcp
- **Website:** https://github.com/BerriAI/litellm-skills

## Install

```sh
agentstack add skill-berriai-litellm-skills-add-mcp
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Add MCP Server

Register an MCP (Model Context Protocol) server on a live LiteLLM proxy so it can be used by models and agents.

## Setup

Ask for these if not already known:
```
LITELLM_BASE_URL  — e.g. https://my-proxy.example.com
LITELLM_API_KEY   — proxy admin key
```

API reference: https://docs.litellm.ai/docs/mcp

## Ask the user

1. **Server name** (required, e.g. `my-github-mcp`)
2. **URL** (required, e.g. `https://mcp.example.com/sse`)
3. **Transport** — `sse` (default), `http`, or `stdio`
4. **Description** (optional)
5. **Auth** — does it need a bearer token or API key? (optional)

## Run

```bash
curl -s -X POST "$BASE/v1/mcp/server" \
  -H "Authorization: Bearer $KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "server_name": "",
    "url": "",
    "transport": "sse",
    "description": "",
    "auth_type": "bearer_token",
    "credentials": ""
  }'
```

For unauthenticated servers, omit `auth_type` and `credentials`.

## List existing MCP servers

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

## Delete an MCP server

```bash
curl -s -X DELETE "$BASE/v1/mcp/server/" \
  -H "Authorization: Bearer $KEY"
```

## Output

Show `server_id` — needed to reference this MCP server in agent configs or to delete it later.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [BerriAI](https://github.com/BerriAI)
- **Source:** [BerriAI/litellm-skills](https://github.com/BerriAI/litellm-skills)
- **License:** MIT
- **Homepage:** https://github.com/BerriAI/litellm-skills

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** yes
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-berriai-litellm-skills-add-mcp
- Seller: https://agentstack.voostack.com/s/berriai
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
