Skip to main content
Glama

Vitest MCP Server

vitest.mcp.config.tsโ€ข694 B
import { defineConfig } from 'vitest/config'; // Separate vitest configuration for vitest-local MCP tools // This config allows access to all tests including test-validation directory export default defineConfig({ test: { // Support both node and browser environments environment: 'node', environmentMatchGlobs: [ ['**/browser/**', 'jsdom'] ], // No exclusions - MCP tools should access all tests coverage: { provider: 'v8', reporter: ['text', 'json', 'html'], reportsDirectory: './coverage', exclude: [ 'node_modules/', 'dist/', 'coverage/', '**/*.test.ts', '**/*.spec.ts' ] } }, });

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