-
Notifications
You must be signed in to change notification settings - Fork 0
Troubleshooting
McAmner edited this page Jun 2, 2026
·
1 revision
Common issues and solutions for mq-mcp on macOS.
If uv is not found, install it via the official script:
curl -LsSf https://astral.sh/uv/install.sh | shRestart your terminal after installation.
mq-mcp requires Python 3.11 or later. uv handles this automatically if you run commands through it. If you need to install a specific version:
uv python install 3.12If the bridge fails with a missing API key error:
- Ensure you are in the
mq-mcp/mq-mcp/directory. - Check if
.envexists. If not, copy it:cp .env.example .env. - Add your key:
OPENAI_API_KEY=sk-...inside.env. - Ensure you are NOT committing this file.
If uv run mcp run server.py fails:
-
Dependencies: Run
uv syncto ensure all packages are installed. -
Syntax: Run
python -m compileall server.pyto check for syntax errors. - Port conflict: If the server uses a specific port, ensure it's not occupied. FastMCP typically uses standard I/O for local MCP, so this is rarely an issue unless using a remote transport.
-
Permissions: Ensure
server.pyand themq-mcpfolder are readable by your user.
If uv run python bridge.py --tools shows an empty list or missing tools:
- Check
server.pyfor errors. - Ensure the
@mcp.tool()decorators are correctly applied. - Run the validation script:
./scripts/validate.shfrom the repo root.
The integration tools require these projects to be installed locally and registered in your environment:
- Install
mq-halandrepo-signalin their respective directories. - Add them to
MQ_MCP_LOCAL_REPOSin your.env:MQ_MCP_LOCAL_REPOS="/Users/yourname/mq-hal,/Users/yourname/repo-signal" - Restart the MCP server or bridge.
- Run the full validation:
./scripts/validate.sh. - Generate a redacted local report:
mq-mcp report --json mq-mcp bundle --validate
- Check the Safety notes to ensure your paths are allowed.
- Check the Stability baseline if a release or profile contract appears out of sync.
- Open an issue on GitHub with the output of the failing command and the redacted bundle path.