CLI not found on PATH
Symptom. Step 2 of Installation fails withcodex : 无法将"codex"项识别为 cmdlet… on Windows, or command not found: codex (or claude) on macOS / Linux.
The fixes below use Codex on Windows as the worked example because that combination produces the most no-PATH issues. For Claude Code, the same idea applies: find the install folder, add it to PATH, then open a new terminal.

Fix 1 — Confirm Codex is actually installed (Windows)
Run the executable by full path. If you installed Codex for your user, it usually lives under%LOCALAPPDATA%\OpenAI\Codex\bin:

Fix 2 — Add the Codex bin folder to your user PATH (Windows)
- Defines
$codexBinas the Codex executable folder. - Reads the user-level PATH (not the system one).
- Skips appending if PATH already contains that folder.
- Writes the new PATH back at user scope.
codex directly from a new terminal without typing the full path.

Fix 3 — Open a fresh terminal and verify
PATH changes do not apply to terminals that were already open. Close the current PowerShell window, open a new one, and confirm:
Fix 4 — Re-run the install command
No MCP servers configured yet, go back to Step 2 and run codex mcp add apixo -- npx -y @apixo/mcp-server again.
API key not picked up
Symptom. Tool calls return an error likeAPIXO_API_KEY is not set or every request fails with a 401.
-
Restart the client. MCP clients read environment variables at launch. If you set
APIXO_API_KEYafter starting Cursor / Claude Code / Codex / etc., fully quit and reopen the app. -
Confirm the variable is set. In a new terminal:
On Windows PowerShell:If this prints nothing, redo Step 1.
-
Or set the key inside the client config. Adding
env.APIXO_API_KEYdirectly in the server descriptor avoids depending on shell environment variables. For Cursor, edit~/.cursor/mcp.json. For Claude Code, re-runclaude mcp add --env APIXO_API_KEY=... apixo -- npx -y @apixo/mcp-server. For other clients, edit theirmcpServersconfig block (see the Other MCP clients tab in Step 2). - Check the key is active. Visit Dashboard -> API Keys and confirm the key has not been revoked or rotated.
npx cannot fetch @apixo/mcp-server
Symptom. The MCP server fails to start with errors likenpm ERR! 404 Not Found or a network timeout from npx.
-
Check Node and npm versions. APIXO MCP requires Node
>= 20and npm>= 9:If either is too old, install a newer version from nodejs.org or vianvm. -
Verify the package resolves. Run:
This should print the latest version (for example
0.1.0). If it errors, your npm registry is likely overridden — checknpm config get registry. It should behttps://registry.npmjs.org/or a mirror that proxies it (for examplehttps://registry.npmmirror.com/). -
Pre-warm the cache. Sometimes the first
npxcall inside an MCP client times out because the download is slow. Run it once manually:Once the package is cached locally, the client will start it instantly.
No tools listed in the client
Symptom. Theapixo server appears in your client but no tools (apixo_list_models, apixo_generate_task, …) are shown.
- Wait a few seconds and refresh. The first launch downloads the package from npm; the tool list only appears once the server is fully running.
-
Inspect the server logs. Most MCP clients expose per-server logs in their settings panel — open the
apixoserver’s log and look for messages starting with[apixo-mcp-server]. In Claude Code you can also run the/mcpslash command in a chat to see live status, andclaude mcp get apixoto dump the current config. A missingAPIXO_API_KEYproduces a warning but does not prevent the server from registering tools — so if tools are still missing, the cause is usually a Node version issue or thenpxstep failing silently. -
Run the server in a terminal. This is the fastest way to confirm the binary works:
The server speaks MCP over stdio, so it will appear to hang — that’s normal. If it crashes immediately with a stack trace, fix that error first.
Still stuck?
- Re-read Installation to make sure no step was skipped.
- Check the underlying APIs work without MCP using Quickstart.
- Open an issue at APIXO support with the full client log and the output of
node --version,npm --version, andnpx -y @apixo/mcp-server --help.