Connect Claude
You need an API key. The examples use mk_xxxxxxxx_… in its place. Go through Essentials first.
Claude Code
Add the server from the terminal:
claude mcp add --transport http autonex https://mcp.autonexhub.es/mcp \
--header "Authorization: Bearer mk_xxxxxxxx_…"Check it is listed with claude mcp list and ask Claude: "Call whoami on the Autonex MCP". Scopes, approvals and more detail in Coding agents.
To share the configuration with your team without the key, use a .mcp.json file in the project with an environment variable:
{
"mcpServers": {
"autonex": {
"type": "http",
"url": "https://mcp.autonexhub.es/mcp",
"headers": { "Authorization": "Bearer ${AUTONEX_MCP_KEY}" }
}
}
}Claude Desktop
Claude Desktop connects to remote servers that need a header through the mcp-remote bridge (requires Node.js). Edit claude_desktop_config.json (Settings → Developer → Edit config):
{
"mcpServers": {
"autonex": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://mcp.autonexhub.es/mcp", "--header", "Authorization:${AUTONEX_AUTH}"],
"env": { "AUTONEX_AUTH": "Bearer mk_xxxxxxxx_…" }
}
}
}Restart Claude Desktop. The Autonex tools appear under the tools icon in the chat.
claude.ai (web and mobile)
Custom connectors on claude.ai authenticate with OAuth, not with a fixed key. OAuth access to the Autonex MCP is planned; until then, use Claude Desktop or Claude Code.
Tips
- Claude asks for your approval before using tools that change data. In Autonex, every change also needs
confirm_actionafter a preview: read the preview text before approving. - For answers in English, set your client to English (
Accept-Languageheader) or ask Claude to passlang: "en".