Engine
MCP server by spencerbeggs Verified · npm:@vitest-agent
Engine is the shared services and SQLite data layer behind vitest-agent, a Vitest plugin and MCP server for LLM coding agents. It turns each test run into structured data that agents can query. It is aimed at developers who use Vitest with AI coding assistants.
Install Engine
Built from the published package, never by AI.
claude mcp add engine -- npx -y @vitest-agent/engineRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"engine": {
"args": [
"-y",
"@vitest-agent/engine"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"engine": {
"args": [
"-y",
"@vitest-agent/engine"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"engine": {
"args": [
"-y",
"@vitest-agent/engine"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add engine -- npx -y @vitest-agent/engine{
"mcpServers": {
"engine": {
"args": [
"-y",
"@vitest-agent/engine"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add engine npx -y @vitest-agent/engineGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the engine block.
About
Engine is the shared services package in the vitest-agent monorepo. It covers schemas, the data layer, services, formatters, utilities and the public reporter contracts. The wider vitest-agent family includes a Vitest plugin, a reporter, a CLI and an MCP server that turn a test run into structured intelligence for LLM coding agents.
Every run is persisted to SQLite at an XDG-derived path under $XDG_DATA_HOME/vitest-agent. The CLI and MCP server expose test status, coverage, failure history and trends. The project is for developers who run Vitest and want their coding agents to read test results.
Written from the project's README and checked against it.
What you need
- Node.js
- pnpm
Try asking
- Show the failure history for my failing Vitest tests
- What is the current coverage for this project?
- Summarize the trends across my last few test runs
Good to know
- Prebuilt sidecar binaries exist only for darwin-arm64, linux-arm64, linux-x64 and win32-x64
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
What you can do with it
- Check test status after a Vitest run
- Review failure history for flaky tests
- Give a coding agent coverage data
Alternatives to Engine
All alternatives →Connects Supabase projects to AI assistants such as Cursor, Claude and Windsurf over the Model Context Protocol. It lets assistants manage tables, fetch config and query data in a Supabase project.
ArcadeDB MCP Server is the built-in Model Context Protocol server of the ArcadeDB multi-model database. It lets AI assistants and LLMs work with ArcadeDB's graph, document, time-series, vector and other data models. It suits people who already run ArcadeDB and want assistant access to it.
Connects MCP clients such as Claude Desktop, Cursor and VS Code to PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, ClickHouse and SQLite. It exposes two tools by default, with read-only mode and query timeouts available as guardrails.
MCP Toolbox for Databases is an open source MCP server that connects AI agents, IDEs and applications to enterprise databases. It provides prebuilt tools for exploring schemas and running queries, plus a framework for custom tools. It is aimed at developers building agents that need database access.
Connects AI agents, IDEs and applications to enterprise databases through the Model Context Protocol. Offers prebuilt database tools for MCP clients and a framework for building custom tools for production agents.
MongoDB MCP Server lets AI assistants interact with MongoDB databases and MongoDB Atlas. It is an official server from mongodb-js, run locally with npx or Docker. It works with self-managed deployments and Atlas clusters.
Compare with Supabase, ArcadeDB MCP Server or DBHub
Engine: common questions
What does the vitest-agent MCP server do?
The @vitest-agent/mcp package runs as the vitest-agent-mcp bin over stdio. It gives LLM agents action-keyed tools and framing prompts for test data.
Where is test data stored?
Each run is saved to SQLite at $XDG_DATA_HOME/vitest-agent/<workspaceKey>/data.db. The workspaceKey is derived from the root package.json name.
Which platforms does the sidecar support?
The sidecar ships prebuilt binaries for darwin-arm64, linux-arm64, linux-x64 and win32-x64.
How do I install Engine?
In Claude Code run claude mcp add engine -- npx -y @vitest-agent/engine. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Engine the official server?
Engine is published by npm:@vitest-agent from its verified domain in the official MCP Registry.
Is Engine free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Engine safe to use?
It scores 85 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Engine?
Similar MCP servers: Supabase, ArcadeDB MCP Server, DBHub, MCP Toolbox for Databases.
Does Engine work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
