Portkey MCP Server logo

Portkey MCP Server

by r-huijts

Transform your AI assistant into a Portkey platform expert! This MCP server connects Claude to Portkey's API, enabling comprehensive management of AI configurations, workspaces, analytics, and user access.

View on GitHub

Last updated: N/A

What is Portkey MCP Server?

The Portkey MCP Server is a tool that connects Claude to Portkey's API, allowing users to manage AI configurations, workspaces, analytics, and user access within the Portkey platform.

How to use Portkey MCP Server?

The server can be installed either from source by cloning the repository, installing dependencies, configuring the environment file with your Portkey API key, and updating your Claude configuration file, or by using Smithery with the command npx -y @smithery/cli install @r-huijts/portkey-admin-mcp-server --client claude.

Key features of Portkey MCP Server

  • User & Access Management (User Administration, Invitations, Workspace Access, Role-Based Control)

  • Analytics & Reporting (Usage Analytics, Cost Analysis, Request Metrics, Filtered Reports)

  • Workspace Management (Workspace Overview, Configuration Management, Virtual Key Management, Workspace Settings)

  • Configuration & API Settings (Config Listings, Detailed Config Info, Virtual Key Details, API Integration)

Use cases of Portkey MCP Server

  • Track API usage statistics across different models

  • Monitor performance metrics for AI deployments

  • Create a new workspace for a team's project

  • Set up rate limiting for a development environment

FAQ from Portkey MCP Server

What is the required environment variable?

The required environment variable is PORTKEY_API_KEY, which should be set to your Portkey API key.

How do I install the server from source?

Clone the repository, install dependencies with npm install, copy and configure the .env file, and update your Claude configuration file.

How do I install the server using Smithery?

Use the command npx -y @smithery/cli install @r-huijts/portkey-admin-mcp-server --client claude.

What kind of user roles can I manage?

You can assign admin, manager, or member roles at both the organization and workspace levels.

What type of analytics reports can I generate?

You can generate reports based on custom criteria like status codes, virtual keys, and time ranges.