Techne
Validates proposed Python workspace changes by applying patches to temporary shadow copies and running quality checks before any modifications to the actual repository.
Techne is a Python 3.12+ MCP server designed to rigorously validate proposed file changes within a Python workspace. It operates by applying incoming text unified diffs to isolated, temporary shadow copies of the repository, ensuring that the real workspace remains untouched. The server then executes a predefined quality toolchain, including `uv`, `ruff`, and `pyright`, against these modified shadow copies. The outcome is a set of structured diagnostics and audit summaries, returned to agents, enabling them to assess code quality and potential issues before committing any mutations to the production workspace state. Its robust security model prevents unauthorized file system access and restricts subprocess execution to an allowlist, providing a secure environment for pre-mutation checks.