API Keys
Create API keys to call GenMB from your own scripts, CI jobs, or MCP-compatible AI tools. Keys are scoped to your account and inherit your plan.
API keys require a Pro or Business plan.
Creating a Key
Open the API Keys section
Click New Key
Copy the key immediately
genmb_sk_...) is shown once. Copy it into your password manager or environment variable now; you will not be able to retrieve it again.Using a Key
Pass the key in the Authorization header on any API request:
curl https://genmb.com/api/apps \
-H "Authorization: Bearer genmb_sk_..."MCP-aware clients can use the dedicated X-MCP-API-Key header instead, which is preferred for MCP-only clients that already use Authorization for transport-level auth.
MCP Server Use
API keys are the primary auth method for the GenMB MCP server. Once you create a key, paste it into your MCP client (Claude Desktop, Cursor, etc.) following the setup steps in the MCP Integration doc.
env block of your MCP server config. Restart Claude Desktop after editing config.Security
- Keys begin with the
genmb_sk_prefix so they are easy to spot in logs and code reviews. - Only a SHA-256 hash of the key is stored in our database. The plaintext exists only on the client.
- The list view shows a truncated prefix and the last-used timestamp so you can audit usage without seeing the raw key.
- Keys do not expire automatically. Rotate them when a contractor leaves, a laptop is lost, or a shared CI secret is suspected.
Revoking
To revoke a key, click Delete next to it in the API Keys section. Revocation is immediate: any active client using the key starts receiving 401 errors on the next request.
Revoked keys cannot be reinstated. Create a new key and reconfigure clients to use it.
Limits
| Maximum keys per account | 5 |
| Key format | genmb_sk_ + 32 URL-safe random chars |
| Storage | SHA-256 hash only (raw key never stored) |
| Plan requirement | Pro or Business |
| Global rate limit | 200 requests / minute / IP |
Need more than 5 keys? Contact support with your use case.
FAQs
What are API keys used for?▾
Where do I see my keys?▾
I lost a key. Can I recover it?▾
How do I revoke a key?▾
What is the rate limit on key-authenticated requests?▾
How is this different from window.genmb.auth?▾
Ready to build?
Create your first app for free, no credit card required.