MCP Test Runner MCP Server
Local test execution and coverage summaries for onboarding agents.
MCP Test Runner scores 53 (Fair), licensed MIT and written in Python. It installs as a local process. It does not declare tools yet. Filed under Uncategorized. GitHub shows 0 stars. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Fair trust
53 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade C
55/100 for listing completeness. Lost points: short README, no listed tools, short summary.
How quality is graded
Where the 53 comes from
22 + 10 + 0 + 10 + 4 + 7 = 53. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 10 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 7 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "lovranran-mcp-test-runner": { "command": "uvx", "args": [ "lovranran-mcp-test-runner" ] } }}
Environment variables
This server does not declare environment variables.
Tools
All capabilitiesTools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.
About
mcp-test-runner
MCP server for deterministic local test execution and normalized test result reporting.
mcp-test-runner is the verification layer for codebase onboarding agents. It exposes focused MCP tools for running pytest and Jest, parsing test output, and summarizing coverage so downstream agents can mark claims as verified, unverified, or contradicted by real execution.
Codebase Onboarding Stack
mcp-test-runner is the verification layer in a three-server MCP tool stack for Project 6 wayfinder, a codebase onboarding agent.
mcp-repo-mappermaps repository structure, languages, entry points, framework evidence, and Python dependency edges.mcp-ast-explorerprovides symbol-grounded Python definition, signature, reference, call-chain, and class-hierarchy lookups.mcp-test-runnerruns local pytest/Jest checks and coverage summaries so agent claims can be verified against execution.
In wayfinder, this server turns high-risk code understanding claims into verified, unverified, or contradicted evidence from real test execution.
Status
This repository is a Python-first v1 MCP test runner. It supports bounded pytest execution, Jest command execution, single-test targeting, pytest coverage summaries, and normalized pytest/Jest JSON parsing.
The server does not use an LLM. Test results come from subprocess execution and structured parser output.
Tools
| Tool | Purpose |
|---|---|
health() | Returns ok for smoke checks. |
run_pytest(path, test_filter?, timeout_seconds?, cpu_seconds?, memory_mb?) | Run pytest in a bounded working directory and return raw command output. |
run_jest(path, test_filter?, timeout_seconds?, cpu_seconds?, memory_mb?) | Run Jest through npx jest and return raw command output. |
run_single_test(path, test_id, framework?, timeout_seconds?, cpu_seconds?, memory_mb?) | Run one pytest node id or one Jest test-name pattern. |
parse_test_output(stdout, framework) | Normalize test runner JSON output. |
get_coverage_summary(path, framework?, timeout_seconds?, cpu_seconds?, memory_mb?) | Return pytest-cov JSON coverage totals. |
Supported Scope
- Python 3.11+ package.
- FastMCP 2.x server.
- pytest execution with JSON report output via
pytest-json-report. - Jest command execution via
npx jest --json --outputFile. - pytest and Jest JSON normalization into one
TestRunResultschema. - Single pytest node id execution and Jest test-name targeting.
- pytest-cov coverage summary from
.coverage.json. - Subprocess timeout plus POSIX
resource.setrlimitCPU / memory caps.
Current Limitations
- v1 does not use Docker. It uses cwd validation, subprocess timeouts, and POSIX resource limits.
- Resource limits require a POSIX platform that supports
resource.setrlimit. - Jest execution expects Node.js plus project-local or
npx-resolvable Jest. - Jest single-test targeting uses
--testNamePattern; it does not parse Jest file-specific node ids. - Coverage summary is pytest-only in v1.
- Tools return raw command output for execution; call
parse_test_outputto normalize framework JSON.
Local Development
Install dependencies:
uv sync --extra dev
The PyPI distribution name is lovranran-mcp-test-runner because mcp-test-runner is already taken on PyPI. The installed console script remains mcp-test-runner.
Run the MCP server:
uv run mcp-test-runner
Run verification:
uv run ruff check .
uv run mypy
uv run pytest
License
MIT
Frequently asked questions
What is MCP Test Runner MCP Server?
Local test execution and coverage summaries for onboarding agents.
How do I install MCP Test Runner MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. MCP Test Runner MCP Server runs locally from the PyPI package lovranran-mcp-test-runner with the command uvx lovranran-mcp-test-runner.
Is MCP Test Runner MCP Server free and open source?
Yes. MCP Test Runner MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does MCP Test Runner MCP Server support remote (HTTP) connections?
No remote endpoint is listed for MCP Test Runner MCP Server. It runs locally on your machine over stdio, started by your MCP client.
How is MCP Test Runner MCP Server's trust score calculated?
MCP Test Runner MCP Server scores 53 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.