Claude Code
One command adds aicharged.io as a remote MCP server (HTTP) to Claude Code — for this project or for all of them.
- API key (Bearer)
- OAuth sign-in
- Local bridge (stdio)
One command
Recommendedclaude mcp add --transport http aicharged https://aicharged.io/api/v1/mcp --header "Authorization: Bearer <API_KEY>"
For all your projects (--scope user)
claude mcp add --transport http aicharged --scope user https://aicharged.io/api/v1/mcp --header "Authorization: Bearer <API_KEY>"
Shared project file
.mcp.json
{
"mcpServers": {
"aicharged": {
"type": "http",
"url": "https://aicharged.io/api/v1/mcp",
"headers": {
"Authorization": "Bearer ${AICHARGED_API_KEY}"
}
}
}
}
Do not name the variable ANTHROPIC_API_KEY or ANTHROPIC_AUTH_TOKEN — those expand to empty in headers.
Through the aicharged CLI (stdio) — the token never sits in a config file
· needs the aicharged CLIclaude mcp add aicharged -- aicharged mcp serve
Without a key, sign in with OAuth (then run /mcp in Claude Code)
claude mcp add --transport http aicharged https://aicharged.io/api/v1/mcp