Unkey MCP by usefulapi

io.usefulapi由 usefulapi.io 发布官方发布者v1.39.2更新于 Nov 14, 2026

Manage API keys, identities, permissions, rate-limit overrides and verification analytics.

发布方自己的服务:Ably MCP by usefulapi

已验证Streamable HTTP可网页运行安全与监控数据与分析

概览

AI 生成的概览

托管的 Unkey 服务器,让助手查看和管理 API 密钥、身份、权限、限流覆盖以及验证分析数据。

可以做什么
  • 检查 API 健康状态,按密钥 id 或明文密钥查询密钥
  • 读取 API 命名空间、列出某个 API 下的密钥,并列出身份及其元数据
  • 列出工作区的权限、角色以及各命名空间的限流覆盖
  • 使用公开表别名对密钥验证分析数据执行只读 SQL 查询
  • 创建 API、密钥和身份,更新密钥设置与额度,吊销密钥,设置限流覆盖
  • 查看用量、提交功能请求,并管理 Pro 或 Pro+ 订阅
适用场景
适合用自然语言询问 Unkey 工作区情况,例如某客户持有哪些密钥、近期验证通过多少、哪些限流被覆盖。也适合在不打开 Unkey 控制台的情况下签发、更新或吊销密钥,并调整单个客户的限流。
运行要求
远程 streamable HTTP 端点,无需本地安装。只需填写 URL,首次连接时通过 OAuth 使用 Unkey 凭据登录,凭据按用户存储。免费方案每月 50 次工具调用,付费方案可提高上限。
安装前请注意
写入类工具会创建、修改和吊销密钥、身份及限流覆盖,选择永久删除时密钥将被彻底清除,执行前应确认。新建密钥的明文只返回一次。登录时需提供 Unkey 凭据,调用经由该服务转发至 Unkey。用量按次计费,升级会返回 Stripe 结账链接并产生费用;取消当期不退款。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Unkey MCP by usefulapi,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.usefulapi%2Funkey/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

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

README

Unkey MCP by usefulapi

Manage API keys, identities, permissions, rate-limit overrides and verification analytics. Hosted, no local install.

Live endpoint: https://unkey.usefulapi.io/mcp · Homepage: https://usefulapi.io

Connect

  • Claude (claude.ai, Desktop): open Customize → Connectors, click + Add → Add custom connector, and paste https://unkey.usefulapi.io/mcp.
  • Claude Code: claude mcp add --transport http unkey https://unkey.usefulapi.io/mcp, then run /mcp to log in.
  • VS Code: Add to VS Code.
  • Cursor and other clients: add the URL as a remote MCP server:
json
{  "mcpServers": {    "unkey": {      "url": "https://unkey.usefulapi.io/mcp"    }  }}

Add only the URL. Do not add an Authorization header or an API key to the client config: the server signs you in with OAuth, and the login page asks for your Unkey credentials.

Step-by-step setup, where to find your credentials, and FAQ: https://usefulapi.io/unkey/

On first connect you'll paste your Unkey credentials. They are validated, stored per-user, and scoped to you — no keys in config files.

Tools

ToolTypeWhat it does
unkey_livenessreadCheck API health
unkey_get_keyreadGet one key by id
unkey_whoami_keyreadLook up a key by its secret
unkey_get_apireadGet one API
unkey_list_api_keysreadList the keys of an API
unkey_list_identitiesreadList identities
unkey_get_identityreadGet one identity
unkey_list_permissionsreadList permissions
unkey_list_rolesreadList roles
unkey_list_ratelimit_overridesreadList rate-limit overrides
unkey_get_ratelimit_overridereadGet one rate-limit override
unkey_query_verification_analyticsreadQuery key-verification analytics
unkey_create_apiwriteCreate an API
unkey_create_keywriteCreate an API key
unkey_update_keywriteUpdate a key
unkey_update_key_creditswriteUpdate a key's credits
unkey_delete_keywriteDelete a key
unkey_create_identitywriteCreate an identity
unkey_set_ratelimit_overridewriteSet a rate-limit override
unkey_usage_statusmetaUsage status (free-tier meter)
unkey_request_featuremetaRequest a missing feature
unkey_upgrademetaUpgrade to Pro or Pro+
unkey_cancel_subscriptionmetaCancel the Pro subscription

read tools are read-only; write tools mutate data (clients should confirm them); meta tools report usage, manage your subscription or send a feature request.

Pricing

PlanPriceLimit
Free$050 tool calls / month
Pro$9/mo or $90/yr (2 months free)10,000 tool calls / month
Pro+$39/mo or $390/yr (2 months free)100,000 tool calls / month

Each paid plan covers this server only. Ask your AI to run unkey_upgrade and choose Pro or Pro+, billed monthly or yearly (it returns a Stripe Checkout link). If you already have Pro, ask to change it to Pro+. The change requires your confirmation, keeps your billing interval and charges the price difference for the rest of the period immediately. Cancel any time with unkey_cancel_subscription: your paid plan continues to the end of the paid period, with no refund for the current period, and asking to resume the same plan with unkey_upgrade before then undoes the cancel. Or write to [email protected].

License

MIT

来源:servers/unkey/README.md,提交 f22f848

工具

19

unkey_liveness

Check API health

Check that the Unkey API is reachable and the root key works. The only GET in the v2 surface. Unkey: GET /v2/liveness.

无需输入参数。

unkey_get_key

Get one key by id

