Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Connect AI assistants to TestRail: manage test cases, suites, runs, results, and attachments.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
TESTRAIL_INSTANCE_URL, TESTRAIL_USERNAME, TESTRAIL_API_KEY, TESTRAIL_ENABLE_SHARED_STEPS, TESTRAIL_ENABLE_CASE_HISTORY, TESTRAIL_ENABLE_RAG_TOOLS, TESTRAIL_ALLOW_WRITE_OPERATIONS, TESTRAIL_ALLOW_READ_OPERATIONS, TESTRAIL_ALLOW_DELETE_OPERATIONS, TESTRAIL_ENABLE_DEPRECATED_TOOLS, TESTRAIL_DISABLED_TOOLS, TESTRAIL_REQUEST_TIMEOUT_MSค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"testrail": {
"command": "npx",
"args": [
"-y",
"@uarlouski/testrail-mcp-server"
],
"env": {
"TESTRAIL_INSTANCE_URL": "ใส่ค่าของคุณ",
"TESTRAIL_USERNAME": "ใส่ค่าของคุณ",
"TESTRAIL_API_KEY": "ใส่ค่าของคุณ",
"TESTRAIL_ENABLE_SHARED_STEPS": "ใส่ค่าของคุณ",
"TESTRAIL_ENABLE_CASE_HISTORY": "ใส่ค่าของคุณ",
"TESTRAIL_ENABLE_RAG_TOOLS": "ใส่ค่าของคุณ",
"TESTRAIL_ALLOW_WRITE_OPERATIONS": "ใส่ค่าของคุณ",
"TESTRAIL_ALLOW_READ_OPERATIONS": "ใส่ค่าของคุณ",
"TESTRAIL_ALLOW_DELETE_OPERATIONS": "ใส่ค่าของคุณ",
"TESTRAIL_ENABLE_DEPRECATED_TOOLS": "ใส่ค่าของคุณ",
"TESTRAIL_DISABLED_TOOLS": "ใส่ค่าของคุณ",
"TESTRAIL_REQUEST_TIMEOUT_MS": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add testrail --env TESTRAIL_INSTANCE_URL='ใส่ค่าของคุณ' --env TESTRAIL_USERNAME='ใส่ค่าของคุณ' --env TESTRAIL_API_KEY='ใส่ค่าของคุณ' --env TESTRAIL_ENABLE_SHARED_STEPS='ใส่ค่าของคุณ' --env TESTRAIL_ENABLE_CASE_HISTORY='ใส่ค่าของคุณ' --env TESTRAIL_ENABLE_RAG_TOOLS='ใส่ค่าของคุณ' --env TESTRAIL_ALLOW_WRITE_OPERATIONS='ใส่ค่าของคุณ' --env TESTRAIL_ALLOW_READ_OPERATIONS='ใส่ค่าของคุณ' --env TESTRAIL_ALLOW_DELETE_OPERATIONS='ใส่ค่าของคุณ' --env TESTRAIL_ENABLE_DEPRECATED_TOOLS='ใส่ค่าของคุณ' --env TESTRAIL_DISABLED_TOOLS='ใส่ค่าของคุณ' --env TESTRAIL_REQUEST_TIMEOUT_MS='ใส่ค่าของคุณ' -- npx -y @uarlouski/testrail-mcp-serverเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"testrail": {
"command": "npx",
"args": [
"-y",
"@uarlouski/testrail-mcp-server"
],
"env": {
"TESTRAIL_INSTANCE_URL": "ใส่ค่าของคุณ",
"TESTRAIL_USERNAME": "ใส่ค่าของคุณ",
"TESTRAIL_API_KEY": "ใส่ค่าของคุณ",
"TESTRAIL_ENABLE_SHARED_STEPS": "ใส่ค่าของคุณ",
"TESTRAIL_ENABLE_CASE_HISTORY": "ใส่ค่าของคุณ",
"TESTRAIL_ENABLE_RAG_TOOLS": "ใส่ค่าของคุณ",
"TESTRAIL_ALLOW_WRITE_OPERATIONS": "ใส่ค่าของคุณ",
"TESTRAIL_ALLOW_READ_OPERATIONS": "ใส่ค่าของคุณ",
"TESTRAIL_ALLOW_DELETE_OPERATIONS": "ใส่ค่าของคุณ",
"TESTRAIL_ENABLE_DEPRECATED_TOOLS": "ใส่ค่าของคุณ",
"TESTRAIL_DISABLED_TOOLS": "ใส่ค่าของคุณ",
"TESTRAIL_REQUEST_TIMEOUT_MS": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"testrail": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@uarlouski/testrail-mcp-server"
],
"env": {
"TESTRAIL_INSTANCE_URL": "ใส่ค่าของคุณ",
"TESTRAIL_USERNAME": "ใส่ค่าของคุณ",
"TESTRAIL_API_KEY": "ใส่ค่าของคุณ",
"TESTRAIL_ENABLE_SHARED_STEPS": "ใส่ค่าของคุณ",
"TESTRAIL_ENABLE_CASE_HISTORY": "ใส่ค่าของคุณ",
"TESTRAIL_ENABLE_RAG_TOOLS": "ใส่ค่าของคุณ",
"TESTRAIL_ALLOW_WRITE_OPERATIONS": "ใส่ค่าของคุณ",
"TESTRAIL_ALLOW_READ_OPERATIONS": "ใส่ค่าของคุณ",
"TESTRAIL_ALLOW_DELETE_OPERATIONS": "ใส่ค่าของคุณ",
"TESTRAIL_ENABLE_DEPRECATED_TOOLS": "ใส่ค่าของคุณ",
"TESTRAIL_DISABLED_TOOLS": "ใส่ค่าของคุณ",
"TESTRAIL_REQUEST_TIMEOUT_MS": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
TESTRAIL_ENABLE_SHARED_STEPS envTESTRAIL_ENABLE_CASE_HISTORY envTESTRAIL_ENABLE_RAG_TOOLS envTESTRAIL_ALLOW_WRITE_OPERATIONS envTESTRAIL_ALLOW_READ_OPERATIONS envTESTRAIL_ALLOW_DELETE_OPERATIONS envTESTRAIL_ENABLE_DEPRECATED_TOOLS envTESTRAIL_DISABLED_TOOLS envTESTRAIL_REQUEST_TIMEOUT_MS envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub uarlouski ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: TESTRAIL_INSTANCE_URL, TESTRAIL_USERNAME, TESTRAIL_API_KEY
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (3.3.1) เข้า registry 12 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, Asset Notation
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Read and maintain an Asset Notation file on disk: net worth, holdings, valuations, CSV import.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
🚀 TestRail MCP Server
Connect Claude, Cursor, Windsurf, and VS Code to TestRail — an open-source Model Context Protocol (MCP) server for AI-assisted test management.
Manage TestRail projects, search and create test cases, kick off test runs, record results, and attach files through natural-language conversation with your AI assistant — or from CI/CD with the bundled testrail-cli . Built for QA engineers and AI-assisted test automation.
Compatible with:
📚 Documentation · Getting Started · Tool Reference · FAQ
The TestRail MCP Server is a free, open-source Model Context Protocol server that gives AI assistants direct, structured access to a TestRail instance through the TestRail API v2. Once configured, an assistant such as Claude Desktop, Cursor, Windsurf, or GitHub Copilot in VS Code can search test cases, draft new ones, start test runs, record results, and upload attachments on your behalf — without you leaving the chat window.
It exposes 35 tools, runs locally on Node.js 18+ over the MCP stdio transport, and is licensed under Apache 2.0. There is nothing to host or deploy: your MCP client launches it on demand with npx.
No context switching. No tedious copy-pasting. Just ask your AI.
[!NOTE]
Compatibility baseline: tested and validated against TestRail 10.6.2 (API v2). Older TestRail instances (including pre-7.x pagination) are also supported via built-in backward compatibility. TestRail Cloud and self-hosted TestRail Server both work.
| Capability | Description |
|---|---|
| 🔍 Intelligent Discovery | Browse projects, test suites, and sections to automatically map your QA organization. |
| 📋 Full Case Management | Fetch, create, update, and bulk-edit test cases with comprehensive custom field support. |
| ▶️ Actionable Execution | Create test runs, update results by test_id or case_id, attach files, and track statuses. |
| 🧠 Context-Aware AI | Dynamically exposes templates, fields, priorities, and statuses so LLMs generate valid, structured data. |
| 🖥️ CLI & CI/CD Native | Run every tool from bash, GitHub Actions, GitLab CI, or Jenkins with zero LLM overhead. |
| 🔐 Least-Privilege Controls | Per-mode permissions plus per-tool allowlisting; destructive deletes are off by default. |
Navigate to My Settings → API Keys in TestRail and generate a new key. Copy it immediately — TestRail shows it only once. The API must also be enabled instance-wide under Administration → Site Settings → API.
Add the server to your MCP client configuration. The Claude Desktop example is shown below; Cursor, Windsurf, and VS Code use the same pattern (see the collapsible sections).
Add this to your claude_desktop_config.json:
{
"mcpServers": { "testrail": { "command": "npx", "args": ["-y", "@uarlouski/testrail-mcp-server@latest"], "env": { "TESTRAIL_INSTANCE_URL": "https://your-instance.testrail.io", "TESTRAIL_USERNAME": "your@email.com", "TESTRAIL_API_KEY": "your-api-key", "TESTRAIL_ENABLE_SHARED_STEPS": "true" } } } }
⌨️ Cursor
Open Settings → MCP → Add new MCP server, or edit .cursor/mcp.json in your project (~/.cursor/mcp.json for all projects):
{
"mcpServers": { "testrail": { "command": "npx", "args": ["-y", "@uarlouski/testrail-mcp-server@latest"], "env": { "TESTRAIL_INSTANCE_URL": "https://your-instance.testrail.io", "TESTRAIL_USERNAME": "your@email.com", "TESTRAIL_API_KEY": "your-api-key" } } } }
</details>
🌊 Windsurf
Edit ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": { "testrail": { "command": "npx", "args": ["-y", "@uarlouski/testrail-mcp-server@latest"], "env": { "TESTRAIL_INSTANCE_URL": "https://your-instance.testrail.io", "TESTRAIL_USERNAME": "your@email.com", "TESTRAIL_API_KEY": "your-api-key" } } } }
</details>
💻 VS Code
Add to .vscode/mcp.json. The inputs block keeps your API key out of the file:
{
"inputs": [ { "id": "testrail-api-key", "type": "promptString", "description": "TestRail API key", "password": true } ], "servers": { "testrail": { "command": "npx", "args": ["-y", "@uarlouski/testrail-mcp-server@latest"], "env": { "TESTRAIL_INSTANCE_URL": "https://your-instance.testrail.io", "TESTRAIL_USERNAME": "your@email.com", "TESTRAIL_API_KEY": "${input:testrail-api-key}" } } } }
</details>
🌐 Other MCP Clients
Any MCP-compliant client can use this server, because it speaks the standard MCP stdio transport. Point your client at the npx command with the required environment variables — no port, URL, or transport configuration needed.
Restart your client completely, then turbo-charge your QA workflow by asking your AI assistant:
Full per-client setup instructions, including troubleshooting, are in the Getting Started guide.
In addition to interacting via AI assistants, you can invoke any TestRail tool directly from shell scripts, terminal environments, and automated CI/CD pipelines (GitHub Actions, GitLab CI, Jenkins) using `testrail-cli` or `npx` — with zero LLM overhead.
0 on success, 1 on error).stdout for piping into tools like jq, while diagnostics and errors go to stderr.# Method 1: Direct npx subcommand (Recommended)
npx @uarlouski/testrail-mcp-server cli [flags]
testrail-cli [flags]
npx -p @uarlouski/testrail-mcp-server testrail-cli [flags]
query_project)# List all active projects
npx @uarlouski/testrail-mcp-server cli query_project --action many
npx @uarlouski/testrail-mcp-server cli query_project --action one --project_id 1
add_results_for_cases)# Submit results by case_id — what your test framework already knows
npx @uarlouski/testrail-mcp-server cli add_results_for_cases \ --run_id 88 \ --results '[{"case_id":1042,"status_id":1,"comment":"Passed in CI"}]'
export_cases_for_rag)# Export all cases for a project into Markdown & metadata sidecars
npx @uarlouski/testrail-mcp-server cli export_cases_for_rag \ --project_id 1 \ --output_dir ./rag_exports
npx @uarlouski/testrail-mcp-server cli export_cases_for_rag \ --case_ids C101,C102,103 \ --output_dir ./rag_exports
# List all available commands
npx @uarlouski/testrail-mcp-server cli --help
npx @uarlouski/testrail-mcp-server cli query_project --help
See the CLI & CI/CD guide for complete GitHub Actions, GitLab CI, and Jenkins workflows.
| Variable | Description | Required | Default |
|---|---|---|---|
TESTRAIL_INSTANCE_URL | Your TestRail instance URL (e.g., https://example.testrail.io) | ✅ |
| `TEST
ตัดมาแค่ช่วงต้น อ่านต่อใน repo