Skip to main content
MCP clients authenticate to HERO with either a personal access token (works everywhere) or OAuth (when supported by your client). Pick the tab that matches your setup.
Works with every stdio MCP client. Paste the token into your client’s config.
1

Open MCP Settings

Sign in at HERO and go to MCP Settings.
2

Generate a token

Click Generate New Token. Copy the hero_at_* value — it’s shown once.
3

Paste into your client's config

Stdio MCP clients receive the token via the HERO_API_KEY environment variable in their server entry:
{
  "mcpServers": {
    "hero": {
      "command": "npx",
      "args": ["-y", "@myhero/mcp-server"],
      "env": { "HERO_API_KEY": "hero_at_..." }
    }
  }
}
Or set HERO_API_KEY in your shell/application environment directly.