# s-b-e-n-s-o-n/portkey-admin-mcp [Health: Active]

**Category:** ☁️ Cloud Platforms  
**Repository:** https://github.com/s-b-e-n-s-o-n/portkey-admin-mcp  
**GitHub Stars:** 6  
**npm Downloads (last month):** 2290  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/s-b-e-n-s-o-n-portkey-admin-mcp

## Description
MCP server for the Portkey AI Gateway Admin API — 150 tools for prompts, configs, analytics, keys, guardrails, integrations, and more.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "portkey-admin-mcp": {
    "command": "npx",
    "args": ["-y","portkey-admin-mcp"],
    "env": {
      "PORTKEY_API_KEY": "",
      "PORTKEY_TOOL_DOMAINS": ""
    }
  }
}
```

**Requires environment variables:** `PORTKEY_API_KEY`, `PORTKEY_TOOL_DOMAINS` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation
This server connects MCP clients to the Portkey AI Gateway Admin API using a Portkey API key. It supports administration of prompts, configurations, keys, guardrails, integrations, analytics, logging, users, workspaces, and related control-plane resources. Use it when an agent needs to manage or inspect Portkey gateway resources.

**Use cases:**
- Manage and version prompts
- Configure gateway routing, caching, retries, and load balancing
- Create and rotate scoped API keys
- Inspect costs, latency, errors, tokens, and cache usage
- Administer users, workspaces, guardrails, and audit logs

**Key features:**
- 171 tools across Portkey Admin API domains
- Prompt creation, versioning, rendering, execution, migration, and promotion
- Gateway configuration, provider, integration, and virtual key management
- Guardrails, usage limits, rate limits, logging, and tracing
- Analytics for cost, latency, errors, tokens, cache, and feedback
- Optional tool-domain filtering with PORTKEY_TOOL_DOMAINS

_Summarized from the repository README — see the link above for the full text._

