Repository avatar
Developer Tools
v1.0.0
active

mcp-server

io.trunk/mcp-server

An MCP server that provides tools for Trunk CI Autopilot to apply fixes to failing tests.

Documentation

Trunk.io docs vscode slack openssf

Trunk.io MCP Server

Leverage the power of CI Autopilot from your IDE, or the AI application of your choosing.

Use MCP Server

CI Autopilot 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

The following applications are currently supported: Cursor, Claude Code, Gemini CLI, and GitHub Copilot.

[!NOTE] Gemini Code Assist and Windsurf are not supported due to their limited support for MCP servers

API

Our MCP server is available at https://mcp.trunk.io/mcp and exposes the following tools:

ToolCapability
get-root-cause-analysisRetrieve root cause analysis and fix suggestions
setup-trunk-uploadsExperimental: Create a setup plan to upload test results

Authorization

The Trunk MCP server supports the OAuth 2.0 + OpenID Connect standard for MCP authorization.

Get started

To get started, configure your AI application to communicate with Trunk's MCP server:


Made with ❤️ by the Trunk.io team