Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Plugin

MCP server by spencerbeggs Verified · npm:@vitest-agent

Provides a Vitest plugin that saves each test run to SQLite and exposes status, coverage, failure history and trends to LLM coding agents through a CLI and an MCP server.

  • Score 84
  • 2 stars
  • 2.6k a week
  • MIT
  • Updated

Install Plugin

Built from the published package, never by AI.

claude mcp add plugin -- npx -y @vitest-agent/plugin

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Plugin in Claude Code

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 plugin block.

About

vitest-agent is a monorepo for a family of packages that turn a Vitest test run into structured data for LLM coding agents. It includes a Vitest plugin, a reporter, a CLI, an MCP server and a Claude Code plugin. The plugin produces shape-tailored console output and saves every run to SQLite at an XDG-derived path.

Test status, coverage, failure history and trends are exposed over the CLI and the MCP server. All three entry points share the same Effect service architecture and SQLite database. The project is aimed at developers who run Vitest and use LLM coding agents. User documentation is hosted at vitest-agent.dev.

Written from the project's README and checked against it.

What you need

  • Node.js
  • Vitest

Try asking

  • Show the failure history for my recent Vitest runs
  • Summarize test coverage and trends for this project
  • Set up the vitest-agent reporter in my Vitest config

Good to know

  • Every @vitest-agent package versions independently, with no lockstep release train
  • Sidecar binaries are prebuilt for darwin-arm64, linux-arm64, linux-x64 and win32-x64
  • The plugin folder never publishes to npm and ships through the plugin marketplace

Security check

A

No 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

  • Giving coding agents structured Vitest results
  • Reviewing test failure history and trends
  • Checking coverage from an LLM assistant

Alternatives to Plugin

All alternatives →
Supabase supabase
97

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.

AAA Local and remote 172k/wk
ArcadeDB MCP Server ArcadeData
94

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.

AAA Local 1.3k
DBHubbytebase
94

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.

AAA Local 343k/wk
MCP Toolbox for Databasesgoogleapis
94

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.

AAA Local 17k
MCP Toolbox for Databasesgoogleapis
94

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.

AAA Local 17k
mongodb-mcp-servermongodb-js
94

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.

AAA Local 203k/wk

Compare with Supabase, ArcadeDB MCP Server or DBHub

Plugin: common questions

Where does vitest-agent store test data?

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.

Do the vitest-agent packages share one version number?

No. Every @vitest-agent package versions independently, so there is no lockstep release train.

Where is the vitest-agent documentation?

User documentation is at vitest-agent.dev. The source for that site is the website workspace in the repository.

How do I install Plugin?

In Claude Code run claude mcp add plugin -- npx -y @vitest-agent/plugin. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Plugin the official server?

Plugin is published by npm:@vitest-agent from its verified domain in the official MCP Registry.

Is Plugin free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is Plugin safe to use?

It scores 84 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 Plugin?

Similar MCP servers: Supabase, ArcadeDB MCP Server, DBHub, MCP Toolbox for Databases.

Does Plugin 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.

Plugin Install

Add to stack

Loading.