Skip to main content
Glama

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

TableJSON Schema
NameRequiredDescriptionDefault
project_idYes
scopeNoread
expires_in_daysNo
descriptionNo
Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/airano-ir/mcphub'

If you have feedback or need assistance with the MCP directory API, please join our Discord server