MCP Server
The MCP server provided by Trunk.io enables AI applications to access the CI Autopilot feature, including obtaining root cause analysis and configuring test uploads.
rating : 2 points
downloads : 7.4K
What is the Trunk.io MCP Server?
The Trunk.io MCP Server is a service based on the Model Context Protocol (MCP). It allows your favorite AI applications (such as Claude Code, Cursor, etc.) to connect to Trunk.io's CI Autopilot feature. Simply put, it acts like a bridge, enabling the AI assistant to help you analyze the reasons for CI/CD build failures and guide you on how to set up test result uploads.How to use the Trunk.io MCP Server?
It's very easy to use! You only need to make a one - time configuration in the AI application you are using (such as Cursor IDE, Claude Code CLI, etc.) and tell it the address of the Trunk MCP server. After the configuration is completed, you can directly ask the assistant to help you analyze build problems or get configuration suggestions in the AI conversation without leaving your development environment.Applicable scenarios
When your continuous integration (CI) pipeline build fails, you can let the AI assistant quickly obtain the root cause of the failure and repair suggestions through this MCP server. Or, when you need to configure test result uploads to Trunk for your project, the AI assistant can generate a detailed configuration plan for you.Main features
Get root cause analysis
The AI assistant can call this tool to obtain a root cause analysis report of CI build failures for you and provide specific repair suggestions to help you quickly locate and solve problems.
Generate a test upload configuration plan
This is an experimental feature. The AI assistant can call this tool to generate a detailed, step - by - step plan based on your project situation to guide you on how to upload test results to the Trunk platform.
Secure OAuth 2.0 authorization
The server uses the standard OAuth 2.0 and OpenID Connect protocols for authorization to ensure a secure and reliable connection and protect your data and access rights.
Advantages
Seamless integration: Use it directly in your familiar IDE or AI application without switching tools.
Improve efficiency: The AI assistant can quickly obtain professional analysis, saving you the time of manually troubleshooting CI issues.
Easy to configure: Just configure the server address once in the supported AI application and you can start using it.
Secure and reliable: Use the industry - standard OAuth 2.0 protocol for authentication and authorization.
Limitations
Limited application support: Currently only supports Cursor, Claude Code, GitHub Copilot, and Gemini CLI. Windsurf and Gemini Code Assist are not supported yet.
Function scope: Currently mainly provides two types of tools for CI issue analysis and test upload configuration.
Network - dependent: You need to be able to access the Trunk.io MCP server endpoint.
How to use
Select and configure your AI application
According to the AI application you are using, refer to the corresponding configuration guide in the Trunk official documentation for settings. You need to add the MCP server address (https://mcp.trunk.io/mcp) to the application's configuration.
Complete authorization
When connecting for the first time, the system will guide you through the OAuth 2.0 authorization process to securely connect your Trunk account.
Start a conversation
After the configuration is completed, you can directly ask the assistant to use Trunk's tools to help you in the conversation window of the AI application. For example, ask about the reason for the build failure.
Usage examples
Example 1: Quickly diagnose a failed CI build
After developer Xiao Zhang submitted his code, the CI pipeline showed a build failure. He didn't want to spend time manually checking the long logs. He directly asked the AI assistant in Cursor IDE: 'Why did the latest CI build fail?' The AI assistant called the tool through the MCP server and obtained a clear root cause analysis (e.g., 'The test failed due to a dependency library version conflict') and specific repair steps.
Example 2: Configure test reports for a new project
Engineer Xiao Li is responsible for a new project that needs to upload the results of unit tests and integration tests to Trunk for quality tracking. He is not familiar with the specific configuration process. He requested help in Claude Code CLI: 'I need to configure test uploads to Trunk for my Python project.' The AI assistant generated a customized configuration plan through the MCP server.
Frequently asked questions
Which AI applications can use this MCP server?
Is there a fee for using this service?
Do I need to have a Trunk.io account to use it?
Is this MCP server open - source?
What if my AI application is not in the support list?
Related resources
Trunk.io official documentation
Contains detailed guides for all functions such as CI Autopilot and MCP server configuration.
Configure Cursor IDE
A step - by - step tutorial on how to configure the Trunk MCP server in Cursor IDE.
Configure GitHub Copilot
A step - by - step tutorial on how to configure the Trunk MCP server in GitHub Copilot.
Configure Claude Code CLI
A step - by - step tutorial on how to configure the Trunk MCP server in Claude Code CLI.
Configure Gemini CLI
A step - by - step tutorial on how to configure the Trunk MCP server in Gemini CLI.
MCP tool reference: Get root cause analysis
Details the functions and usage of the `get - root - cause - analysis` tool.
MCP tool reference: Set up test uploads
Details the functions and usage of the `setup - trunk - uploads` tool.
Join the Trunk.io Slack community
Communicate with other users and get help and support.
Trunk.io VS Code extension
An extension for using Trunk tools in VS Code (Note: This is a different product from the MCP server).
Model Context Protocol (MCP) official website
Learn the basics and specifications of the MCP protocol.

Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
30.1K
5 points

Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
18.4K
4.5 points

Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
21.3K
4.3 points

Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
59.7K
4.3 points

Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
55.5K
4.5 points

Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
27.9K
5 points

Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
19.3K
4.5 points

Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
82.6K
4.7 points