Fetch a key's metadata by its key id — name, owner, permissions, credits, rate limits and whether it is enabled. Read-only despite being a POST. Unkey: POST /v2/keys.getKey.

输入参数keyId必填decrypt

unkey_whoami_key

Look up a key by its secret

Given a plaintext API key, return which key it is and its metadata — without spending credits or recording a verification. This is the safe way to identify a key a customer sent you. Unkey: POST /v2/keys.whoami.

输入参数key必填

unkey_get_api

Get one API

Fetch an API namespace by id. Read-only despite being a POST. Unkey: POST /v2/apis.getApi.

输入参数apiId必填

unkey_list_api_keys

List the keys of an API

List every key issued under one API, optionally narrowed to a single customer by externalId. Read-only despite being a POST. Unkey: POST /v2/apis.listKeys.

输入参数apiId必填limitcursorexternalId

unkey_list_identities

List identities

List identities — the end users or organisations your keys belong to. Read-only despite being a POST. Unkey: POST /v2/identities.listIdentities.

输入参数limitcursorsearch

unkey_get_identity

Get one identity

Fetch a single identity with its metadata and shared rate limits. Read-only despite being a POST. Unkey: POST /v2/identities.getIdentity.

输入参数identity必填

unkey_list_permissions

List permissions

List the permissions defined in the workspace. Read-only despite being a POST. Unkey: POST /v2/permissions.listPermissions.

输入参数limitcursorsearch

unkey_list_roles

List roles

List the roles defined in the workspace. Read-only despite being a POST. Unkey: POST /v2/permissions.listRoles.

输入参数limitcursorsearch

unkey_list_ratelimit_overrides

List rate-limit overrides

List the per-identifier overrides in one rate-limit namespace. Read-only despite being a POST. Unkey: POST /v2/ratelimit.listOverrides.

输入参数limitcursornamespace必填

unkey_get_ratelimit_override

Get one rate-limit override

Fetch the override for one identifier in a namespace. Read-only despite being a POST. Unkey: POST /v2/ratelimit.getOverride.

输入参数namespace必填identifier必填

unkey_query_verification_analytics

Query key-verification analytics

Run a read-only SQL query over key-verification analytics. The query must use one of the public aliases: key_verifications_v1, key_verifications_per_minute_v1, key_verifications_per_hour_v1, key_verifications_per_day_v1 or key_verifications_per_month_v1. Physical default.* table names are rejected, and results are scoped to your workspace. Unkey: POST /v2/analytics.getVerifications.

输入参数query必填

unkey_create_api

Create an API

Create a new API namespace to issue keys under. Unkey: POST /v2/apis.createApi.

输入参数name必填

unkey_create_key

Create an API key

Issue a new API key under an API. The plaintext key is returned ONCE in the response and cannot be retrieved later unless recoverable is set. Unkey: POST /v2/keys.createKey.

输入参数metanameapiId必填rolesprefixenabledexpiresbyteLengthexternalIdpermissionsrecoverable

unkey_update_key

Update a key

Change a key's name, owner, metadata, expiry, roles, permissions or enabled state. Unkey: POST /v2/keys.updateKey.

输入参数metanamekeyId必填rolesenabledexpiresexternalIdpermissions

unkey_update_key_credits

Update a key's credits

Set, increment or decrement a key's remaining credits. Use set with no value for unlimited. Unkey: POST /v2/keys.updateCredits.

输入参数keyId必填valueoperation必填

unkey_delete_key

Delete a key

Revoke a key. By default this is a soft delete the key stops working but stays queryable; pass permanent to erase it. Unkey: POST /v2/keys.deleteKey.

输入参数keyId必填permanent

unkey_create_identity

Create an identity

Create an identity — an end user or organisation that keys and shared rate limits attach to. Unkey: POST /v2/identities.createIdentity.

输入参数metaexternalId必填

unkey_set_ratelimit_override

Set a rate-limit override

Set a custom rate limit for one identifier in a namespace — how you raise or lower a single customer's limit. Unkey: POST /v2/ratelimit.setOverride.

输入参数limit必填duration必填namespace必填identifier必填

版本历史

26
  1. v1.39.2最新Nov 14, 2026
  2. v1.39.1Nov 13, 2026
  3. v1.38.0Nov 12, 2026
  4. v1.37.3Nov 11, 2026
  5. v1.36.5Nov 8, 2026
  6. v1.36.4Nov 7, 2026
  7. v1.35.3Nov 5, 2026
  8. v1.35.2Nov 5, 2026
  9. v1.35.1Nov 4, 2026
  10. v1.35.0Nov 3, 2026
  11. v1.34.1Nov 3, 2026
  12. v1.33.0Nov 1, 2026
  13. v1.31.0Oct 31, 2026
  14. v1.30.0Oct 31, 2026
  15. v1.29.2Oct 30, 2026
  16. v1.29.0Oct 30, 2026
  17. v1.24.0Oct 26, 2026
  18. v1.21.3Oct 25, 2026
  19. v1.21.0Oct 25, 2026
  20. v1.20.0Oct 24, 2026
  21. v1.17.0Oct 23, 2026
  22. v1.16.4Oct 22, 2026
  23. v1.16.3Oct 21, 2026
  24. v1.11.1Oct 9, 2026
  25. v1.10.0Oct 9, 2026
  26. v1.0.0Sep 29, 2026

评分

已满足适用检查项的 100%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Usefulapi 集成