Portkey MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTKEY_API_KEYYesYour Portkey API key (required)

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
list_all_users

List all users in your Portkey organization, including their roles and account details

invite_user

Invite a new user to your Portkey organization with specific workspace access and API key permissions

get_user_stats

Retrieve detailed analytics data about user activity within a specified time range, including request counts and costs

list_workspaces

Retrieve all workspaces in your Portkey organization, including their configurations and metadata

get_workspace

Retrieve detailed information about a specific workspace, including its configuration, metadata, and user access details

list_configs

Retrieve all configurations in your Portkey organization, including their status and workspace associations

list_virtual_keys

Retrieve all virtual keys in your Portkey organization, including their usage limits, rate limits, and status

get_cost_analytics

Retrieve detailed cost analytics data over time, including total costs and averages per request

get_config

Retrieve detailed information about a specific configuration, including cache settings, retry policies, and routing strategy