Skip to content
Kitbay
MCP server

UnitTest_Generator_MCP

Runs locallyUpdated on Mar 21, 20263GitHub starsCan change data

A local Python MCP server that helps an assistant write and check Google Test suites for C and C++ code.

What it does

A local Python MCP server that helps an assistant write and check Google Test suites for C and C++ code. It parses source files with libclang to report function signatures, class members and types, lists existing GTest suites to show gaps, and offers a baseline of boundary values and MC/DC conditions for the assistant to design tests from. The assistant writes the test bodies, the server merges them into a GTest file, then builds and runs them with CMake and Make and measures coverage with LCOV, returning a summary and an HTML coverage report. The documented workflow pauses for the user to approve the strategy and the generated code.

Capabilities

  • Analyse C and C++ source with libclang
  • Find gaps in existing Google Test suites
  • Suggest boundary values and MC/DC conditions
  • Generate a GTest file from assistant-written test bodies
  • Build, run and measure coverage with CMake, GTest and LCOV