- A CI pipeline spawns or drives agents. Your GitHub Actions workflow, deploy script, or cron job needs to call the CLI or MCP server with no interactive login.
- A bot integration runs unattended. A long-running service calls the Murmur API on its own schedule and can’t refresh a developer session.
- You want an identity that outlives any person. The key is bound to a Service Profile, so it keeps working when a developer leaves the team and their tokens rotate.
1. Create an API key
You create an API key against an existing Service Profile. Create the profile first if you don’t have one.- Sign in at cloud.murmur.dev.
- Go to Organization Settings → Automations → API Keys.
-
Click Create API key and fill in the form:
- Description (required): a human-readable label, such as
CI pipelineornightly-deploy. This is how you’ll recognize the key in the list later. - Service Profile (required): the service profile the key authenticates as. The key receives the permissions granted to that identity through tenant-bindings and resource grants.
- Description (required): a human-readable label, such as
- Click Create API key.
mur_ followed by an identifier and a secret:
mur_3f9c1a2b…), the Service Profile it’s scoped to, who created it, and when.
2. Use the key
A key is supplied through theMURMUR_API_KEY environment variable. Both the CLI and the local MCP server read it from their environment and authenticate as the key’s Service Profile. No gh auth or murmur setup required.
From the CLI
Export the variable, then run any command:From the MCP server
For remote MCP, configure your client to send the service-profile key as anAuthorization: Bearer <key> header to https://api.murmur.dev/mcp. Tools act as that service profile; no browser sign-in is required.
Codex can read the bearer token from an environment variable:
murmur mcp reads MURMUR_API_KEY from its subprocess environment. Set only that key for service-profile access: it is mutually exclusive with agent-runtime credentials MURMUR_IDENTITY_TOKEN and MURMUR_WORKFLOW_ID.
3. Revoke a key
A key stays valid until you revoke it. There is no expiry.- Go to Organization Settings → Automations → API Keys.
- Find the key by its description and masked identifier.
- Click the trash icon, then confirm Revoke?.
Related
Service Profiles
Create the bot identity an API key authenticates as.
Authentication
How developers and agents authenticate to Murmur.
Authorization
The permission model behind a Service Profile’s Access Grants.
CLI overview
Commands the key lets you run unattended.