testing-mcp
Integration with Jest test runner for running tests, querying results, and intelligent test execution strategies.
Integration with pytest test runner for running tests, querying results, and intelligent test execution strategies.
Integration with Vitest test runner for running tests, querying results, and intelligent test execution strategies.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@testing-mcprun tests for src/utils.ts"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
test-server-mcp
MCP (Model Context Protocol) daemon for intelligent Vitest orchestration.
A single background daemon exposes an MCP server over loopback HTTP. AI agents (or CI) call its tools to run a project's Vitest suite intelligently — running only the tests affected by changed files (resolved via Vitest's own static import graph) and falling back to the full suite whenever selection is uncertain. Every run executes exactly one Vitest pass; coverage is available only on a full-suite run, from that same pass. Each project runs under its own Vitest in a dedicated worker subprocess; the daemon never imports a project's Vitest itself.
Features
Incremental selection — run only tests affected by changed files, with a conservative full-suite fallback (never silently skips).
Full-suite coverage — one native Vitest coverage pass, no separate measurement step.
Watch mode — re-run affected tests as files change.
Minimal output — failures first; full stacks fetched on demand.
Human monitoring UI — a live status page at
/ui.
Related MCP server: MCP RAG Agent Server
Quick start
pnpm install # install dependencies (pnpm only — never npm/yarn)
pnpm build # compile TypeScript to dist/
node ./bin/test-mcp.mjs link # put `test-mcp` on your PATH (optional, see below)
# From inside the project you want to orchestrate:
cd /path/to/your/project
test-mcp registerregister scaffolds <git-root>/.test-mcp/, auto-boots the daemon, and registers the
project with it — printing the projectId that MCP tool calls use. It also writes a
test-mcp entry to .mcp.json and .cursor/mcp.json (creating or merging into either file,
without touching other keys/servers) so your AI agent is connected with no extra step:
{
"mcpServers": {
"test-mcp": { "command": "test-mcp", "args": ["mcp-bridge"] }
}
}mcp-bridge is a local stdio process that reads the daemon's token itself and proxies to the
HTTP endpoint — no token, env var, or path in the file, so both are safe to commit. It's a
plain stdio server from the client's point of view, so the same entry works unmodified for
Claude Code, Cursor, or any other MCP client. See
docs/usage.md.
Connecting the MCP client only lets an agent call the tools — it doesn't tell the agent
when to use them instead of pnpm test/vitest directly. For that, copy the snippet in
docs/usage.md#agent-instructions into the project's own
CLAUDE.md/AGENTS.md.
→ Full guide: docs/usage.md — CLI commands, the MCP tool catalog, watch mode, the monitoring UI, CI usage, configuration, and troubleshooting.
CLI
test-mcp start # start the singleton daemon (idempotent)
test-mcp status # running/stopped, pid, port, registered-project count
test-mcp stop # graceful shutdown
test-mcp init # scaffold <git-root>/.test-mcp/ without touching the daemon
test-mcp register # scaffold + auto-boot daemon + register + write MCP client config
test-mcp mcp-bridge # stdio<->HTTP bridge; used by the .mcp.json / .cursor/mcp.json entry
test-mcp ui # print the monitoring UI URL (http://127.0.0.1:<port>/ui)
test-mcp link # symlink this CLI into a writable dir on your PATH
test-mcp unlink # remove that symlinkGetting test-mcp on your PATH
test-mcp link symlinks the CLI into a writable directory already on your PATH
(auto-detected — e.g. /opt/homebrew/bin — or pass --dir <dir>), so you can call
test-mcp from anywhere. test-mcp unlink removes it (it only ever deletes its own
symlink, never a real file). Until you link it, invoke the CLI as node ./bin/test-mcp.mjs.
Alternatively, use your package manager's linker: pnpm link --global (after a one-time
pnpm setup) or npm link — both rely on the package's bin field.
Documentation
Usage — how to build, run, and use it
Architecture — components, contracts, invariants
PRD — product requirements
Patterns — validated implementation patterns
Development
pnpm typecheck # tsc --noEmit
pnpm build # compile to dist/
pnpm test # vitest run (pretest builds first)
pnpm test:watch # vitest in watch modeWorking on test-mcp? See CONTRIBUTING.md for the dev/BMAD workflow and the
optional code-review-graph code-intelligence setup. (That tooling is for contributors only —
it's not needed to use test-mcp.)
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceAn AI-powered MCP server that automates web testing workflows by enabling recording, execution, and discovery of tests through natural language prompts.Last updated68Apache 2.0
- Flicense-qualityDmaintenanceThis MCP server enables intelligent API testing automation by combining RAG knowledge retrieval with tool execution capabilities. It allows QA engineers to perform natural language-driven API testing with contextual knowledge support.Last updated
- Alicense-qualityDmaintenanceAn MCP server for AI-powered API testing that enables automated positive, negative, and security testing directly from AI chat interfaces. It supports multiple AI providers and generates detailed security reports.Last updated38Inno Setup
- Alicense-qualityDmaintenanceAn MCP server that automates Playwright-based UI and API testing, supporting test case generation from requirements or API specs, and execution with detailed reports.Last updated121MIT
Related MCP Connectors
MCP server for AI access to SmartBear tools, including BugSnag, Reflect, Swagger, PactFlow, QTM4J.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Official MCP server for Qase — manage test cases, runs, suites, defects via AI tools.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/charlieNearform/testing-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server