Skip to content
MCP server

Portkey Admin MCP

Portkey Admin API as an MCP server: 194 tools for prompts, configs, keys and analytics

Runs locally
Install
Platforms
CLI, API, self-hosted
Runs
Locally
Version
0.16.5
Listing updated
4 days ago

Similar MCP servers

About Portkey Admin MCP

Portkey Admin MCP is an MCP server for ai models and llm tooling. It runs locally on your machine and is started by your AI client.

The surface is large: 194 tools across 22 domains, from prompts (14 tools) and analytics (25) to users and workspaces (24), guardrails (14), MCP server registry (12) and logging (10). Because the full tool list is around 400 KB once paginated, PORTKEY_TOOL_DOMAINS lets you expose only domains such as prompts and analytics, which also reduces context cost.

It targets the Portkey-compatible Admin API with an x-portkey-api-key, not Palo Alto Networks' Prisma AIRS or Strata Cloud Manager directly; the README links an interoperability guide. It runs over stdio through npx, and an experimental HTTP mode exists. A Portkey API key with suitable scopes is required.

Install

Run in a terminal

claude mcp add portkey-admin-mcp --env PORTKEY_API_KEY='<PORTKEY_API_KEY>' -- npx -y portkey-admin-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "portkey-admin-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "portkey-admin-mcp"
      ],
      "env": {
        "PORTKEY_API_KEY": "<PORTKEY_API_KEY>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "portkey-admin-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "portkey-admin-mcp"
      ],
      "env": {
        "PORTKEY_API_KEY": "<PORTKEY_API_KEY>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "portkey-admin-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "portkey-admin-mcp"
      ],
      "env": {
        "PORTKEY_API_KEY": "<PORTKEY_API_KEY>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "portkey-admin-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "portkey-admin-mcp"
      ],
      "env": {
        "PORTKEY_API_KEY": "<PORTKEY_API_KEY>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "portkey-admin-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "portkey-admin-mcp"
      ],
      "env": {
        "PORTKEY_API_KEY": "<PORTKEY_API_KEY>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • PORTKEY_API_KEYYour Portkey API key for authenticationRequired
  • PORTKEY_TOOL_DOMAINSOptional comma-separated tool domains to expose, for example prompts,analytics
  • PORTKEY_BASE_URLPortkey Admin API base URL. Defaults to https://api.portkey.ai/v1; a Prisma AIRS or Strata Cloud Manager URL is not compatible

What it does

194 admin tools
Across 22 domains including prompts, configs, keys and governance.
Domain scoping
PORTKEY_TOOL_DOMAINS limits exposed tools.
Prompt management
Create, version, render, execute and promote prompts.
Gateway configs
Routing, caching, retry and load balancing.
Analytics and logs
Cost, latency, errors, tokens and log export.
Governance
Guardrails, access policies, usage and rate limits.

Good for

  • Version and promote prompts across environments
  • Rotate scoped API keys
  • Pull cost and latency analytics
  • Manage workspace members and SCIM mappings

Pricing

Pricing unknown

Requires a Portkey API key

Portkey Admin MCP FAQ

What do I need?

A Portkey API key with appropriate scopes.

Does it work with Prisma AIRS?

Not directly; the README describes a side-by-side model.

How do I reduce tool count?

Set PORTKEY_TOOL_DOMAINS, for example prompts,analytics.

How do I add it to Claude Code?

claude mcp add -e PORTKEY_API_KEY=your_key portkey-admin -- npx -y portkey-admin-mcp.

How do I add Portkey Admin MCP to Claude Code?

Run this command in your terminal: claude mcp add portkey-admin-mcp --env PORTKEY_API_KEY='<PORTKEY_API_KEY>' -- npx -y portkey-admin-mcp

What are the best alternatives to Portkey Admin MCP?

The closest alternatives to Portkey Admin MCP are Toolport, Porticol, Toolkien, McpOrchestrator and Tempr Gateway Admin.

Where this comes from

  • Description: written from the project's README.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers