1. Conduid
  2. Developer Tools
  3. Testrail
MCP server · Developer Tools

Testrail

Testrail MCP Server

58Fair

Scored 21 hours ago · breakdown

About Testrail

Testrail is an MCP server published by bun913 in the Developer Tools category: testrail MCP Server. Conduid read 42 tools from its source: addBdd, addCase, addPlan, addPlanEntry, addResultForCase, addResultsForCases and 36 more. It is published to npm as @bun913/mcp-testrail and starts with npx.

The repository has 42 stars and 32 forks, is licensed MIT, and its last commit was on 20 Jun 2026. The latest release is v0.19.9 (8 Jun 2026). It follows v0.19.8 (19 May 2026), and the 5 most recent releases go back to v0.19.5 (18 Apr 2026). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include testrail, testing and automation.

Install

Claude Code
claude mcp add testrail -- npx @bun913/mcp-testrail@latest
Run
npx @bun913/mcp-testrail@latest
From source
git clone https://github.com/bun913/mcp-testrail

Tools (42)

addBddImports/uploads a .feature file (Gherkin BDD scenario) into a TestRail section. Creates a new test case with BDD template (template_id=4) and populates the custom_testrail_bdd_scenario field. REQUIRED: sectionId, featureContent (raw Gherkin text including Feature:, Scenario:, Given/When/Then).
addCaseCreates a new test case in TestRail. REQUIRED: sectionId, title. OPTIONAL: typeId, priorityId, templateId, customSteps, customExpected, customStepsSeparated, customFields, etc. Use getCaseTypes to find valid typeId values. NOTE: templateId=2 is required to use customStepsSeparated (array of step objects with 'content' and 'expected' fields). For simple text steps, use customSteps and customExpected instead. Use customFields for any additional custom fields (e.g., {custom_case_security_score: 'high'}).
addPlanCreates a new test plan in a TestRail project / TestRailプロジェクトに新しいテストプランを作成します
addPlanEntryAdds a new test plan entry to an existing test plan / 既存のテストプランに新しいテストプランエントリーを追加します
addResultForCaseAdds a test result for a specific test case in a test run / テスト実行内の特定のテストケースにテスト結果を追加します
addResultsForCasesAdds test results for multiple test cases in a test run / テスト実行内の複数のテストケースにテスト結果を追加します
addRunCreates a new test run in a TestRail project / TestRailプロジェクトに新しいテスト実行を作成します
addRunToPlanEntryAdds a new test run to an existing plan entry / 既存のプランエントリーに新しいテストランを追加します
addSectionCreates a new section in a TestRail project / TestRailプロジェクトに新しいセクションを作成します
addSuiteCreates a new test suite in the specified project / 指定されたプロジェクトに新しいテストスイートを作成します
copyToSectionCopies specified test cases to a target section while keeping the originals / 指定されたテストケースを対象のセクションにコピーし、元のケースは保持します
deleteCaseDeletes a test case from TestRail / TestRailからテストケースを削除します
deleteSectionDeletes a section / セクションを削除します
getBddExports a BDD test case as a .feature file in Gherkin format. REQUIRED: caseId.
getCaseRetrieves complete details for a single test case including steps, expected results, and prerequisites. REQUIRED: caseId.
getCaseFieldsRetrieves all available test case fields in TestRail / TestRailで利用可能な全テストケースフィールドを取得します
getCaseHistoryRetrieves the change history of a test case including updates to fields and custom fields / テストケースの変更履歴(フィールドとカスタムフィールドの更新を含む)を取得します
getCaseTypesRetrieves all available test case types in TestRail / TestRailで利用可能な全テストケースタイプを取得します
getCasesRetrieves test cases list with basic fields only (excludes steps/expected results for performance). REQUIRED: projectId, suiteId. OPTIONAL: createdBy, filter, limit (default 50), milestoneId, offset (default 0), priorityId, refs, sectionId, templateId, typeId, updatedBy, labelId. Use getCase for full details.
getMilestonesRetrieves all milestones for a specified TestRail project / 指定されたTestRailプロジェクトの全マイルストーンを取得します
getPlansRetrieves all test plans for a specified TestRail project / 指定されたTestRailプロジェクトの全テストプランを取得します
getProjectRetrieves details of a specific TestRail project by ID / 特定のTestRailプロジェクトの詳細をIDで取得します
getProjectsRetrieves all TestRail projects / すべてのTestRailプロジェクトを取得します
getResultsRetrieves test results for a specific test / 特定のテストのテスト結果を取得します
getResultsForCaseRetrieves test results for a specific test case in a test run / テスト実行内の特定のテストケースのテスト結果を取得します
getResultsForRunRetrieves all test results for a test run / テスト実行の全テスト結果を取得します
getRunRetrieves details of a specific test run by ID / 特定のテスト実行の詳細をIDで取得します
getRunsRetrieves all test runs for a specified TestRail project / 指定されたTestRailプロジェクトの全テスト実行を取得します
getSectionRetrieves details of a specific section by ID / 特定のセクションの詳細をIDで取得します
getSectionsRetrieves sections for a specified project and suite. Supports pagination via limit and offset parameters (default: limit=250, offset=0). Use _links.next to determine if more pages are available. / 指定されたプロジェクトとスイートのセクションを取得します。limitとoffsetパラメータでページネーションをサポートします。
getSharedStepsRetrieves all shared steps for a specified TestRail project / 指定されたTestRailプロジェクトの全共有ステップを取得します
getSuiteRetrieves details of a specific test suite by ID / 特定のテストスイートの詳細をIDで取得します
getSuitesRetrieves all test suites for a specified TestRail project / 指定されたTestRailプロジェクトの全テストスイートを取得します
getTestRetrieves complete details for a single test, including all fields such as status, type, and results / 単一のテストの完全な詳細(ステータス、タイプ、結果などのすべてのフィールドを含む)を取得します
getTestsRetrieves a list of tests for a test run / テスト実行に含まれるテスト一覧を取得します
ParameterTypeDescription
limitnumberNumber of tests to return per page. If you cannot get all tests, try separating the request into multiple calls
offsetnumberOffset for pagination
moveSectionMoves a section to a new position in the test hierarchy / テスト階層内の新しい位置にセクションを移動します
moveToSectionMoves specified test cases to a target section / 指定されたテストケースを対象のセクションに移動します
updateCaseUpdates an existing test case. REQUIRED: caseId. OPTIONAL: title, typeId, priorityId, templateId, customSteps, customExpected, customStepsSeparated, customFields, etc. Only specified fields will be updated. NOTE: templateId=2 is required to use customStepsSeparated (array of step objects with 'content' and 'expected' fields). For simple text steps, use customSteps and customExpected instead. Use customFields for any additional custom fields (e.g., {custom_case_security_score: 'high'}).
updateCasesUpdates multiple test cases simultaneously with the same field values / 複数のテストケースを同じフィールド値で一括更新します. NOTE: templateId=2 is required to use customStepsSeparated (array of step objects with 'content' and 'expected' fields). For simple text steps, use customSteps and customExpected instead. Use customFields for any additional custom fields (e.g., {custom_case_security_score: 'high'}).
updateRunUpdates an existing test run / 既存のテスト実行を更新します
updateSectionUpdates an existing section / 既存のセクションを更新します
updateSuiteUpdates an existing test suite / 既存のテストスイートを更新します

