← usefulapi.io

INDIVIDUAL MCP TOOL

unkey_update_key_credits

Set, increment or decrement a key's remaining credits.

usefulapi.ionone authenticationAvailability not checked

LIVE ENDPOINT

https://unkey.usefulapi.io/mcp

No auth detected

Connect to this endpoint to inspect the live schema for unkey_update_key_credits and invoke it with your own arguments.

Indexed input schema

{}

Risk classification

Inferred read-only · medium confidence · heuristic, not a guarantee.

  • No write-capable action terms were found; this is not proof that invocation has no side effects.

Parent server

usefulapi.io

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.unkey-mcp]
url = "https://unkey.usefulapi.io/mcp"
enabled = true
Claude Code

.mcp.json

{
  "mcpServers": {
    "unkey-mcp": {
      "type": "http",
      "url": "https://unkey.usefulapi.io/mcp"
    }
  }
}
Claude Desktop

Settings → Connectors → Add custom connector

Name: unkey-mcp
Remote MCP URL: https://unkey.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": {
    "unkey-mcp": {
      "url": "https://unkey.usefulapi.io/mcp"
    }
  }
}
Visual Studio Code

.vscode/mcp.json

Add to Visual Studio Code
{
  "servers": {
    "unkey-mcp": {
      "type": "http",
      "url": "https://unkey.usefulapi.io/mcp"
    }
  }
}
Generic MCP

Client-specific MCP configuration

{
  "name": "unkey-mcp",
  "transport": "streamable-http",
  "url": "https://unkey.usefulapi.io/mcp"
}
MCP Inspector

Run the official MCP Inspector locally and enter the indexed Streamable HTTP endpoint.

Related tools

  • unkey_liveness — Check that the Unkey API is reachable and the root key works.
  • unkey_get_key — Fetch a key's metadata by its key id — name, owner, permissions, credits, rate limits and whether it is enabled.
  • unkey_whoami_key — Given a plaintext API key, return which key it is and its metadata — without spending credits or recording a verification.
  • unkey_get_api — Fetch an API namespace by id.
  • unkey_list_api_keys — List every key issued under one API, optionally narrowed to a single customer by externalId.
  • unkey_list_identities — List identities — the end users or organisations your keys belong to.
  • unkey_get_identity — Fetch a single identity with its metadata and shared rate limits.
  • unkey_list_permissions — List the permissions defined in the workspace.