MCP Server
M

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.
2 points
7.1K

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.

Installation

Copy the following command to your Client for configuration
Note: Your key is sensitive information, do not share it with anyone.

Alternatives

V
Vestige
Vestige is an AI memory engine based on cognitive science. By implementing 29 neuroscience modules such as prediction error gating, FSRS - 6 spaced repetition, and memory dreaming, it provides long - term memory capabilities for AI. It includes a 3D visualization dashboard and 21 MCP tools, runs completely locally, and does not require the cloud.
Rust
9.5K
4.5 points
M
Moltbrain
MoltBrain is a long-term memory layer plugin designed for OpenClaw, MoltBook, and Claude Code, capable of automatically learning and recalling project context, providing intelligent search, observation recording, analysis statistics, and persistent storage functions.
TypeScript
10.1K
4.5 points
B
Bm.md
A feature-rich Markdown typesetting tool that supports multiple style themes and platform adaptation, providing real-time editing preview, image export, and API integration capabilities
TypeScript
14.8K
5 points
S
Security Detections MCP
Security Detections MCP is a server based on the Model Context Protocol that allows LLMs to query a unified security detection rule database covering Sigma, Splunk ESCU, Elastic, and KQL formats. The latest version 3.0 is upgraded to an autonomous detection engineering platform that can automatically extract TTPs from threat intelligence, analyze coverage gaps, generate SIEM-native format detection rules, run tests, and verify. The project includes over 71 tools, 11 pre-built workflow prompts, and a knowledge graph system, supporting multiple SIEM platforms.
TypeScript
6.7K
4 points
P
Paperbanana
Python
8.9K
5 points
B
Better Icons
An MCP server and CLI tool that provides search and retrieval of over 200,000 icons, supports more than 150 icon libraries, and helps AI assistants and developers quickly obtain and use icons.
TypeScript
8.7K
4.5 points
A
Assistant Ui
assistant - ui is an open - source TypeScript/React library for quickly building production - grade AI chat interfaces, providing composable UI components, streaming responses, accessibility, etc., and supporting multiple AI backends and models.
TypeScript
10.0K
5 points
A
Apify MCP Server
The Apify MCP Server is a tool based on the Model Context Protocol (MCP) that allows AI assistants to extract data from websites such as social media, search engines, and e-commerce through thousands of ready-to-use crawlers, scrapers, and automation tools (Apify Actors). It supports OAuth and Skyfire proxy payment and can be integrated into MCP clients such as Claude and VS Code through HTTPS endpoints or local stdio.
TypeScript
9.8K
5 points
N
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
24.8K
4.5 points
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
81.5K
4.3 points
M
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
38.1K
5 points
G
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
27.4K
4.3 points
U
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#
38.4K
5 points
F
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
69.6K
4.5 points
G
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
24.0K
4.5 points
C
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
107.3K
4.7 points
AIBase
Zhiqi Future, Your AI Solution Think Tank
© 2026AIBase