Skip to main content
Glama

Vitest MCP Server

set_project_root

Define the project root directory for all subsequent operations, enabling repository-specific workflows. Use this tool to specify the absolute path before executing other tools in Vitest MCP Server.

Instructions

Set the project root directory for all subsequent operations. This must be called before using other tools to specify which repository to work with.

Input Schema

NameRequiredDescriptionDefault
pathYesAbsolute path to the project root directory (must start with / on Unix or drive letter on Windows)

Input Schema (JSON Schema)

{ "properties": { "path": { "description": "Absolute path to the project root directory (must start with / on Unix or drive letter on Windows)", "type": "string" } }, "required": [ "path" ], "type": "object" }

Other Tools from Vitest MCP Server

Related Tools

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