MCP Server for enforcing TDD for Agentic Systems
View on GitHub ↗An MCP server that makes coding agents follow the test-driven development cycle. Code files are written through this server, which only allows each kind of change when the cycle permits it:
Phase Test files Production files Leaves when ------------ coveragerequired locked locked advancetddphase passes (red) or finds exactly one failing test (green) red writable locked a test write leaves exactly one failing test, or the tests can't be collected or run, with at most one test added since the cycle started green locked writable a production write makes the suite pass refactor writable writable advancetddphase passes and covers every production line changed this cycle; any write that breaks tests or adds a test is reverted
Every reply starts with Phase: and ends with what to do next, and every refusal says how to get unstuck, so agents (including small local models) always know where they are in the cycle.
The server counts tests from the runner's JUnit report. Red only advances when exactly one test fails and no more than one test was added since the cycle started. Write one test, not a batch. A Python test file that can't be imported yet counts as every test function it defines. A test run that can't collect or run the tests at all (e.g. a conftest.py importing code that doesn't exist yet) also counts as the failing test, so programming by intention works from the very first test.
The next cycle only starts when every production line changed since the cycle began (per git diff against the commit at the start of the cycle, plus untracked files) is executed by some test, wi
From the project README.
Add the radar badge to your README — it shows your project was picked up by MCP Radar and links to this page:
[](https://mcp.liqiwa.com/s/ChrisLucian-HunterIndustries--TDD-MCP.html)
Stop your AI from making things up — it proposes, deterministic tools decide, every claim checked against ground truth with evidence. Grounded facts and context survive resets. Reverse engineering is
zhuyansen/new-term-radarDaily radar for new AI terms: names of new models, products and repos, caught on X, Hugging Face, GitHub and sitemaps before keyword tools list them.
yzg1226/mcd-party-officer🍟 麦当劳门店派对成团调度 Skill — 把派对从「策划」推进到「办得成」:成团概率雷达 / 包场vs拼团 / 择日黄历 / 儿童营养指数 / 招募卡与邀请函
fellowgeek/mcp-memoryAn OKF-backed Model Context Protocol (MCP) server delivering persistent long-term memory and SQLite FTS5 search for AI agents.
hirotomasato/yowesGenerate realistic teacher documents (ID cards, licenses, letters) for 13 countries via MCP.
hujjun/mcd-saver-strategist麦当劳省钱点餐助手(麦门精算师)|麦当劳优惠券组合优化 Skill:拉取麦当劳菜单与全部可用优惠券,算出最省的点餐组合,巨无霸套餐 ¥47 → ¥21.9(省 53%)。McDonalds MCP(麦当劳 MCP)coupon optimizer · McDonalds China MCP Server · Agent Skill for WorkBuddy · 麦当劳程序员创意开发大赛参赛作品
The top new MCP servers of the week, every Monday. No spam, unsubscribe anytime.