
Trunk Flaky Tests
Connects to Trunk's flaky test detection service and surfaces two main operations: getting root cause analysis with fix suggestions for flaky tests, and generating setup plans to start uploading test results to Trunk. Uses OAuth for authentication and runs as a hosted service at mcp.trunk.io. Reach for this when you're debugging test flakiness and want AI assistance that pulls from Trunk's analysis of your test history. Works with Cursor, Claude Code, GitHub Copilot, and Gemini CLI. The fix-flaky-test tool is the main draw here, giving you actionable suggestions based on patterns Trunk has identified in your test runs.
- tools
- 2
- transport
- HTTP
- last updated
- Mar 13, 2026
Tools
2 toolsPublic tool metadata for what this MCP can expose to an agent.
fix-flaky-testRetrieve root cause analysis and fix suggestions for flaky tests
Retrieve root cause analysis and fix suggestions for flaky tests
No parameter schema in public metadata yet.
setup-trunk-uploadsGenerate a setup plan to upload test results to Trunk
Generate a setup plan to upload test results to Trunk
No parameter schema in public metadata yet.
Sponsors
Readme
Trunk.io MCP Server
Leverage the power of Trunk Flaky Tests from your IDE, or the AI application of your choosing.
Use MCP Server
Trunk Flaky Tests comes with a Model Context Protocol (MCP) server. AI applications like Claude Code or Cursor can use MCP servers to connect to data sources, tools, and workflows — enabling them to access key information and perform tasks.
Supported AI Applications
Details
- Repository
- github.com/trunk-io/mcp-server
- Category
- Communication & Messaging
- Transport
- HTTP
- Registry
- MCP registry, active