AgentWeb supports two authentication methods:Documentation Index
Fetch the complete documentation index at: https://docs.agentweb.pro/llms.txt
Use this file to discover all available pages before exploring further.
- API keys (bearer tokens) for server-to-server REST calls and MCP from Claude Code or OpenClaw.
- OAuth 2.0 for the Claude.ai MCP connector. The connector handles the flow — no manual key generation needed.
Generate an API key
Open Settings → API Keys
Sign in to app.agentweb.pro, click the gear icon in the sidebar, and select the API Keys tab.
Click Generate
Give the key a name (something like
local-dev, production-server, or cursor-mcp). Pick a rate limit and optional expiration date.Copy the key immediately
The full key is shown once. Copy it now. The portal stores only a hash — you cannot view the key again after closing the modal.Keys look like
aw_f0dfbe594b4611c5f3e5e411254932a2....Use the key
Pass the key in theAuthorization header as a bearer token.
- Claude Code
- OpenClaw
- Custom MCP client
Key properties
When generating a key, you can configure:| Property | Description |
|---|---|
keyName | A label for your reference. Shows up in the key list. |
scopes | Limits what the key can access. Defaults to the same access as your account. |
rateLimitPerMin | Per-key rate limit. Defaults to your plan’s standard limit. |
expiresAt | Optional expiration date. After expiry the key is rejected. |
List your keys
Settings → API Keys shows every active key with its name, last-used timestamp, scopes, and rate limit. Hashes are stored, not the full keys.Revoke a key
Click Revoke next to the key. Revocation is immediate — the next request with that key returns401 Unauthorized.
Revoke a key any time you suspect it’s leaked, when a team member leaves, or when you’re rotating credentials.
Rotate a key
- Generate a new key.
- Update your client (Claude Code, OpenClaw, server config) with the new key.
- Confirm the new key works.
- Revoke the old key.
OAuth 2.0 (Claude.ai)
The Claude.ai connector authenticates via OAuth. The flow:- Claude.ai redirects to
https://app.agentweb.pro/oauth/authorizewith PKCE parameters. - You sign in to AgentWeb and review the scopes being granted (
mcp:tools). - After authorization, Claude.ai exchanges the auth code for an access token and uses it for all subsequent MCP calls.
Troubleshooting
401 Unauthorized on every request
401 Unauthorized on every request
429 Too Many Requests
429 Too Many Requests
You’ve hit the per-key rate limit. Wait the duration shown in the
Retry-After header, or generate a higher-limit key if your workload needs it.The key I just generated isn't working
The key I just generated isn't working
Some MCP clients cache server configurations. Restart the client after registering a new key. For Claude Code:
claude mcp remove emma, then run the add command again.Next steps
- Emma tools — what each endpoint does.
- Connect Emma — use the key in Claude.ai, Claude Code, or OpenClaw.