Getting an API Key
HumanConnection uses API keys for authentication. Every request to the REST API and MCP server requires a valid key.
Get your key
- Go to humanconnection.sh and sign up
- Navigate to Settings > API Keys
- Click Create API Key
- Copy the key — it won’t be shown again
Authentication format
Pass your API key in the Authorization header as a Bearer token:
In the TypeScript toolkit
In MCP configuration
Add the key to your MCP server config:
In the CLI
Set the environment variable:
Key management
- Keys are scoped to your account and have access to all tools
- You can create multiple keys (e.g. one per environment)
- Revoke a key from Settings > API Keys at any time
- Never commit keys to source control — use environment variables
Rate limits
API keys are subject to rate limits. If you hit a limit, you’ll receive a 429 Too Many Requests response. Back off and retry after the Retry-After header value.