Trunk logo

Trunk

Organization
trunk-io

Flaky test detection, root cause analysis, and fix suggestions for development teams.

Publishertrunk-io
Repositorymcp-server
Forks
1
Stars
0
Available tools
0
Transport typestreamable-http
Categories
Links
  • Connect tools to AI workflows

    Trunk exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    0 stars and 1 forks from the linked repository.

Trunk.io docs vscode slack openssf

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

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

Quick Start

Cursor

Add to .cursor/mcp.json:

json
{
  "mcpServers": {
    "trunk": {
      "url": "https://mcp.trunk.io/mcp"
    }
  }
}

Claude Code

bash
claude mcp add trunk --transport streamable-http https://mcp.trunk.io/mcp

GitHub Copilot

Add to .vscode/mcp.json:

json
{
  "servers": {
    "trunk": {
      "type": "http",
      "url": "https://mcp.trunk.io/mcp"
    }
  }
}

Gemini CLI

Add to ~/.gemini/settings.json:

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:

ToolDescription
fix-flaky-testRetrieve root cause analysis and fix suggestions for flaky tests
setup-trunk-uploadsGenerate 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

Installation

TypingMind
{
  "mcpServers": {
    "trunk": {
      "url": "https://mcp.trunk.io/mcp",
      "env": null
    }
  }
}

Use Trunk MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Trunk is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP connects through a hosted MCP server URL in TypingMind.

Add an MCP server URL

Use this when Trunk is already hosted remotely or your team wants one shared connector that multiple users can access.

1

Open MCP connectors

In TypingMind, go to Plugins, open MCP connectors, then choose Add URL.

  1. Open TypingMind in your browser.
  2. Go to Plugins.
  3. Open MCP connectors.
  4. Click Add URL.
TypingMind Add Custom MCP Server URL form
2

Paste the server URL

Enter https://mcp.trunk.io/mcp in the Server URL field. Add a connection name, description, icon, custom HTTP headers, or OAuth client settings if the server requires them.

  1. Paste https://mcp.trunk.io/mcp into the Server URL field.
  2. Enter a connection name for Trunk.
  3. Add a description and icon if you want it to be easier to identify.
  4. Add custom HTTP headers or OAuth client details if the server requires authentication.
3

Create the connection

Click Create connection, then return to the Plugins list and confirm the new MCP connection is active.

  1. Click Create connection.
  2. Return to the MCP connectors list.
  3. Confirm the Trunk connection appears as active.
  4. Refresh the plugin list if the connection does not appear immediately.
4

Switch models without reconnecting

Start a chat with your preferred model, enable the Trunk tools from Plugins, and switch to another model whenever needed. The MCP connection stays available to the TypingMind workspace.

  1. Start a new chat in TypingMind.
  2. Select the AI model you want to use.
  3. Enable the Trunk tools from Plugins.
  4. Ask the model to use the tool when needed.
  5. Switch to another AI model and reuse the same MCP connection.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Trunk to help me with this task?
Trunk
Sure. I read it.
Here is what I found using Trunk.

Frequently asked questions

What is the Trunk MCP server used for?

Trunk is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Trunk MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Trunk with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Trunk MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Trunk connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Trunk MCP to TypingMind?

Trunk can be connected in TypingMind by adding its hosted MCP server URL. This is useful when you want a remote MCP connection that is available from your TypingMind workspace.

What tools does Trunk MCP provide in TypingMind?

Trunk exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Trunk MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Trunk requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