Skip to main content
This guide uses the normal local setup path: install MCP → call apixo_setup → sign in and approve in your browser → call apixo_finish_setup → use APIXO tools. You do not need to create, copy, or paste an API key for this flow.

Before you start

  • Node.js >= 20 and npm >= 9 (the server runs with npx)
  • An MCP-compatible client, such as Cursor, Claude Code, Codex CLI, Claude Desktop, Windsurf, Cline, Continue, or Zed
  • A browser where you can sign in to your APIXO account and approve the device
The package is @apixo/mcp-server. npx -y @apixo/mcp-server downloads the current release when needed; you do not install it globally.

Step 1: Register the MCP server

Register the server without APIXO_API_KEY. The browser setup in the next step creates and stores the credential for this installation.
Open or create ~/.cursor/mcp.json (Windows: %USERPROFILE%\.cursor\mcp.json) and add an entry under mcpServers:

Step 2: Start browser setup

Reload or restart your MCP client so it launches the new server. In a new conversation, ask the client to call the setup tool:
apixo_setup opens the verification URL in your browser when possible. If it cannot open a browser, use the verification_url returned by the tool.

Step 3: Sign in and approve the device

In the browser, sign in to APIXO if prompted, review the device approval request, and approve it. Return to the same MCP client conversation after the browser confirms success. The API key created for this installation is kept in the MCP server’s private local credential store. It is not shown in the browser-setup tool response or in your chat.

Step 4: Finish setup

Ask the client to complete the pending approval:
If the browser approval is still pending, finish it in the browser and call apixo_finish_setup again. A successful response reports that the local installation is configured; it does not reveal the credential.

Step 5: Verify and use the tools

First, check that the MCP registration is present:
Then try one of these prompts:
This read-only prompt should call apixo_get_batch_integration_guide. Review the guide before using apixo_submit_batch or apixo_get_batch_status in your application.
The returned balance is specific to your account. Check the APIXO balance from Codex For generation, ask the agent to look up the schema first and put any production API call in your server-side application code. Do not expose an API key in browser-delivered code.

Revoke a device connection

To formally disconnect an MCP installation, open Dashboard → API Keys and revoke the device key whose name follows this format:
This Dashboard action is the server-side revocation. It prevents that device key from authorizing future API calls. The MCP server’s local credential file is only a local copy used by this machine; deleting it is local cleanup, not a Dashboard logout or server-side revocation. After revoking a device key, complete browser setup again to connect a new device key. See Troubleshooting if the client continues to use a stale local credential.

Advanced: manually supply APIXO_API_KEY

Use this only when browser approval is not practical: CI, another browserless environment, or local development debugging. An explicitly configured APIXO_API_KEY takes precedence over the browser-created local credential. For example, a CI-only server configuration can include the secret in its environment:
Keep this value in your CI secret manager or local development environment. Do not commit it, put it in a shared project configuration, or paste it into chat.

Next steps

What APIXO MCP can do

Browse the tool overview and MCP capabilities.

Troubleshooting

Fix browser setup, Node.js, and client connection problems.

Generation API reference

Learn the REST task flow your application will call in production.

Browse models

Explore model capabilities and inputs.