manage_api_keys_create
Generate API keys with customizable scopes and expiration for project access control in the MCP Hub management platform.
Instructions
Create a new API key for a project.
Args: project_id: Project ID or "*" for all projects scope: Access scope - single ("read", "write", "admin") or multiple space-separated ("read write admin") Examples: "read", "write", "admin", "read write", "read write admin" expires_in_days: Optional expiration in days (default: never expires) description: Optional description for the key
Returns: dict: Key information including the actual key (SAVE IT - won't be shown again!)
Examples: # Single scope manage_api_keys_create(project_id="wordpress_site1", scope="read")
# Multiple scopes (space-separated)
manage_api_keys_create(project_id="wordpress_site1", scope="read write admin")
# All scopes for all projects
manage_api_keys_create(project_id="*", scope="read write admin")Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ||
| scope | No | read | |
| expires_in_days | No | ||
| description | No |