-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Description
Clear and concise description of the problem
I'm often already running vitest when I'm developing and it would be nice if Vitest could provide the results and the coverage to the AI tools via MCP server. We already have the location of the output, the reporters and config. Or even the VSCode extension could provide it (though I personally run it separately anyways).
Suggested solution
Allow MCP configuration for major editors (VSCode, Intellij, Cursor) to check the output and validate whether the recently generated code works or not, whether the lines are covered or not and whether it can use any of the errors to continue fixing it.
Alternative
Also providing more documentation and instructions for AI would be helpful. Perhaps generating instruction files, based on your configuration, this could also help AI make its own MCP server too, if the instruction file would show where the output is located and how to read it. Though perhaps we need a different kind of Reporter that writes output in a way that AI is better at processing, if it is necessary to provide better communication.
Additional context
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.