Zum Inhalt springen
Kitbay
MCP-Server

TDD-MCP

Läuft lokalAktualisiert am 16. Nov. 20269GitHub-SterneKann Daten ändernKein API-Key nötig

A local MCP server that holds a coding agent to the test-driven development cycle by making it write code files through the server.

Was er kann

A local MCP server that holds a coding agent to the test-driven development cycle by making it write code files through the server. A session moves through plan, red, green and refactor phases, and test or production files are locked or unlocked by phase: the agent must first submit a plan giving each test's arrange, act and assert, may add only one failing test at a time, and can only start the next cycle once every changed production line and branch is covered. Writes the current phase does not allow are refused or reverted with a note on how to proceed. It supports Python with pytest and TypeScript with vitest.

Funktionen

  • Lock or unlock test and production files by TDD phase
  • Require a test plan with arrange, act and assert for each test
  • Allow only one new failing test per cycle
  • Require branch coverage of changed lines before the next cycle
  • Run tests and coverage for Python or TypeScript projects