# 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.

Category: Developer. Connect from any SulusAssist agent at https://assist.sulus.ai/integrations/unkey-mcp/.

## Actions

- **Unkey v2 analytics get gateway requests** (read-only): A query can use only the public alias gateway_requests_v1.
- **Unkey v2 analytics get ratelimits** (read-only): Queries may reference only the five public rate limit analytics aliases.
- **Unkey v2 analytics get runtime logs** (read-only): A query can use only the public alias runtime_logs_v1.
- **Unkey v2 analytics get verifications** (read-only): Execute custom SQL queries against your key verification analytics.
- **Unkey v2 apis create api**: Create an API namespace for organizing keys by environment, service, or product.
- **Unkey v2 apis delete api**: Permanently delete an API namespace and immediately invalidate all associated keys.
- **Unkey v2 apis get api** (read-only): Retrieve basic information about an API namespace including its ID and name.
- **Unkey v2 apis list keys** (read-only): Retrieve a paginated list of API keys for dashboard and administrative interfaces.
- **Unkey v2 apps create app**: Create an app within a project.
- **Unkey v2 apps delete app**: Delete an existing app, identified by its id.
- **Unkey v2 apps get app** (read-only): Retrieve a single app by its id or slug within a project.
- **Unkey v2 apps list apps** (read-only): Retrieve a paginated list of apps within a project.
- **Unkey v2 apps update app**: Update an existing app, identified by its id.
- **Unkey v2 deployments authorize deployment**: Authorize a deployment that is awaiting approval.
- **Unkey v2 deployments cancel deployment**: Cancel a deployment that has not finished yet.
- **Unkey v2 deployments create deployment v3**: Create a deployment for an app in a project.
- **Unkey v2 deployments get deployment** (read-only): Retrieve a single deployment by its id.
- **Unkey v2 deployments list build logs** (read-only): Retrieve the build output of a deployment as a list of log entries, in the order the build printed them.
- **Unkey v2 deployments list deployments** (read-only): Retrieve a paginated list of deployments within a workspace, newest first.
- **Unkey v2 deployments promote deployment**: Promote a deployment to become the current deployment for its environment.
- **Unkey v2 deployments rollback deployment**: Roll live traffic back to a previous deployment.
- **Unkey v2 deployments start deployment**: Start a deployment that was previously stopped with stopDeployment, so it serves traffic again.
- **Unkey v2 deployments stop deployment**: Stop a running deployment that is not the app's live production deployment.
- **Unkey v2 domains create domain**: Attach a custom domain to an environment and start verifying it.
- **Unkey v2 domains delete domain**: Delete a custom domain from your workspace.
- **Unkey v2 domains get domain** (read-only): Retrieve a custom domain and its verification status.
- **Unkey v2 domains list domains** (read-only): List your custom domains with their verification status and DNS records.
- **Unkey v2 domains verify domain**: Restart verification for a custom domain.
- **Unkey v2 environments get environment** (read-only): Retrieve a single environment by its id.
- **Unkey v2 environments list environment variables** (read-only): Retrieve the environment variables for an environment.
- **Unkey v2 environments list environments** (read-only): Retrieve the environments within an app.
- **Unkey v2 environments remove environment variables**: Remove environment variables from an environment in a single atomic request.
- **Unkey v2 environments set environment variables**: Create or update environment variables for an environment in a single atomic request.
- **Unkey v2 environments update settings**: Update the build, runtime, and regional settings for an environment.
- **Unkey v2 gateway list policies** (read-only): Retrieve an environment's gateway policies in evaluation order.
- **Unkey v2 gateway set policies**: Replace an environment's gateway policies in a single atomic request.
- **Unkey v2 gateway update policy**: Update a single policy in place without resending the environment's full policy list.
- **Unkey v2 github install app**: Start installing the Unkey GitHub App for your workspace.
- **Unkey v2 identities create identity**: Create an identity to group multiple API keys under a single entity.
- **Unkey v2 identities delete identity**: Permanently delete an identity.
- **Unkey v2 identities get identity** (read-only): Retrieve an identity by external ID.
- **Unkey v2 identities list identities** (read-only): Get a paginated list of all identities in your workspace.
- **Unkey v2 identities update identity**: Update an identity's metadata and rate limits.
- **Unkey v2 keys add permissions**: Add permissions to a key without affecting existing permissions.
- **Unkey v2 keys add roles**: Add roles to a key without affecting existing roles or permissions.
- **Unkey v2 keys create key**: Create a new API key for user authentication and authorization.
- **Unkey v2 keys delete key**: Delete API keys from user accounts or for cleanup purposes.
- **Unkey v2 keys get key** (read-only): Retrieve detailed key information for dashboard interfaces and administrative purposes.
- **Unkey v2 keys migrate keys**: Returns HTTP 200 even on partial success.
- **Unkey v2 keys remove permissions**: Remove permissions from a key without affecting existing roles or other permissions.
- **Unkey v2 keys remove roles**: Remove roles from a key without affecting direct permissions or other roles.
- **Unkey v2 keys reroll key**: Generate a new API key while preserving the configuration from an existing key.
- **Unkey v2 keys set permissions**: Replace all permissions on a key with the specified set in a single atomic operation.
- **Unkey v2 keys set roles**: Replace all roles on a key with the specified set in a single atomic operation.
- **Unkey v2 keys update credits**: Update credit quotas in response to plan changes, billing cycles, or usage purchases.
- **Unkey v2 keys update key**: Update key properties in response to plan changes, subscription updates, or account status changes.
- **Unkey v2 keys verify key**: Verify an API key's validity and permissions for request authentication.
- **Unkey v2 keys whoami** (read-only): Find out what key this is.
- **Unkey v2 logs get api request metrics** (read-only): Count the requests that the Unkey API served for your workspace per time bucket, split by status class.
- **Unkey v2 logs list api requests** (read-only): List the requests that the Unkey API served for your workspace, newest first.
- **Unkey v2 permissions create permission**: Create a new permission to define specific actions or capabilities in your RBAC system.
- **Unkey v2 permissions create role**: Create a new role to group related permissions for easier management.
- **Unkey v2 permissions delete permission**: Remove a permission from your workspace.
- **Unkey v2 permissions delete role**: Remove a role from your workspace.
- **Unkey v2 permissions get permission** (read-only): Retrieve details about a specific permission including its name, description, and metadata.
- **Unkey v2 permissions get role** (read-only): Retrieve details about a specific role including its assigned permissions.
- **Unkey v2 permissions list permissions** (read-only): Retrieve all permissions in your workspace.
- **Unkey v2 permissions list roles** (read-only): Retrieve all roles in your workspace including their assigned permissions.
- **Unkey v2 permissions set role permissions**: Atomically replaces all permissions directly assigned to a role.
- **Unkey v2 permissions update permission**: Update the name, slug, or description of a permission, identified by its ID or slug.
- **Unkey v2 permissions update role**: Update the name or description of a role, identified by its ID or name.
- **Unkey v2 portal create domain**: Attach a custom domain to a portal and start verifying it.
- **Unkey v2 portal create portal**: Create a portal for one app or keyspace in your workspace.
- **Unkey v2 portal create session**: Create a portal session for an end user and get the URL to redirect them to.
- **Unkey v2 portal delete domain**: Detach a custom domain from a portal.
- **Unkey v2 portal delete portal**: Delete a portal and revoke the sessions it minted.
- **Unkey v2 portal get domain** (read-only): Read one custom domain attached to a portal, with its verification status and DNS records.
- **Unkey v2 portal get portal** (read-only): Read one portal, by its id or slug, or by the resource it serves.
- **Unkey v2 portal list domains** (read-only): List the custom domains attached to a portal, with their verification status and DNS records.
- **Unkey v2 portal list sessions** (read-only): List the end users holding a revocable session on a portal, with each end user's sessions.
- **Unkey v2 portal revoke session**: Revoke every live session an end user holds on a portal.
- **Unkey v2 portal update portal**: Change a portal's slug, display name, the resource it serves, its enabled state, or its branding.
- **Unkey v2 portal verify domain**: Restart verification for a portal domain.
- **Unkey v2 projects create project**: Create a project to group deployments and applications under a workspace-scoped slug.
- **Unkey v2 projects delete project**: Delete an existing project in your workspace, identified by its id.
- **Unkey v2 projects get project** (read-only): Retrieve a single project in your workspace by its id.
- **Unkey v2 projects list projects** (read-only): Retrieve a paginated list of projects in your workspace.
- **Unkey v2 projects update project**: Update an existing project in your workspace, identified by its id.
- **Unkey v2 ratelimit create namespace**: Create a rate limit namespace before you rate limit against it.
- **Unkey v2 ratelimit delete namespace**: Delete a rate limit namespace and all of its overrides, identified by the namespace ID or name.
- **Unkey v2 ratelimit delete override**: Permanently remove a rate limit override.
- **Unkey v2 ratelimit get override** (read-only): Retrieve the configuration of a specific rate limit override by its identifier.
- **Unkey v2 ratelimit limit**: Check and enforce rate limits for any identifier (user ID, IP address, API client, etc.).
- **Unkey v2 ratelimit list namespaces** (read-only): Retrieve a paginated list of the rate limit namespaces in your workspace.
- **Unkey v2 ratelimit list overrides** (read-only): Retrieve a paginated list of all rate limit overrides in a namespace.
- **Unkey v2 ratelimit multi limit**: Check and enforce multiple rate limits in a single request for any identifiers (user IDs, IP addresses, API clients, etc.).
- **Unkey v2 ratelimit set override**: Create or update a custom rate limit for specific identifiers, bypassing the namespace default.
- **Unkey v2 ratelimit update namespace**: Rename a rate limit namespace, identified by its ID or current name.
- **Unkey v2 workspace get flags** (read-only): Get feature flags for the workspace associated with your credentials.
- **Unkey v2 workspace get limits** (read-only): Get every limit of your workspace, with the current value against each limit that has one.
- **Unkey v2 workspace get usage** (read-only): Get the usage of your workspace for one calendar month (UTC).
- **Unkey v2 workspace update flag**: Enable or disable a flag for your workspace.
