Trunk Flaky Tests

السجل الرسمي أخرى

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

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

Remote (streamable-http)
Claude Code
claude mcp add --transport http trunk-flaky-tests 'https://mcp.trunk.io/mcp'
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "trunk-flaky-tests": {
            "type": "http",
            "url": "https://mcp.trunk.io/mcp"
        }
    }
}

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. Trunk.io MCP Server
  2. Use MCP Server
  3. Quick Start
  4. API
  5. Authorization

[][docs] [][vscode] [][slack]

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:

{
  "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:

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

[slack]: https://slack.trunk.io [docs]: https://docs.trunk.io [vscode]: https://marketplace.visualstudio.com/items?itemName=Trunk.io

الأسئلة الشائعة

ما هو Trunk Flaky Tests؟

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

كيف أثبّت Trunk Flaky Tests؟

يعمل كخادم بعيد. في Claude Code: claude mcp add --transport http trunk-flaky-tests 'https://mcp.trunk.io/mcp'. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج Trunk Flaky Tests إلى مفتاح API؟

لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.

هل Trunk Flaky Tests مفتوح المصدر؟

شيفرته علنية على GitHub، لكن المستودع لا يعلن ترخيصًا قياسيًا.

من يصون Trunk Flaky Tests؟

ينشره trunk-io. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.