Trunk.io MCP Server
OfficialEnables GitHub Copilot to access Trunk Flaky Tests data and tools, including root cause analysis and test upload setup.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Trunk.io MCP Serveranalyze the flaky test in tests/auth_test.py"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
Application | Supported | Guide | Plugin |
Yes | |||
Yes | |||
Yes | |||
Yes |
Gemini Code Assist and Windsurf are not supported due to their limited support for MCP servers.
Related MCP server: TestCollab MCP Server
Quick Start
Cursor
Add to .cursor/mcp.json:
{
"mcpServers": {
"trunk": {
"url": "https://mcp.trunk.io/mcp"
}
}
}Claude Code
claude mcp add trunk --transport streamable-http https://mcp.trunk.io/mcpGitHub Copilot
Add to .vscode/mcp.json:
{
"servers": {
"trunk": {
"type": "http",
"url": "https://mcp.trunk.io/mcp"
}
}
}Gemini CLI
Add to ~/.gemini/settings.json:
{
"mcpServers": {
"trunk": {
"httpUrl": "https://mcp.trunk.io/mcp"
}
}
}API
The MCP server is available at https://mcp.trunk.io/mcp and exposes the following tools:
Tool | Description |
Retrieve root cause analysis and fix suggestions for flaky tests | |
Generate a setup plan to upload test results to Trunk |
Authorization
The Trunk MCP server supports the OAuth 2.0 + OpenID Connect standard for MCP authorization. When connecting from a supported client, you will be prompted to authenticate via your Trunk account.
Made with love by the Trunk.io team
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/trunk-io/mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server