Installation¶
Prerequisites¶
| Requirement | Notes |
|---|---|
| Python 3.12+ | Union-type syntax and modern typing features are required |
| uvx or pip | uvx is recommended for zero-install usage; pip for global install |
| Docker (optional) | Useful when you want to run the server or CLI without a local Python environment |
MCP server setup (recommended)¶
The fastest way to start using Zen of Languages is to add the MCP server to your editor or AI assistant. No global install required — uvx runs the server in an isolated environment.
Claude Desktop¶
Add to claude_desktop_config.json (usually ~/Library/Application Support/Claude/ on macOS or %APPDATA%\Claude\ on Windows):
{
"mcpServers": {
"zen-of-languages": {
"command": "uvx",
"args": ["--from", "mcp-zen-of-languages", "mcp-zen-of-languages-server"]
}
}
}
VS Code¶
Add to .vscode/mcp.json in your workspace, or use one of the one-click install badges below:
{
"servers": {
"zen-of-languages": {
"command": "uvx",
"args": ["--from", "mcp-zen-of-languages", "mcp-zen-of-languages-server"]
}
}
}
| Method | VS Code | VS Code Insiders |
|---|---|---|
| UVX (native) | ||
| Docker (isolated) |
Cursor / Windsurf¶
Add to .cursor/mcp.json or .windsurf/mcp.json in your project root:
{
"mcpServers": {
"zen-of-languages": {
"command": "uvx",
"args": ["--from", "mcp-zen-of-languages", "mcp-zen-of-languages-server"]
}
}
}
Codex¶
Add to ~/.codex/config.toml:
[mcp_servers."zen-of-languages"]
command = "uvx"
args = ["--from", "mcp-zen-of-languages", "mcp-zen-of-languages-server"]
enabled = true
Codex reads MCP servers from the global ~/.codex/config.toml file rather than a workspace .json file. If you want to pin a config file, add env = { ZEN_CONFIG_PATH = "/absolute/path/to/zen-config.yaml" } under the same table.
Claude Code¶
Install via the CLI:
For the full integration guide — including environment variables, debugging, and troubleshooting — see MCP Integration.
Install with Docker (no local Python)¶
# MCP server via Docker (default entrypoint)
docker run --rm -i ghcr.io/anselmoo/mcp-zen-of-languages:latest
# CLI via Docker
docker run --rm ghcr.io/anselmoo/mcp-zen-of-languages:latest mcp-zen-of-languages-cli --help
This image defaults to mcp-zen-of-languages-server.
Official Docker image policy¶
- Publish a GHCR image on each
vX.Y.Zrelease tag. - Keep Docker tags as
latestand<major>.<minor>channels only. - Patch releases overwrite the same
<major>.<minor>image channel. - Add CI smoke checks for CLI and MCP server startup in the image pipeline.
CLI — First Code Anamnesis & Local Development¶
The CLI is a powerful tool for first code anamnesis — an initial diagnostic sweep of any codebase. Use it to get a full-project health picture before wiring up MCP, or for local analysis, CI pipelines, and contributing to the project.
Run without installing¶
# Run the CLI directly
uvx --from mcp-zen-of-languages mcp-zen-of-languages-cli --help
uvx --from mcp-zen-of-languages mcp-zen-of-languages-cli init
uvx --from mcp-zen-of-languages mcp-zen-of-languages-cli reports path/to/project
# Start the MCP server
uvx --from mcp-zen-of-languages mcp-zen-of-languages-server
This is the standard approach for MCP tools and requires no setup beyond having uv installed.
Install from PyPI¶
For persistent installation:
After install, the package-style commands are:
mcp-zen-of-languages-cli— CLI for analysis, reports, and prompt generationmcp-zen-of-languages/mcp-zen-of-languages-server— MCP server entry points for AI agent integration
Legacy aliases remain available: zen and zen-mcp-server.
Install from source (development)¶
git clone https://github.com/Anselmoo/mcp-zen-of-languages.git
cd mcp-zen-of-languages
uv sync --group dev --group docs
This installs all development dependencies (pytest, ruff, ty) and documentation tooling (Zensical).
Verify installation¶
You should see the CLI help output listing init, check, report, and prompts subcommands.
What's next¶
- MCP Integration — Full setup guide with environment variables, debugging, and troubleshooting
- Quickstart — Initialize a project and see your first analysis results
Theme customization references¶
- https://www.mkdocs.org/user-guide/customizing-your-theme/
- https://zensical.org/docs/
- zensical/zensical