-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
This guide explains how to install and validate mq-mcp locally on macOS.
- macOS
- Git
- Python >=3.11 (managed automatically by
uv) - uv
- OpenAI API key (only needed for bridge prompts that call OpenAI)
git clone https://github.com/MCamner/mq-mcp.git
cd mq-mcp
./scripts/install.shThe installer:
- creates
mq-mcp/.envfrom.env.examplewhen missing - runs
uv sync - installs the local
mq-mcpcommand withuv tool install - runs
mq-mcp doctor
After install, use the command surface from any terminal:
mq-mcp doctor
mq-mcp health
mq-mcp tools
mq-mcp serve
mq-mcp validate
mq-mcp config path
mq-mcp report --json
mq-mcp profiles list
mq-mcp stability validate
You can also run directly from the Python project folder:
cd mq-mcp
uv run python bridge.py --tools
uv run mcp run server.pyThe installer creates mq-mcp/.env if it does not already exist.
Edit it before using bridge prompts that need an API key:
OPENAI_API_KEY=your_api_key_here
MQ_MCP_ALLOWED_PATHS=""
MQ_MCP_LOCAL_REPOS=""Do not commit real API keys, tokens, private paths, or secrets.
From the repository root:
./scripts/upgrade.shThe upgrade helper pulls main, syncs dependencies, reinstalls the local
command, and runs validation.
From the repository root:
./scripts/uninstall.shThis removes the uv tool command and keeps your local .env.
To remove the local .env interactively:
./scripts/uninstall.sh --remove-envUse this when dependencies or local tool shims are stale:
./scripts/uninstall.sh
cd mq-mcp
rm -rf .venv
cd ..
./scripts/install.sh
mq-mcp validatemkdir -p ~/.zsh/completions
ln -sf "$(pwd)/completions/_mq-mcp" ~/.zsh/completions/_mq-mcpMake sure ~/.zsh/completions is in your fpath.
mq-mcp does not install a daemon or autostart service by default. MCP clients
usually start the server as a local process. If you later add an explicit
LaunchAgent, keep it user-owned, disabled by default, and pointed at
mq-mcp serve.
When the server is running, local HTTP/SSE transports expose:
/health
/tool-count
/server-info
/diagnostics
The CLI also works without a running server:
mq-mcp health
mq-mcp info --json
mq-mcp report --json
mq-mcp bundle --validateDiagnostics redact secret-like environment variables such as API keys.
Profile templates live in profiles/ and cover common clients and workflows:
mq-mcp profiles list
mq-mcp profiles show read-only
mq-mcp profiles show claude-desktop
mq-mcp profiles validateSee profiles.md for when to use each profile and which
placeholders to replace locally.
For v1 readiness:
mq-mcp stability show
mq-mcp stability validate
./scripts/release-check.shSee stability.md.
This is a local-first experimental MCP project. Review exposed tools before extending file access or write capabilities.