Skip to main content
Glama

Vitest MCP Server

by djankies

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
formatNoDefault output formatdetailed
timeoutNoTest timeout in milliseconds30000
verboseNoEnable debug information

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
Vitest MCP Server Usage GuideInstructions for using the Vitest MCP server tools

Tools

Functions exposed to the LLM to take actions

NameDescription
list_tests

Find and list test files in the project or specified directory

run_tests

Execute Vitest commands with configurable output formatting optimized for LLM consumption

analyze_coverage

Run comprehensive coverage analysis with detailed metrics about line, function, and branch coverage

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/djankies/vitest-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server