Flaky test detection, root cause analysis, and fix suggestions for development teams.
This plugin connects Cursor to the Trunk Flaky Tests MCP server, giving you AI-powered tools, commands, and built-in knowledge for debugging and fixing flaky tests.
| Tool | Description |
|---|---|
fix-flaky-test |
Retrieve root cause analysis and fix suggestions for flaky tests |
setup-trunk-uploads |
Generate a setup plan to upload test results to Trunk |
| Command | Description |
|---|---|
fix-flaky |
Get root cause analysis and apply a fix for a flaky test |
why-flaky |
Explain why a test is flaky without making changes |
setup-uploads |
Set up test result uploads to Trunk for your repository |
| Skill | Description |
|---|---|
flaky-test-patterns |
Common flaky test patterns and fixes — activates when debugging or writing tests |
trunk-ci-setup |
CI pipeline best practices for test uploads — activates when editing CI config files |
| Rule | Description |
|---|---|
flaky-test-awareness |
Contextual awareness when editing test files — suggests Trunk tools when relevant |
Install from the Cursor Marketplace, or add manually to .cursor/mcp.json:
{
"mcpServers": {
"trunk": {
"url": "https://mcp.trunk.io/mcp"
}
}
}The Trunk MCP server uses OAuth 2.0 + OpenID Connect. When you first connect, you'll be prompted to authenticate via your Trunk account.
- Claude Code
- Any MCP client (GitHub Copilot, Gemini CLI, and more)
MIT