Self-Hosting (Local)
Development
Build, test, and contribute to the open-source Clean MCP server.
Clean is small, local, and easy to hack on. Contributions are welcome at github.com/cleanmcp/clean-mcp.
Make targets
If you're not using make, create or activate your own virtualenv and run python -m pip install -e ".[dev]". The dev extra installs pytest and ruff.
Project layout
Tests
The suite is split into unit, integration, and e2e. Run everything with make test, or target a slice with pytest directly:
Language support
Parsing is powered by tree-sitter. The supported languages are Python, JavaScript, and TypeScript. Adding a language means adding a parser under src/clean/parsing/ and registering it.
License
MIT — see the LICENSE in the repo.