CAT
/MCP
SkillsMCPMarketplacesDigestToolsAdvertise

This week in Claude

Every Monday: Claude Code, Agent SDK, MCP, and the Anthropic platform moves worth your time.

Skills by Category
Frontend DevelopmentBackend & APIsTesting & QASecurityDevOps & CI/CDGit & Pull RequestsDocumentationCode Review & QualityAI & Agent BuildingSkill Development
MCP Servers by Category
Sales & MarketingWeb & Browser AutomationDatabasesAI & LLM ToolsCloud & InfrastructureCommunication & MessagingDeveloper ToolsDesign & CreativeDocuments & KnowledgeSearch & Web Crawling
Marketplaces by Category
AI Agents & OrchestrationLLM IntegrationDevelopment ToolsFrontend & UIBackend & APIsDatabasesTesting & Code QualityDevOps & CloudSecurity & ComplianceGit & Version Control

Cross AI Tools

Discover Claude Code plugins, extensions, and tools. Automatically updated directory of Anthropic Claude AI marketplaces with development tools, productivity plugins, and integrations.

Resources

  • Browse Skills
  • Browse MCP Servers
  • Browse Marketplaces
  • Plugins Reference

Community

  • About
  • Tools
  • Feedback
  • Privacy Policy
  • Advertise

Built for the Claude Code community with Claude Code by @mertduzgun

Independent project, not affiliated with Anthropic

Portkey Admin Mcp

s-b-e-n-s-o-n/portkey-admin-mcp
4authSTDIOregistry active
Summary

Gives you programmatic access to Portkey's entire admin surface through 150 MCP tools spanning prompts, configs, API keys, virtual keys, analytics, guardrails, rate limits, and workspace management. You can version and render prompts, set up gateway routing and caching rules, pull cost and latency breakdowns, manage provider integrations, and handle user invites without leaving your editor. Most operations work with workspace-scoped keys, though the 20 analytics endpoints and a few org-level tools require Enterprise plan access. Runs via stdio with npx or as an experimental HTTP server. Useful when you're building on Portkey and want to script or automate config changes, pull usage reports, or manage prompts as part of your development workflow.

CodeRabbit
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Try For Free →
Keep your Mac awake
Keep your Mac awake
Keep your Mac awake while Claude Code and 40+ AI agents run. Sleeps when they're idle.
One time payment $9 →
Context.devContext.dev
Context.dev
Integrate web data into your AI product. One API to scrape website & brand data.
Get API Key Now →
Make your agent a DeFi expert
Make your agent a DeFi expert
Agent, run crypto. Access onchain data & trade routes via 1inch.
Install now →
Make money from your Skills
Make money from your Skills
On Capafy, your Skill runs online 24/7 as an agent product, and you get paid every time someone uses it.
Start earning →
AppSignal
AppSignal
Monitor with ease. Code with confidence.
Start Free Trial →
CodeRabbit
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Try For Free →
Keep your Mac awake
Keep your Mac awake
Keep your Mac awake while Claude Code and 40+ AI agents run. Sleeps when they're idle.
One time payment $9 →
Context.devContext.dev
Context.dev
Integrate web data into your AI product. One API to scrape website & brand data.
Get API Key Now →
Make your agent a DeFi expert
Make your agent a DeFi expert
Agent, run crypto. Access onchain data & trade routes via 1inch.
Install now →
Make money from your Skills
Make money from your Skills
On Capafy, your Skill runs online 24/7 as an agent product, and you get paid every time someone uses it.
Start earning →
AppSignal
AppSignal
Monitor with ease. Code with confidence.
Start Free Trial →

Portkey Admin MCP Server

Typing SVG

MCP server for the Portkey Admin API. Manage prompts, configs, analytics, API keys, and more from any MCP client.

npm version npm downloads CI Node.js License: MIT Mentioned in Awesome MCP Servers MCP Badge

portkey-admin-mcp MCP server


[!IMPORTANT] Maintenance mode. Portkey was acquired by Palo Alto Networks (completed 2026‑05‑29) and is being folded into the Prisma AIRS platform. The Portkey Admin API this server targets is live and unchanged as of June 2026, and this project still works end‑to‑end — but it is now in maintenance mode: security and dependency patches only, no new features, pending Palo Alto's post‑acquisition API roadmap. If the hosted Admin API is ever deprecated, point PORTKEY_BASE_URL at a self‑hosted Portkey gateway. See docs/audit-2026-06.md for the full assessment.

Quick Start

You need a Portkey API key with appropriate scopes. Get one from your Portkey dashboard under API Keys.

Claude Code

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

Cursor / Windsurf / VS Code

Add to your MCP config (.cursor/mcp.json, .windsurf/mcp.json, or .vscode/mcp.json):

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

Run directly

PORTKEY_API_KEY=your_key npx -y portkey-admin-mcp

To expose only a focused subset of tools in stdio clients, set PORTKEY_TOOL_DOMAINS:

PORTKEY_API_KEY=your_key \
PORTKEY_TOOL_DOMAINS=prompts,analytics \
npx -y portkey-admin-mcp
Build from source
git clone https://github.com/CodesWhat/portkey-admin-mcp.git
cd portkey-admin-mcp
npm install && npm run build

