Unkey MCP
Unkey MCP lets agents manage API keys, identities, permissions and roles, rate limits, deployments, domains, portals and workspace settings, and query analytics and logs through Unkey's hosted MCP server.
102 actionsAPI key
What your agent can do in Unkey MCP
Looks up
- Unkey v2 analytics get gateway requestsA query can use only the public alias gateway_requests_v1.
- Unkey v2 analytics get ratelimitsQueries may reference only the five public rate limit analytics aliases.
- Unkey v2 analytics get runtime logsA query can use only the public alias runtime_logs_v1.
- Unkey v2 analytics get verificationsExecute custom SQL queries against your key verification analytics.
- Unkey v2 apis get apiRetrieve basic information about an API namespace including its ID and name.
- Unkey v2 apis list keysRetrieve a paginated list of API keys for dashboard and administrative interfaces.
- Unkey v2 apps get appRetrieve a single app by its id or slug within a project.
- Unkey v2 apps list appsRetrieve a paginated list of apps within a project.
- Unkey v2 deployments get deploymentRetrieve a single deployment by its id.
- Unkey v2 deployments list build logsRetrieve the build output of a deployment as a list of log entries, in the order the build printed them.
Show 29 more
- Unkey v2 deployments list deploymentsRetrieve a paginated list of deployments within a workspace, newest first.
- Unkey v2 domains get domainRetrieve a custom domain and its verification status.
- Unkey v2 domains list domainsList your custom domains with their verification status and DNS records.
- Unkey v2 environments get environmentRetrieve a single environment by its id.
- Unkey v2 environments list environment variablesRetrieve the environment variables for an environment.
- Unkey v2 environments list environmentsRetrieve the environments within an app.
- Unkey v2 gateway list policiesRetrieve an environment's gateway policies in evaluation order.
- Unkey v2 identities get identityRetrieve an identity by external ID.
- Unkey v2 identities list identitiesGet a paginated list of all identities in your workspace.
- Unkey v2 keys get keyRetrieve detailed key information for dashboard interfaces and administrative purposes.
- Unkey v2 keys whoamiFind out what key this is.
- Unkey v2 logs get api request metricsCount the requests that the Unkey API served for your workspace per time bucket, split by status class.
- Unkey v2 logs list api requestsList the requests that the Unkey API served for your workspace, newest first.
- Unkey v2 permissions get permissionRetrieve details about a specific permission including its name, description, and metadata.
- Unkey v2 permissions get roleRetrieve details about a specific role including its assigned permissions.
- Unkey v2 permissions list permissionsRetrieve all permissions in your workspace.
- Unkey v2 permissions list rolesRetrieve all roles in your workspace including their assigned permissions.
- Unkey v2 portal get domainRead one custom domain attached to a portal, with its verification status and DNS records.
- Unkey v2 portal get portalRead one portal, by its id or slug, or by the resource it serves.
- Unkey v2 portal list domainsList the custom domains attached to a portal, with their verification status and DNS records.
- Unkey v2 portal list sessionsList the end users holding a revocable session on a portal, with each end user's sessions.
- Unkey v2 projects get projectRetrieve a single project in your workspace by its id.
- Unkey v2 projects list projectsRetrieve a paginated list of projects in your workspace.
- Unkey v2 ratelimit get overrideRetrieve the configuration of a specific rate limit override by its identifier.
- Unkey v2 ratelimit list namespacesRetrieve a paginated list of the rate limit namespaces in your workspace.
- Unkey v2 ratelimit list overridesRetrieve a paginated list of all rate limit overrides in a namespace.
- Unkey v2 workspace get flagsGet feature flags for the workspace associated with your credentials.
- Unkey v2 workspace get limitsGet every limit of your workspace, with the current value against each limit that has one.
- Unkey v2 workspace get usageGet the usage of your workspace for one calendar month (UTC).
Takes action
- Unkey v2 apis create apiCreate an API namespace for organizing keys by environment, service, or product.
- Unkey v2 apis delete apiPermanently delete an API namespace and immediately invalidate all associated keys.
- Unkey v2 apps create appCreate an app within a project.
- Unkey v2 apps delete appDelete an existing app, identified by its id.
- Unkey v2 apps update appUpdate an existing app, identified by its id.
- Unkey v2 deployments authorize deploymentAuthorize a deployment that is awaiting approval.
- Unkey v2 deployments cancel deploymentCancel a deployment that has not finished yet.
- Unkey v2 deployments create deployment v3Create a deployment for an app in a project.
- Unkey v2 deployments promote deploymentPromote a deployment to become the current deployment for its environment.
- Unkey v2 deployments rollback deploymentRoll live traffic back to a previous deployment.
Show 53 more
- Unkey v2 deployments start deploymentStart a deployment that was previously stopped with stopDeployment, so it serves traffic again.
- Unkey v2 deployments stop deploymentStop a running deployment that is not the app's live production deployment.
- Unkey v2 domains create domainAttach a custom domain to an environment and start verifying it.
- Unkey v2 domains delete domainDelete a custom domain from your workspace.
- Unkey v2 domains verify domainRestart verification for a custom domain.
- Unkey v2 environments remove environment variablesRemove environment variables from an environment in a single atomic request.
- Unkey v2 environments set environment variablesCreate or update environment variables for an environment in a single atomic request.
- Unkey v2 environments update settingsUpdate the build, runtime, and regional settings for an environment.
- Unkey v2 gateway set policiesReplace an environment's gateway policies in a single atomic request.
- Unkey v2 gateway update policyUpdate a single policy in place without resending the environment's full policy list.
- Unkey v2 github install appStart installing the Unkey GitHub App for your workspace.
- Unkey v2 identities create identityCreate an identity to group multiple API keys under a single entity.
- Unkey v2 identities delete identityPermanently delete an identity.
- Unkey v2 identities update identityUpdate an identity's metadata and rate limits.
- Unkey v2 keys add permissionsAdd permissions to a key without affecting existing permissions.
- Unkey v2 keys add rolesAdd roles to a key without affecting existing roles or permissions.
- Unkey v2 keys create keyCreate a new API key for user authentication and authorization.
- Unkey v2 keys delete keyDelete API keys from user accounts or for cleanup purposes.
- Unkey v2 keys migrate keysReturns HTTP 200 even on partial success.
- Unkey v2 keys remove permissionsRemove permissions from a key without affecting existing roles or other permissions.
- Unkey v2 keys remove rolesRemove roles from a key without affecting direct permissions or other roles.
- Unkey v2 keys reroll keyGenerate a new API key while preserving the configuration from an existing key.
- Unkey v2 keys set permissionsReplace all permissions on a key with the specified set in a single atomic operation.
- Unkey v2 keys set rolesReplace all roles on a key with the specified set in a single atomic operation.
- Unkey v2 keys update creditsUpdate credit quotas in response to plan changes, billing cycles, or usage purchases.
- Unkey v2 keys update keyUpdate key properties in response to plan changes, subscription updates, or account status changes.
- Unkey v2 keys verify keyVerify an API key's validity and permissions for request authentication.
- Unkey v2 permissions create permissionCreate a new permission to define specific actions or capabilities in your RBAC system.
- Unkey v2 permissions create roleCreate a new role to group related permissions for easier management.
- Unkey v2 permissions delete permissionRemove a permission from your workspace.
- Unkey v2 permissions delete roleRemove a role from your workspace.
- Unkey v2 permissions set role permissionsAtomically replaces all permissions directly assigned to a role.
- Unkey v2 permissions update permissionUpdate the name, slug, or description of a permission, identified by its ID or slug.
- Unkey v2 permissions update roleUpdate the name or description of a role, identified by its ID or name.
- Unkey v2 portal create domainAttach a custom domain to a portal and start verifying it.
- Unkey v2 portal create portalCreate a portal for one app or keyspace in your workspace.
- Unkey v2 portal create sessionCreate a portal session for an end user and get the URL to redirect them to.
- Unkey v2 portal delete domainDetach a custom domain from a portal.
- Unkey v2 portal delete portalDelete a portal and revoke the sessions it minted.
- Unkey v2 portal revoke sessionRevoke every live session an end user holds on a portal.
- Unkey v2 portal update portalChange a portal's slug, display name, the resource it serves, its enabled state, or its branding.
- Unkey v2 portal verify domainRestart verification for a portal domain.
- Unkey v2 projects create projectCreate a project to group deployments and applications under a workspace-scoped slug.
- Unkey v2 projects delete projectDelete an existing project in your workspace, identified by its id.
- Unkey v2 projects update projectUpdate an existing project in your workspace, identified by its id.
- Unkey v2 ratelimit create namespaceCreate a rate limit namespace before you rate limit against it.
- Unkey v2 ratelimit delete namespaceDelete a rate limit namespace and all of its overrides, identified by the namespace ID or name.
- Unkey v2 ratelimit delete overridePermanently remove a rate limit override.
- Unkey v2 ratelimit limitCheck and enforce rate limits for any identifier (user ID, IP address, API client, etc.).
- Unkey v2 ratelimit multi limitCheck and enforce multiple rate limits in a single request for any identifiers (user IDs, IP addresses, API clients, etc.).
- Unkey v2 ratelimit set overrideCreate or update a custom rate limit for specific identifiers, bypassing the namespace default.
- Unkey v2 ratelimit update namespaceRename a rate limit namespace, identified by its ID or current name.
- Unkey v2 workspace update flagEnable or disable a flag for your workspace.