API Keys
MCP tools for the API Keys module. See the API Keys module docs for permissions and data model.
list-api-keys
List API keys
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
limit | number | no | Maximum number of results to return |
offset | number | no | Number of results to skip |
create-api-key
Create an API key
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
name | string | yes | Key name for identification |
projectId | string | no | Optional project ID to scope the key to. Omit or set null to create an unscoped key that spans projects. |
policyIds | array<string> | no | Optional list of policy IDs to attach. Key permissions become the intersection of user policies and these policies. |
get-api-key
Get an API key
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
apiKeyId | string | yes | API key public ID (key_ prefix) |
update-api-key
Update an API key
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
apiKeyId | string | yes | API key public ID (key_ prefix) |
name | string | no | — |
projectId | string | no | Re-scope the key to a different project, or set null to clear the scope (unscoped key). Omit to leave the scope unchanged. |
policyIds | array<string> | no | Replace the key's policy list (empty array removes all) |
delete-api-key
Delete an API key
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
apiKeyId | string | yes | API key public ID (key_ prefix) |