Unit Test MCPA VS Code extension that helps GitHub Copilot write, review, and run tests using your project's test tools. Supports Jest, Vitest, pytest, and .NET through the Model Context Protocol (MCP). Get started
The MCP server registers automatically. You can also select the UnitTestEngineer agent for a guided workflow or run Unit Test MCP: Open Tutorial. Requirements: VS Code 1.101.0+, GitHub Copilot Chat, and the runtimes and dependencies required by your test project. What it does
For generated or changed tests, the workflow includes protective review and fresh, scoped coverage validation. Passing tests and meeting the coverage target are separate checks. ConfigurationUse the Unit Test MCP sidebar to set test commands, coverage targets, and custom framework instructions. Settings can vary by workspace folder and apply to subsequent requests without changing a run already in progress. Keep team-specific rules separate from the extension's generated instructions. See custom instructions and managed workspace files for setup and Git guidance. Documentation
TroubleshootingIf tools are missing, check MCP: List Servers and the tools enabled for your current agent session. Use Unit Test MCP: Show Server Logs for diagnostics. See the troubleshooting guide, or report an issue through GitHub or Unit Test MCP: Give Feedback in the sidebar. Security and privacyThe server runs locally with your operating-system permissions; use it only in trusted workspaces. Content returned to Copilot follows the client and model provider's data-handling policies. Extension telemetry requires a verified Microsoft identity and VS Code telemetry consent. Local tools do not require corporate sign-in. See security and data handling. License |