Overview
Portkey MCP Server is a management server that connects Claude to Portkey's API, allowing users to manage AI configurations, workspaces, analytics, and user access effectively.
To use the Portkey MCP Server, clone the repository, install dependencies, configure your environment with your Portkey API key, and restart Claude Desktop. Alternatively, you can install it automatically via Smithery.
- User and access management for Portkey organization - Detailed analytics and reporting on API usage - Comprehensive workspace management capabilities - Configuration and API settings management
- Monitoring API usage statistics across different models.
- Generating performance metrics for AI deployments.
- Creating and managing workspaces for team projects.
- Analyzing costs and usage patterns over time.
- Configuring user roles and permissions within the organization.
Add to your AI client
Use these steps to connect Portkey MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"r-huijts-portkey-admin-mcp-server-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-r-huijts-portkey-admin-mcp-server-mcp-mirror"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"r-huijts-portkey-admin-mcp-server-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-r-huijts-portkey-admin-mcp-server-mcp-mirror"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"r-huijts-portkey-admin-mcp-server-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-r-huijts-portkey-admin-mcp-server-mcp-mirror"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"r-huijts-portkey-admin-mcp-server-mcp-mirror": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-r-huijts-portkey-admin-mcp-server-mcp-mirror"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"r-huijts-portkey-admin-mcp-server-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-r-huijts-portkey-admin-mcp-server-mcp-mirror"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"r-huijts-portkey-admin-mcp-server-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-r-huijts-portkey-admin-mcp-server-mcp-mirror"
]
}
}
}FAQ
How do I install the Portkey MCP Server?
You can install it from source or via Smithery using the provided commands.
What is required to run the server?
You need a valid Portkey API key and the necessary environment configurations.
Can I manage multiple workspaces?
Yes! The server allows you to manage multiple workspaces and their configurations.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":1322,"uuid":"57ce780b-48bc-4aee-8e89-f90bc8db6e09","name":"r-huijts_portkey-admin-mcp-server","title":"Portkey MCP Server","description":"Mirror of","avatar_url":"https://avatars.githubusercontent.com/u/192820360?v=4","created_at":"2025-02-20T15:12:43.484Z","updated_at":"2025-02-23T07:21:16.608Z","status":"created","author_name":"MCP-Mirror","author_avatar_url":"https://avatars.githubusercontent.com/u/192820360?v=4","tags":"portkey,mcp-server,ai-assistant","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/MCP-Mirror/r-huijts_portkey-admin-mcp-server","target":"_self","content":"$29","summary":"$2a","img_url":"https://camo.githubusercontent.com/75c8848975223742872bc14e56f174abb75d14a5bb3411d52edbff46b4883557/68747470733a2f2f736d6974686572792e61692f62616467652f40722d6875696a74732f706f72746b65792d61646d696e2d6d63702d736572766572","type":null,"metadata":null,"user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]