MCP server
Portkey Admin MCP
Full Portkey Admin API MCP server — configs, prompts, keys, analytics, and more.
Runs locallyStatus and history
- Pricing
- Open source
- Runs
- Locally
- Version
- 0.3.4
- Listing updated
- 5 days ago
About Portkey Admin MCP
Portkey Admin MCP is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Install
Run in a terminal
claude mcp add portkey-admin-mcp --env PORTKEY_API_KEY='<PORTKEY_API_KEY>' -- npx -y portkey-admin-mcpAdd 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 authenticationRequiredPORTKEY_TOOL_DOMAINSOptional comma-separated tool domains to expose, for example prompts,analyticsPORTKEY_BASE_URLPortkey Admin API base URL. Defaults to https://api.portkey.ai/v1; point at a self-hosted gateway if needed
Pricing
Open source
Portkey Admin MCP FAQ
Is Portkey Admin MCP free?
Yes. Portkey Admin MCP is open source, so you can use and self-host it for free.
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
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.