Cover image
Try Now
2025-02-13

Une implémentation du serveur de protocole de contexte modèle (MCP) pour la plate-forme Portkey AI, fournissant une interface standardisée pour gérer les configurations d'IA, les espaces de travail et l'analyse.

3 years

Works with Finder

1

Github Watches

2

Github Forks

0

Github Stars

Portkey MCP Server

smithery badge

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.

Portkey Server MCP server

Installation

From Source

  1. Clone this repository
  2. Install dependencies:
npm install
  1. Copy the example environment file:
cp .env.example .env
  1. Add your Portkey API key to the .env file:
PORTKEY_API_KEY=your_portkey_api_key_here
  1. Then update your Claude configuration file:
{
  "mcpServers": {
    "portkey-server": {
      "command": "node",
      "args": [
        "/path/to/portkey-server/build/index.js"
      ],
      "env": {
        "PORTKEY_API_KEY": "your_portkey_api_key_here"
      }
    }
  }
}

Make sure to:

  • Replace /path/to/portkey-server with the actual path to your installation
  • Add your Portkey API key in the env section

After updating the configuration, restart Claude Desktop for the changes to take effect.

Installing via Smithery

To install Portkey MCP Server for Claude Desktop automatically via Smithery:

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

Real-World Use Cases

  • "What are my current API usage statistics across different models?"
  • "Show me the performance metrics for my AI deployments"
  • "Create a new workspace for my team's project"
  • "What's my current API key usage and remaining credits?"
  • "Generate an analytics report for last month's API calls"
  • "Set up rate limiting for my development environment"
  • "Configure fallback behavior for my production endpoints"
  • "Add team members to my Portkey workspace"
  • "Show me the latency statistics for my API calls"
  • "Set up custom headers for my API requests"

🔑 Environment Variables

Variable Description
PORTKEY_API_KEY Your Portkey API key (required)

🌟 Features

This MCP server provides comprehensive access to Portkey's platform through the following capabilities:

User & Access Management

  • User Administration: List and manage all users in your Portkey organization
  • User Invitations: Invite new users with customizable roles and permissions
  • Workspace Access: Configure user access levels across different workspaces
  • Role-Based Control: Assign admin, manager, or member roles at organization and workspace levels

Analytics & Reporting

  • Usage Analytics: Track detailed user activity and request patterns
  • Cost Analysis: Monitor and analyze costs across different time periods
  • Request Metrics: View request counts, token usage, and response times
  • Filtered Reports: Generate reports based on custom criteria like status codes, virtual keys, and time ranges

Workspace Management

  • Workspace Overview: List and view detailed information about all workspaces
  • Configuration Management: Access and review workspace configurations
  • Virtual Key Management: Monitor and manage API keys with usage limits and rate limits
  • Workspace Settings: View and track workspace metadata and user associations

Configuration & API Settings

  • Config Listings: View all available configurations in your organization
  • Detailed Config Info: Access cache settings, retry policies, and routing strategies
  • Virtual Key Details: Monitor key status, usage limits, and rate limits
  • API Integration: Track API endpoints and their configurations

License

This project is licensed under the ISC License - see the LICENSE file for details

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Khalid kalib
  • Write professional emails

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • apappascs
  • Découvrez la collection la plus complète et la plus à jour de serveurs MCP sur le marché. Ce référentiel sert de centre centralisé, offrant un vaste catalogue de serveurs MCP open-source et propriétaires, avec des fonctionnalités, des liens de documentation et des contributeurs.

  • ShrimpingIt
  • Manipulation basée sur Micropython I2C de l'exposition GPIO de la série MCP, dérivée d'Adafruit_MCP230XX

  • OffchainLabs
  • Aller la mise en œuvre de la preuve de la participation Ethereum

  • huahuayu
  • Une passerelle API unifiée pour intégrer plusieurs API d'explorateur de blockchain de type étherscan avec la prise en charge du protocole de contexte modèle (MCP) pour les assistants d'IA.

  • deemkeen
  • Contrôlez votre MBOT2 avec un combo d'alimentation: MQTT + MCP + LLM

    Reviews

    3 (1)
    Avatar
    user_MEk4j5p2
    2025-04-18

    Portkey-admin-mcp-server is an incredible tool for managing MCP applications. Created by r-huijts, it offers a seamless and efficient experience for administrators. The product is hosted on GitHub, making it easily accessible and well-documented. Highly recommend for anyone looking for a reliable MCP server solution.