Portkey MCP Server
포트키 MCP 서버
AI 비서를 Portkey 플랫폼 전문가로 탈바꿈하세요! 이 MCP 서버는 Claude를 Portkey API에 연결하여 AI 구성, 작업 공간, 분석 및 사용자 액세스를 포괄적으로 관리할 수 있도록 지원합니다.
설치
출처에서
이 저장소를 복제하세요
종속성 설치:
지엑스피1
예제 환경 파일을 복사하세요.
cp .env.example .env.env파일에 Portkey API 키를 추가합니다.
PORTKEY_API_KEY=your_portkey_api_key_here그런 다음 Claude 구성 파일을 업데이트하세요.
{
"mcpServers": {
"portkey-server": {
"command": "node",
"args": [
"/path/to/portkey-server/build/index.js"
],
"env": {
"PORTKEY_API_KEY": "your_portkey_api_key_here"
}
}
}
}다음 사항을 확인하세요.
/path/to/portkey-server설치의 실제 경로로 바꾸십시오.env섹션에 Portkey API 키를 추가하세요.
구성을 업데이트한 후 Claude Desktop을 다시 시작하여 변경 사항을 적용하세요.
Smithery를 통해 설치
Smithery를 통해 Claude Desktop에 Portkey MCP 서버를 자동으로 설치하려면:
npx -y @smithery/cli install @r-huijts/portkey-admin-mcp-server --client claudeRelated MCP server: jotae-mcp
실제 사용 사례
"다양한 모델에 따른 현재 API 사용 통계는 어떻게 되나요?"
"내 AI 배포에 대한 성능 지표를 보여주세요"
"팀 프로젝트를 위한 새 작업 공간 만들기"
"현재 API 키 사용량과 남은 크레딧은 얼마인가요?"
"지난 달 API 호출에 대한 분석 보고서 생성"
"개발 환경에 대한 속도 제한 설정"
"프로덕션 엔드포인트에 대한 대체 동작 구성"
"Portkey 작업 공간에 팀원 추가"
"API 호출에 대한 대기 시간 통계를 보여주세요"
"API 요청에 대한 사용자 정의 헤더 설정"
🔑 환경 변수
변하기 쉬운 | 설명 |
포트키_API_키 | Portkey API 키(필수) |
🌟 특징
이 MCP 서버는 다음 기능을 통해 Portkey 플랫폼에 대한 포괄적인 액세스를 제공합니다.
사용자 및 액세스 관리
사용자 관리 : Portkey 조직의 모든 사용자를 나열하고 관리합니다.
사용자 초대 : 사용자 정의 가능한 역할 및 권한으로 새 사용자를 초대합니다.
작업 공간 액세스 : 다양한 작업 공간에서 사용자 액세스 수준 구성
역할 기반 제어 : 조직 및 작업 공간 수준에서 관리자, 관리자 또는 구성원 역할 할당
분석 및 보고
사용 분석 : 자세한 사용자 활동 및 요청 패턴을 추적합니다.
비용 분석 : 다양한 기간 동안 비용을 모니터링하고 분석합니다.
요청 메트릭 : 요청 수, 토큰 사용량 및 응답 시간 보기
필터링된 보고서 : 상태 코드, 가상 키, 시간 범위와 같은 사용자 정의 기준에 따라 보고서를 생성합니다.
작업 공간 관리
작업 공간 개요 : 모든 작업 공간에 대한 자세한 정보를 나열하고 확인합니다.
구성 관리 : 작업 공간 구성에 액세스하고 검토합니다.
가상 키 관리 : 사용 제한 및 속도 제한을 통해 API 키를 모니터링하고 관리합니다.
작업 공간 설정 : 작업 공간 메타데이터 및 사용자 연결을 보고 추적합니다.
구성 및 API 설정
구성 목록 : 조직에서 사용 가능한 모든 구성을 확인하세요.
자세한 구성 정보 : 액세스 캐시 설정, 재시도 정책 및 라우팅 전략
가상 키 세부 정보 : 키 상태, 사용 제한 및 속도 제한을 모니터링합니다.
API 통합 : API 엔드포인트 및 해당 구성 추적
특허
이 프로젝트는 ISC 라이선스에 따라 라이선스가 부여되었습니다. 자세한 내용은 라이선스 파일을 참조하세요.
Available Tools
9 toolsget_configC
Retrieve detailed information about a specific configuration, including cache settings, retry policies, and routing strategy
Inputs: slug (required).
get_cost_analyticsC
Retrieve detailed cost analytics data over time, including total costs and averages per request
Inputs: time_of_generation_min (required), time_of_generation_max (required), total_units_min, total_units_max, +17 more.
get_user_statsC
Retrieve detailed analytics data about user activity within a specified time range, including request counts and costs
Inputs: time_of_generation_min (required), time_of_generation_max (required), total_units_min, total_units_max, +5 more.
get_workspaceA
Retrieve detailed information about a specific workspace, including its configuration, metadata, and user access details
Inputs: workspace_id (required).
invite_userB
Invite a new user to your Portkey organization with specific workspace access and API key permissions
Inputs: email (required), role (required), workspaces (required), first_name, +2 more.
list_all_usersB
List all users in your Portkey organization, including their roles and account details
Inputs: no named parameters.
list_configsB
Retrieve all configurations in your Portkey organization, including their status and workspace associations
Inputs: no named parameters.
list_virtual_keysB
Retrieve all virtual keys in your Portkey organization, including their usage limits, rate limits, and status
Inputs: no named parameters.
list_workspacesA
Retrieve all workspaces in your Portkey organization, including their configurations and metadata
Inputs: page_size, current_page.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
Every tool has a clearly distinct purpose targeting different resources and actions, with no overlap in functionality. For example, get_config retrieves a specific configuration, list_configs lists all configurations, and invite_user handles user invitations, making misselection unlikely.
All tool names follow a consistent verb_noun pattern using snake_case, such as get_config, list_configs, and invite_user. This predictability makes it easy for agents to understand and use the tools without confusion.
With 9 tools, the server is well-scoped for managing a Portkey organization, covering configurations, users, workspaces, analytics, and keys. Each tool earns its place by addressing specific needs without being excessive or insufficient.
The toolset provides strong coverage for retrieval, listing, and user management, but lacks update or delete operations for resources like configurations or workspaces. Agents can work around this by using existing tools, but it's a minor gap in lifecycle coverage.
Related MCP Connectors
Connect Claude to your store, your WhatsApp and your ads.
Connect Claude to your Platform7n workspaces: chat, links, work and decks. One-click OAuth.
- platform7nDeprecatedtech.p7n
Connect Claude to your Platform7n workspaces: chat, links, work and decks. One-click OAuth.
Connect Claude, Cursor, or any MCP client to your FlowContent account
Related MCP Servers
- AlicenseBqualityDmaintenanceConnects Claude to WordPress sites through the REST API, enabling AI-assisted content creation, publishing, media management, user administration, and site maintenance tasks through natural language.4723MIT
- AlicenseBqualityDmaintenanceConnects Claude to Jotae for creating events, configuring WhatsApp and email automations, and reading metrics through natural language.21MIT
- AlicenseAqualityDmaintenanceConnects Claude to Open WebUI, enabling chat management, RAG knowledge bases, files, functions, and prompts directly from Claude.2692 npm2MIT
- AlicenseNot gradedqualityCmaintenanceConnects Claude to the WhatConverts API, enabling management of leads, accounts, profiles, tracking numbers, and recordings through natural language.1MIT