The project now ships a lightweight MCP regression harness alongside the existing
static analysis checks. The suite exercises the published stdio entry point
(dist/index.js) using the official SDK client so we can verify the server's
MCP contract end to end.
# Run the default quality gate (currently lint only)
npm test
# Full validation pipeline
npm run validate
# Target just the MCP regression suite
npm run test:regressionnpm testruns ESLint and the MCP regression harness.npm run validateformats sources, applies lint fixes, and rebuilds the TypeScript output.npm run test:regressionrebuilds the project and runsnode --testagainst the compiled harness indist/test/mcp-regression.test.js.
The harness lives in test/mcp-regression.test.ts and covers:
- Tool discovery via
tools/list - Happy-path and validation-error calls to the
code-reasoningtool - Prompt discovery, prompt rendering, and completion persistence for
bug-analysis
Feel free to extend the suite with additional request flows under the same test runner.