← usefulapi.io
INDIVIDUAL MCP TOOL
portkey_get_api_key
Get a single API key's metadata by id (the secret is never returned).
LIVE ENDPOINT
https://portkey.usefulapi.io/mcp
Connect to this endpoint to inspect the live schema for portkey_get_api_key and invoke it with your own arguments.
Indexed input schema
{}Risk classification
Inferred read-only · medium confidence · heuristic, not a guarantee.
- A tool name, description or schema mentions credentials.
Parent server
CONNECT WITH APPROVAL
Client installation
Review this server and its permissions before adding it. Secret placeholders must be set locally.
Codex
~/.codex/config.toml
[mcp_servers.portkey-mcp]
url = "https://portkey.usefulapi.io/mcp"
enabled = true
Claude Code
.mcp.json
{
"mcpServers": {
"portkey-mcp": {
"type": "http",
"url": "https://portkey.usefulapi.io/mcp"
}
}
}
Claude Desktop
Settings → Connectors → Add custom connector
Name: portkey-mcp
Remote MCP URL: https://portkey.usefulapi.io/mcp
Add this remote URL as a custom connector in Claude Desktop. Availability depends on the user plan and workspace policy.
Cursor
.cursor/mcp.json
{
"mcpServers": {
"portkey-mcp": {
"url": "https://portkey.usefulapi.io/mcp"
}
}
}
Visual Studio Code
.vscode/mcp.json
Add to Visual Studio Code{
"servers": {
"portkey-mcp": {
"type": "http",
"url": "https://portkey.usefulapi.io/mcp"
}
}
}
Generic MCP
Client-specific MCP configuration
{
"name": "portkey-mcp",
"transport": "streamable-http",
"url": "https://portkey.usefulapi.io/mcp"
}
MCP Inspector
Run the official MCP Inspector locally and enter the indexed Streamable HTTP endpoint.
Related tools
portkey_get_analytics_graph— Get a time-series analytics graph for a single metric (cost, requests, tokens, latency, error-rate, cache-hit-rate, …) over a time window.portkey_get_analytics_group— Get grouped analytics (aggregated by models, users, or metadata) over a time window.portkey_list_configs— List gateway configs (routing/fallback/retry/cache rulesets applied to requests).portkey_get_config— Get a single gateway config by slug (or id), including its routing rules.portkey_list_api_keys— List API keys in the organization/workspace (metadata only — secrets are never returned).portkey_list_virtual_keys— List virtual keys (the aliases that map to provider credentials + budget/rate limits used in requests).portkey_get_virtual_key— Get a single virtual key by slug, including its provider + limits.portkey_list_workspaces— List workspaces in the organization.