Connect Claude Code to Prometheux
Connect Claude Code (Anthropic's terminal-based coding agent) to Prometheux using the MCP server. This guide covers both the local and remote setup options.
We recommend using the local MCP server (stdio) with Claude Code for the most reliable experience. It avoids the OAuth browser flow and passes credentials directly.
Prerequisites
- Claude Code installed (
npm install -g @anthropic-ai/claude-code) - Prometheux credentials (username, organization, API token)
Setup (Local Server — Recommended)
1. Install the MCP Package
If you haven't already, install prometheux-mcp:
macOS:
brew install pipx
pipx ensurepath
pipx install prometheux-mcp
Windows/Linux:
pip install pipx
pipx ensurepath
pipx install prometheux-mcp
2. Add the Server to Claude Code
claude mcp add --scope user \
-e PROMETHEUX_TOKEN='your_token_here' \
-e PROMETHEUX_USERNAME='your_username' \
-e PROMETHEUX_ORGANIZATION='your_organization' \
-- prometheux /Users/YOUR_USERNAME/.local/bin/prometheux-mcp --url https://api.prometheux.ai
Run which prometheux-mcp (macOS/Linux) or where prometheux-mcp (Windows) to find the correct path.
3. Verify the Connection
Restart Claude Code and check the server status:
claude mcp list
You should see prometheux listed as connected. You can also type /mcp inside a Claude Code session to see all server statuses.
Alternative: Remote Server
You can also use the remote server with OAuth authentication:
claude mcp add --transport http --scope user prometheux https://api.prometheux.ai/px-remote-mcp-server
This will trigger an OAuth browser flow when Claude Code connects. See the Remote MCP Server page for details.
Claude Code in Claude Desktop
If you use Claude Code within the Claude Desktop app (not the terminal), it shares the Desktop app's MCP connectors. You can either:
- Use the remote connector via Settings → Connectors → Add custom connector (see Connect Claude)
- Use the local server by configuring
claude_desktop_config.json(see Local MCP Server configuration)
Both methods make the Prometheux tools available to Claude Code running inside the Desktop app.
Usage
Once connected, interact naturally with Claude Code. It will automatically use the Prometheux MCP tools when relevant.
See the MCP overview page for example conversations and a complete list of available tools.
Managing the Server
# List all configured servers
claude mcp list
# Remove the server
claude mcp remove prometheux
Troubleshooting
Server shows as "failed" in /mcp
Solution:
- Verify the path to
prometheux-mcpis correct — runwhich prometheux-mcpin your terminal - Check that your credentials are valid and the token hasn't expired
- Remove and re-add the server:
claude mcp remove prometheuxthen add it again - Run
claude --debugto see detailed error logs
Tools not being used
Solution:
- Type
/mcpin Claude Code to verify the server is connected - Be more explicit in your query: "Use the prometheux tools to list concepts in project X"
- Restart Claude Code for changes to take effect
"command not found" error
Solution:
- Use the full path to
prometheux-mcpinstead of just the command name - Ensure
pipx ensurepathwas run and your shell profile was reloaded
For general troubleshooting, see the Local MCP Server troubleshooting section.