Security checks

Static checks derived from the repository 11 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 639 words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by package-lock.json.
  • ✓No dynamic code executionScanned 40 source files and found no eval, dynamic Function or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

What the source scan found

Transport
stdiosrc/stdio.ts:3
Starts other programs
No calls that start other programs
Outbound network calls
1 callsrc/client/api/baseClient.ts:59
Writes or deletes files
No file writes or deletes
Lockfile
package-lock.json

Pattern matches on the source text of 40 files: places to read, not proof of what the code does at run time.

Releases

v0.19.9Release v0.19.9 · 8 Jun 2026What's Changed Update package version to 0.19.8 by @github-actions[bot] in https://github.com/bun913/mcp-testrail/pull/131 chore(deps): bump hono from 4.12.18 to 4.12.23 by @dependabot[bot] in…
v0.19.8Release v0.19.8 · 19 May 2026What's Changed fix: remove console.log from section API methods by @sitiom in https://github.com/bun913/mcp-testrail/pull/130 chore(deps): bump postcss from 8.5.3 to 8.5.14 by @dependabot[bot] in…
v0.19.7Release v0.19.7 · 9 May 2026What's Changed Update package version to 0.19.6 by @github-actions[bot] in https://github.com/bun913/mcp-testrail/pull/125 chore(deps): bump fast-uri from 3.1.0 to 3.1.2 by @dependabot[bot] in…
v0.19.6Release v0.19.6 · 9 May 2026What's Changed Update package version to 0.19.5 by @github-actions[bot] in https://github.com/bun913/mcp-testrail/pull/120 chore: add takumi by @bun913 in https://github.com/bun913/mcp-testrail/pull/121 chore(deps): bump hono from 4.12.14…
v0.19.5Release v0.19.5 · 18 Apr 2026What's Changed Update package version to 0.19.4 by @github-actions[bot] in https://github.com/bun913/mcp-testrail/pull/116 fix: audit fix by @bun913 in https://github.com/bun913/mcp-testrail/pull/119 Full Changelog:…

README

The repository's README runs to about 639 words, fetched a month ago. The original in the repository is authoritative.

Read full README
Questions

About Testrail

How do I install Testrail?

In Claude Code, run claude mcp add testrail -- npx @bun913/mcp-testrail@latest. Other MCP clients take the command after "--" in their server configuration.

Is Testrail safe to use with an AI agent?

Its trust score is 58 out of 100 (fair). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Conduid's scan of 40 source files found that it serves MCP over stdio and makes outbound network calls (1 call). Its dependencies are pinned by package-lock.json. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Testrail still maintained?

Yes — the latest release is v0.19.9 (8 Jun 2026), and the last commit was 5 months ago. The repository has 42 stars and 2 open issues.

What tools does Testrail provide?

Conduid read 42 tools from the source: addBdd, addCase, addPlan, addPlanEntry, addResultForCase, addResultsForCases, addRun, addRunToPlanEntry and 34 more. 1 of them publish their parameters, listed under Tools above.

What license is Testrail released under?

The repository declares the MIT license. That applies to the latest release, v0.19.9, as well.