Polyglot MCP test generation with 8-section contract enforcement across Python, TS, Java, Go, C++.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Universal Test Framework.
generate_testsGenerate a complete test suite satisfying the 8-section contract
validate_test_contractValidate any test (generated or hand-written) against the contract
analyze_coverageIdentify coverage gaps in an existing test suite
build_traceability_matrixBuild a requirements β tests traceability matrix
suggest_test_typesRecommend test types with rationale from source code
detect_language_frameworkAuto-detect programming language and test framework
Contract-driven test enforcement and reporting for LLM-generated code β via MCP, VS Code, Copilot CLI, Claude, Cursor, or Python SDK.
UTF is an MCP server and contract enforcement engine. It does not replace your AI coding assistant β it gives every test your AI writes a mandatory quality gate, a structured audit trail, and a comprehensive compliance report.
AI tools β GitHub Copilot, Claude, Cursor, Gemini β generate tests fast. The problem: fast β trustworthy.
| Without UTF | With UTF |
|---|---|
| Tests exist but nobody knows why | Every test is linked to a requirement |
| "Covers everything" β nobody can prove it | Traceability matrix maps REQ β test |
| CI passes; real behavior untested | Gap analysis flags what is NOT covered |
LLM wrote a test that asserts True | Meaningfulness check rejects trivial assertions |
| No history of what was tested | Persistent registry survives session restarts |
| Report shows pass/fail counts only | 8-section per-test detail cards in HTML report |
You may already use markdown files (AGENTS.md, copilot-instructions.md, .cursorrules) to guide your AI. UTF is complementary β not competing:
| Markdown instructions | UTF |
|---|---|
| Describe how to write tests | Enforce a contract on every test produced |
| Rely on LLM to follow instructions | Block tests that fail the contract at generation time |
| No verification after generation | Score each test 0β1 against 8 measurable criteria |
| No persistent state between sessions | SQLite registry persists all tests and results |
| No compliance report | HTML report with per-test 8-section detail cards |
Use markdown instructions to shape how your AI thinks. Use UTF to verify and report on what it produced.
TC-{PRJ}-{MODULE}-{NNN} and classic TC-{MODULE}-{NNN} both accepteduvx (zero-clone), local clone, Docker, GitHub MCP Registry, pip SDK.utf/rules/ override global defaults| # | Method | How Started | Registry Location | @utf Slash Cmds | Best For |
|---|---|---|---|---|---|
| 1 | uvx (zero-install) | mcp.json + uvx | <workspace>/.utf/utf.db | β use natural language | Any developer with uv |
| 2 | Local Clone | install-vscode-mcp.ps1 | <workspace>/.utf/utf.db | β with extension | Contributing / customizing UTF |
| 3 | Docker / HTTP | docker compose up | Named volume or bind mount | β use natural language | Team / remote / CI |
| 4 | GitHub MCP Registry | Auto via client | <workspace>/.utf/utf.db | β use natural language | Discoverable via MCP marketplace |
| 5 | pip + SDK | Python import | Caller controls cwd | N/A | CI scripts / programmatic |
All methods (1, 2, 4) using stdio transport write the registry to ${workspaceFolder}/.utf/utf.db β isolated per project and persistent across sessions.
Requires uv. No cloning, no venv.
Add to %APPDATA%\Code\User\mcp.json (Windows) or ~/.config/Code/User/mcp.json (macOS/Linux):
Registry:
.utf/utf.dbinside${workspaceFolder}β isolated per project, persistent across sessions.
Reload VS Code after editingmcp.json.
Reload VS Code β open Copilot Chat β ask naturally: generate e2e tests for my backend.
The install script writes this entry to mcp.json:
Registry:
${workspaceFolder}/.utf/utf.dbβ isolated per project.
@utfslash commands are available after the VSIX extension is installed.
Connect from VS Code by adding to mcp.json:
Registry: persisted in a named Docker volume (
utf_registry β /app/.utf/utf.db).
For per-project isolation with Docker, use a bind-mount indocker-compose.yml:Because Docker uses HTTP/SSE transport (no
${workspaceFolder}templating), passproject_direxplicitly in tool calls, or setUTF_PROJECT_DIRin the container environment.
Per-project Docker workflow:
Once published, UTF is discoverable via the MCP marketplace. Clients that support server.json install it automatically. The generated mcp.json entry is equivalent to Method 1 (uvx).
Registry isolation: The MCP registry schema does not support a
cwdfield at the registry level.
UTF resolves project isolation via (in priority order):
project_dirargument passed to each tool callUTF_PROJECT_DIRenvironment variablePath.cwd()fallback (server's working directory)For correct isolation, ensure the MCP client writes
"cwd": "${workspaceFolder}"and"UTF_PROJECT_DIR": "${workspaceFolder}"in the generated entry (UTF'smcp-gallery.jsondoes this).
Registry:
<project_dir>/.utf/utf.dbwhenproject_diris passed; falls back toPath.cwd().
| Tool | Description |
|---|---|
generate_tests | Generate a complete test suite satisfying the 8-section contract |
validate_test_contract | Validate any test (generated or hand-written) against the contract |
analyze_coverage | Identify coverage gaps in an existing test suite |
build_traceability_matrix | Build a requirements β tests traceability matrix |
suggest_test_types | Recommend test types with rationale from source code |
detect_language_framework | Auto-detect programming language and test framework |
import_test_results | Import JUnit XML from any test run into the UTF registry |
query_registry | Query the persistent per-project test registry |
run_tests | Execute test files and return structured CI results |
run_mutation_tests | Run mutation testing and return mutation score |
feedback_status | Get gap analysis, coverage health, and trend report |
generate_report | Generate HTML / JUnit / JSON contract compliance report |
health | Server health check: version, uptime, tool count |
Every test generated by UTF must satisfy all 8 sections. Tests that fail any hard section are blocked β returned in blocked_tests, never silently included.
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/universal-test-framework)<a href="https://allmcps.com/mcp/universal-test-framework"><img src="https://allmcps.com/api/badge/universal-test-framework?style=directory" alt="Universal Test Framework on AllMCPs" /></a>