Terminal agent by Anthropic
Connect Claude Code to Any API
Let Claude Code authenticate to your tools and partner APIs with 5-minute scoped tokens. No hardcoded keys in prompts, zero CLI daemons, and your API key stays strictly out of chat context.
Preferred: 1-Shot Setup Prompt
Paste this prompt directly into Claude Code. It safely installs the agent skill and wires the Remote MCP endpoint:
I want to install the AgentOnboard skill and MCP server:
1. For skill, run:
npx skills add agentonboard/skills -g -a '*' -s '*' -y
2. For MCP, add the server globally with:
claude mcp add --transport http --scope user agentonboard https://agentonboard.xyz/api/mcp --header "Authorization: Bearer <key>"
3. API key setup:
Ask me for my AgentOnboard API key (starts with aon_live_). If I provide it, replace <key> with my key and run the command. If I prefer not to provide it in chat, give me the exact command and guide me how to run it in my terminal.
4. Once done, remind me to restart Claude Code (/exit) to load the get_token tool.
Rules: Never commit or echo the full API key into persistent files or chat logs.Your secret key (aon_live_...) is configured directly on the client transport. It is never stored in Claude Code’s persistent conversation history or prompt cache.
Alternative: Manual Setup
If you prefer to configure Claude Code by hand without using the automated prompt:
1. Install the agent skill
Installs workflow instructions so Claude Code understands auth.md discovery:
npx skills add agentonboard/skills -g -a '*' -s '*' -y2. Add the Remote MCP server
Run in your terminal (replace <YOUR_API_KEY> with your live key):
claude mcp add --transport http --scope user agentonboard https://agentonboard.xyz/api/mcp --header "Authorization: Bearer <YOUR_API_KEY>"3. Reload session
/exit (then restart session) to initialize the new tools.
Verify connection
In your Claude Code chat or terminal, ask:
Run the whoami tool and tell me which AgentOnboard account is connected.Claude Code will call the Remote MCP server and print your verified email:
{
"email": "user@example.com",
"key_prefix": "aon_live_abcd"
}Frequently asked about Claude Code
Does Claude Code see my raw AgentOnboard API key?
No. The API key is stored in Claude Code's user-scoped MCP configuration as an HTTP Authorization header. When Claude calls get_token, the MCP client sends the header directly to our HTTPS server. The key never enters the LLM conversation window or shell history.
What tools does Claude Code get?
AgentOnboard exposes whoami (verifies connection) and get_token (mints 5-minute domain-scoped RS256 JWTs). Claude calls get_token automatically when an API request returns 401 or requires authentication.
How do I verify the setup works?
In Claude Code, ask: 'Run the whoami tool and tell me which AgentOnboard account is connected.' Claude will output your verified email address.
Ready to run Claude Code with AgentOnboard?
Create an API key in your dashboard and paste the setup prompt. Takes less than two minutes.