Then use this config:

{
  "mcpServers": {
    "portkey-admin": {
      "command": "node",
      "args": ["/path/to/portkey-admin-mcp/build/index.js"],
      "env": {
        "PORTKEY_API_KEY": "your_api_key"
      }
    }
  }
}

What You Can Do

CategoryToolsExamples
Prompts14Create, version, render, execute, migrate, promote prompts
Prompt Partials7Reusable prompt fragments with versioning
Prompt Labels5Organize prompt versions (production, staging, dev)
Configs6Gateway routing, caching, retry, loadbalancing
API Keys5Create and manage scoped API keys
Virtual Keys5Manage provider access keys
Collections5Group prompts by app or project
Providers5Manage AI provider configurations
Integrations10Provider integrations, models, workspace access
MCP Integrations10External MCP tool integrations
MCP Servers10MCP server registry and capabilities
Guardrails5Content safety policies
Usage Limits7Cost and token consumption limits
Rate Limits5Request frequency controls
Analytics20Cost, latency, errors, tokens, cache, feedback
Logging8Log ingestion and export
Tracing2Feedback creation and updates on traces
Users & Workspaces20User management, invites, workspace members
Audit1Audit log access

150 tools total. See ENDPOINTS.md for the full list with descriptions.


API Key Scopes

Most tools work with a workspace-scoped service key that has Select All permissions enabled. That covers prompts, configs, virtual/API keys, providers, guardrails, workspace integrations, MCP servers, rate/usage limits, logs, prompt completions, and workspace user management.

Enterprise-gated tools (28)

The following tools require an organisation-level scope that is only available on Portkey Enterprise plans. They return 403 You do not have enough permissions to execute this request on workspace plans. Their descriptions include an Enterprise-gated. Returns 403 on non-Enterprise Portkey plans. suffix so MCP clients know upfront.

AreaToolsRequired scope
Analytics (20)get_cost_analytics, get_request_analytics, get_token_analytics, get_latency_analytics, get_error_analytics, get_error_rate_analytics, get_cache_hit_latency, get_cache_hit_rate, get_users_analytics, get_error_stacks_analytics, get_error_status_codes_analytics, get_user_requests_analytics, get_rescued_requests_analytics, get_feedback_analytics, get_feedback_models_analytics, get_feedback_scores_analytics, get_feedback_weighted_analytics, get_analytics_group_users, get_analytics_group_models, get_analytics_group_metadataorg-level analytics.view
Auditlist_audit_logsaudit_logs.list
Org-level integrationsget_integration, list_integration_models, list_integration_workspacesorganisation_integrations.read
Org-level userslist_all_users, get_user, get_user_stats, list_user_invitesorganisation_users.list / organisation_users.read

Other scope requirements

FeatureRequired
Prompt completions (run_prompt_completion)completions.write scope + billing metadata (app, env)
Org-level service API key creation via create_api_keyorganisation_service_api_keys.create (Enterprise)

If a tool returns a 403 with Portkey error AB03, it means missing scopes — not a broken endpoint.


HTTP Server (Experimental)

Status: The HTTP transport works locally and is covered by the integration test suite, but it is a proof of concept — there is no hosted version of this server, and hosted deployment is not currently a goal. Use stdio (npx) as the supported transport.

The server supports Streamable HTTP for remote access:

PORTKEY_API_KEY=your_key \
MCP_HOST=127.0.0.1 \
MCP_PORT=3000 \
MCP_PUBLIC_BASE_URL=https://mcp.example.com \
MCP_AUTH_MODE=bearer \
MCP_AUTH_TOKEN=your_secret \
node build/server.js

Or via npx (the portkey-admin-mcp package includes the HTTP binary):

PORTKEY_API_KEY=your_key MCP_AUTH_MODE=bearer MCP_AUTH_TOKEN=your_secret \
  npx -y -p portkey-admin-mcp portkey-admin-mcp-http

For local-only HTTP use, leave MCP_HOST at its default 127.0.0.1. Set MCP_HOST=0.0.0.0 only when you intentionally need to accept connections from outside the local machine, such as Docker or a reverse proxy on another interface.

Configuration

