claude_desktop_config.json. The Alphacast MCP server runs via npx and communicates over stdio.
npx ships with Node.js. If npx is not found, install Node 18 or later from nodejs.org. On a corporate machine without admin rights, see Install Node.js without admin rights.Get your API key
Sign in to Alphacast and open Settings. Copy your API key. If you belong to multiple teams, make sure your active team subscription is selected first — the key inherits that team’s permissions.
Open the config file
The most reliable way — it works no matter where Claude Desktop is installed:
- In Claude Desktop, open your profile → Settings → Developer.
- Click Edit Config. This opens the folder containing
claude_desktop_config.json. - Open
claude_desktop_config.jsonin any text editor.
| OS | Path |
|---|---|
| macOS | ~/Library/Application Support/Claude/claude_desktop_config.json |
| Windows | %APPDATA%\Claude\claude_desktop_config.json |
| Linux | ~/.config/Claude/claude_desktop_config.json |
Enterprise deployments of Claude Desktop may use a different directory (for example
%LOCALAPPDATA%\Claude-3p\ on Windows). If the standard path doesn’t exist on your machine, use the Edit Config button above, or search for claude_desktop_config.json with Windows Search.Add the server
If the file is empty or doesn’t exist, paste this entire block (replace If the file already has content (other MCP servers or settings), add the When saving on Windows, if your editor offers Save As, set “Save as type” to All Files so the file isn’t saved as
YOUR_API_KEY with your key):claude_desktop_config.json
alphacast entry inside the existing mcpServers object — don’t paste the whole block again:claude_desktop_config.json
claude_desktop_config.json.txt.Restart Claude Desktop
Quit Claude Desktop completely — right-click the menu bar / system tray icon and choose Quit. Closing the window is not enough; the app keeps running in the background and won’t reload the config. Then relaunch it.
Verify it actually works
- Open a new chat and click the tools menu (the slider icon). You should see the alphacast server listed with its 32 tools enabled.
-
Send a test prompt:
“List my Alphacast repositories.”
-
Confirm that Claude calls a tool — you’ll see a
list_repositoriestool-call block in the response. If Claude answers from general knowledge with no tool call (and no tools icon appears), the server is not actually connected, even if the Developer tab says “running”.
| Log message | Cause | Fix |
|---|---|---|
npx not found / spawn error | Node.js missing or not on PATH | Install Node.js or use the full path to npx.cmd |
401 Unauthorized | Invalid or missing API key | Authentication errors |
| JSON parse error / server missing entirely | Malformed config file | Fix the config JSON |
Next steps
Troubleshooting
Setup, authentication, and connection fixes — including enterprise Windows environments.
Examples
Full prompts that combine search, download, and provider tools.