mcpField
A
add-team

add-team

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

About add-team

A skill for creating teams on a live LiteLLM proxy. It collects a team name and optional budget, model, and rate limits, then verifies creation and reports the team details.

Key features

  1. 01Create a LiteLLM team
  2. 02Set an optional budget
  3. 03Restrict allowed models
  4. 04Configure TPM and RPM limits
  5. 05Verify creation and show team details

Use cases

  1. 01Create a team on a live proxy
  2. 02Apply a team budget
  3. 03Limit a team to selected models
  4. 04Confirm a new team and retrieve its ID

MCP support

This skill manages teams on a LiteLLM proxy; the input does not describe a direct MCP server interaction.

Install

Copy the command and run it in a terminal.

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

After installing, type/add-teamin Claude Code to confirm it loaded.

Details

From the project README

Add Team

Create a new team on a live LiteLLM proxy.

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://litellm.vercel.app/docs/proxy/team_based_routing

Ask the user

  1. Team name (required, becomes team_alias)
  2. Max budget (optional, e.g. 100.00)
  3. Allowed models (optional, e.g. gpt-4o, gpt-4o-mini) — leave empty to allow all
  4. TPM / RPM limits (optional)

Run

BASE="$LITELLM_BASE_URL"
KEY="$LITELLM_API_KEY"

curl -s -X POST "$BASE/team/new" \
  -H "Authorization: Bearer $KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "team_alias": "<name>",
    "max_budget": <budget_or_null>,
    "models": [<models_or_empty>],
    "tpm_limit": <tpm_or_null>,
    "rpm_limit": <rpm_or_null>
  }'

Verify

Confirm the team was created:

curl -s "$BASE/team/info?team_id=<team_id>" \
  -H "Authorization: Bearer $KEY"

Output

Show the user:

  • team_id — they'll need this to generate keys for the team
  • team_alias, max_budget, models

On error:

  • 401 — check that LITELLM_API_KEY is a valid admin key
  • 400 — check required fields (team_alias is required)
  • Other errors — show detail and the likely fix

Comments

Markdown supported