VariableDefaultDescription
PORTKEY_API_KEY(required)Your Portkey API key
PORTKEY_BASE_URLhttps://api.portkey.ai/v1Portkey Admin API base URL. Point at a self-hosted Portkey gateway if needed. Loopback/private-network hosts are rejected unless PORTKEY_ALLOW_PRIVATE_BASE_URL=true
PORTKEY_ALLOW_PRIVATE_BASE_URL—Set to true to allow a PORTKEY_BASE_URL on loopback or a private network (e.g. a self-hosted gateway at http://localhost:8787)
PORTKEY_TOOL_DOMAINS—Optional comma-separated stdio/HTTP default tool subset, e.g. prompts,analytics
MCP_HOST127.0.0.1Bind address
MCP_PORT3000Port
MCP_PUBLIC_BASE_URL—Public absolute base URL to advertise from /auth/info and the status page; recommended for hosted deployments
MCP_AUTH_MODEnonenone, bearer, or clerk (none is blocked for HTTP unless explicitly overridden)
MCP_AUTH_TOKEN—Secret for bearer auth
MCP_ALLOW_UNAUTHENTICATED_HTTP—Set to true only for intentional local unauthenticated HTTP debugging
MCP_SESSION_MODEstatefulstateful or stateless
MCP_MAX_SESSIONS100Maximum concurrent stateful MCP sessions before new initialize requests are rejected
MCP_EVENT_STOREoffoff, memory, or redis
MCP_REDIS_URL—Redis URL for shared event store
MCP_TLS_KEY_PATH—TLS key for native HTTPS
MCP_TLS_CERT_PATH—TLS cert for native HTTPS
ALLOWED_ORIGINS—CORS allow-list; also used to validate the Host header (DNS-rebinding protection) when MCP_AUTH_MODE=none
MCP_TRUST_PROXYfalseTrust proxy headers (for reverse proxies)
RATE_LIMIT_MAX_BUCKETS10000Maximum distinct in-memory rate-limit buckets before new clients share an overflow bucket
Vercel deployment

Vercel support is kept as a reference proof of concept — we do not run a hosted deployment. See docs/VERCEL_DEPLOYMENT.md if you want to self-deploy.

Key points:

  • Uses stateless mode with Redis event store
  • Requires Clerk or bearer auth
  • Leave MCP_TLS_* unset (Vercel terminates HTTPS)
  • Set MCP_PUBLIC_BASE_URL to your deployment URL so advertised MCP endpoints never depend on request headers
  • Vercel does not support WebSockets — Streamable HTTP/SSE only
Docker
docker build -t portkey-admin-mcp .
docker run \
  -e PORTKEY_API_KEY=your_key \
  -e MCP_HOST=0.0.0.0 \
  -e MCP_PORT=3000 \
  -e MCP_AUTH_MODE=bearer \
  -e MCP_AUTH_TOKEN=your_secret \
  -p 3000:3000 \
  portkey-admin-mcp

Health Endpoints

PathPurpose
GET /healthServer liveness
GET /readyReadiness (includes optional Portkey connectivity check)
GET /auth/infoAuth configuration metadata

Development

npm run dev           # stdio with hot reload
npm run dev:http      # HTTP with hot reload
npm test              # unit + contract tests
npm run test:e2e      # MCP protocol tests
npm run test:http     # HTTP endpoint smoke test
npm run ci            # full pipeline (lint + typecheck + test + build + e2e + verify)

npm run dev:http now requires MCP_AUTH_MODE=bearer or MCP_AUTH_MODE=clerk by default. For deliberate local-only unauthenticated testing, set MCP_ALLOW_UNAUTHENTICATED_HTTP=true.


MIT License · Inspired by r-huijts/portkey-admin-mcp-server

↑ Back to top

Featured
CodeRabbit
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Try For Free →
Keep your Mac awake
Keep your Mac awake
Keep your Mac awake while Claude Code and 40+ AI agents run. Sleeps when they're idle.
One time payment $9 →
Context.devContext.dev
Context.dev
Integrate web data into your AI product. One API to scrape website & brand data.
Get API Key Now →
Make your agent a DeFi expert
Make your agent a DeFi expert
Agent, run crypto. Access onchain data & trade routes via 1inch.
Install now →
Make money from your Skills
Make money from your Skills
On Capafy, your Skill runs online 24/7 as an agent product, and you get paid every time someone uses it.
Start earning →
AppSignal
AppSignal
Monitor with ease. Code with confidence.
Start Free Trial →

Configuration

PORTKEY_API_KEY*secret

Your Portkey API key for authentication

PORTKEY_TOOL_DOMAINS

Optional comma-separated tool domains to expose, for example prompts,analytics

PORTKEY_BASE_URL

Portkey Admin API base URL. Defaults to https://api.portkey.ai/v1; point at a self-hosted gateway if needed

Categories
Monitoring & Observability
Registryactive
Packageportkey-admin-mcp
TransportSTDIO
AuthRequired
UpdatedJun 5, 2026
View on GitHub

Related Monitoring & Observability MCP Servers

View all →
Mcp Observability

io.github.infoinlet-marketplace/mcp-observability

Observability for incident agents — query Loki (LogQL), Prometheus (PromQL), Elasticsearch.
Monitor

betterdb-inc/monitor

BetterDB MCP server - Valkey observability for Claude Code and other MCP clients
1.1k
Datadog

com.mcparmory/datadog

Monitor infrastructure, manage agents and deployments, track metrics, logs, and events
25
Observability Mcp

thotischner/observability-mcp

Unified observability gateway for AI agents — Prometheus, Loki & more, with anomaly detection.
5
Datadog Mcp

io.github.tantiope/datadog-mcp

Full Datadog API access: monitors, logs, metrics, traces, dashboards, and observability tools
4
Datadog

io.github.us-all/datadog

Datadog MCP — 165 tools for metrics, monitors, logs, APM, RUM, incidents, CI/CD, fleet
1