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 through Claude.

How to use Portkey MCP Server?

The server can be installed from source by cloning the repository, installing dependencies, configuring the environment file with your Portkey API key, and updating your Claude configuration file. Alternatively, it can be installed automatically via Smithery using the provided command.

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

  • Retrieve API usage statistics across different models.

  • View performance metrics for AI deployments.

  • Create a new workspace for a team's project.

  • Monitor API key usage and remaining credits.

FAQ from Portkey MCP Server

How do I install the Portkey MCP Server?

You can install it either from source by cloning the repository and following the setup instructions, or automatically via Smithery using the provided command.

What is the purpose of the PORTKEY_API_KEY environment variable?

The PORTKEY_API_KEY environment variable is required to authenticate with the Portkey API and allows the server to access and manage your Portkey resources.

What kind of user management capabilities does this server offer?

The server provides user administration, user invitations with customizable roles, workspace access configuration, and role-based control at both the organization and workspace levels.

What type of analytics and reporting can I access?

You can track user activity, analyze costs, view request metrics, and generate filtered reports based on custom criteria like status codes, virtual keys, and time ranges.

Can I manage API keys with this server?

Yes, you can monitor and manage API keys (Virtual Keys) with usage limits and rate limits.