Skip to main content
Glama
trunk-io

Trunk.io MCP Server

Official
by trunk-io

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.

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/mcp

GitHub 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

fix-flaky-test

Retrieve root cause analysis and fix suggestions for flaky tests

setup-trunk-uploads

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

F
license - not found
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    C
    maintenance
    Connects AI coding assistants to Gaffer test history and coverage data to analyze project health, debug failures, and identify untested code areas. It enables tools to track test stability, cluster failures by root cause, and monitor code coverage trends across projects.
    Last updated
    3
    15
    1
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Connects AI coding assistants to TestCollab for managing test cases, plans, and suites directly through natural language. It enables users to create, update, and query testing resources within integrated development environments and AI chat clients.
    Last updated
    17
    22
    4
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    Connect AI agents to your test results, insights, and targets. Query test runs, failures, flaky tests, and regressions across frameworks including Playwright, Jest, Pytest, Cypress and more.
    Last updated
    20
    MIT
  • A
    license
    C
    quality
    A
    maintenance
    Connects AI coding assistants to Snyk API & Web for onboarding scan targets, configuring authentication, running DAST scans, and triaging findings through natural language.
    Last updated
    51
    7
    Apache 2.0

View all related MCP servers

Related MCP Connectors

  • BuildPulse CI test analytics for AI agents — flaky tests, coverage, and CI run history.

  • Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.

  • Connect AI assistants to your GitHub-hosted Obsidian vault to seamlessly access, search, and analy…

View all MCP Connectors

Latest Blog Posts

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