Skip to content
VS Code

anthropic admin mcp for VS Code

io.github.trushtonfactory/anthropic-admin-mcp

Native MCP server for the Anthropic Admin API: org, workspaces, members, API keys, usage, costs.

client:VS Code transport:stdio runtime:pypi

Install anthropic admin mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "anthropic-admin-key",
      "description": "ANTHROPIC_ADMIN_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "allowed-workspaces",
      "description": "ALLOWED_WORKSPACES",
      "password": true
    },
    {
      "type": "promptString",
      "id": "audit-log-path",
      "description": "AUDIT_LOG_PATH",
      "password": true
    }
  ],
  "servers": {
    "anthropic-admin-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "anthropic-admin-mcp"
      ],
      "env": {
        "ANTHROPIC_ADMIN_KEY": "${input:anthropic-admin-key}",
        "ALLOWED_WORKSPACES": "${input:allowed-workspaces}",
        "AUDIT_LOG_PATH": "${input:audit-log-path}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

anthropic admin mcp in other clients