
Apidog Tests Mcp
io.github.acabala由 GitHub 帳號 acabala 發布v0.0.5更新於 Oct 24, 2026
MCP server for managing Apidog test cases, scenarios, suites, and test data
概覽
一個本機 MCP 伺服器,讓 AI 助理讀寫 Apidog 中的測試案例、測試情境、測試套件、測試資料與資料夾。
- 可以做什麼
- 列出環境、API 端點、分類、標籤、執行器與端點覆蓋率統計(唯讀)。建立、讀取、批次建立、更新與刪除 API 端點的測試案例。建立、檢視、更新與刪除多步驟測試情境及其步驟。建立、檢視、更新與刪除測試套件及其項目。管理以 CSV 為基礎的測試資料記錄,並建立或刪除情境與套件資料夾。
- 適用情境
- 適合在 Apidog 中維護 API 測試,並希望助理代為草擬、批次建立、整理或清理測試案例、情境、套件與資料驅動測試資料,而不必切換到 Apidog 介面的情況。
- 執行需求
- 透過 stdio 在本機執行,通常使用 npx 或全域 npm 安裝,因此需要 Node.js。需要環境變數 APIDOG_ACCESS_TOKEN、APIDOG_PROJECT_ID 與 APIDOG_BRANCH_ID;APIDOG_BASE_URL 為選用,預設指向 Apidog 雲端 API。需要能連線至 Apidog 的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Apidog Tests Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
apidog-tests-mcp
MCP (Model Context Protocol) server for managing Apidog test cases, scenarios, suites, and test data. Gives AI assistants full read/write access to Apidog's test management features.
This project is not an official Apidog integration.
Features
- Test Cases -- Create, read, update, delete, and bulk-create test cases for API endpoints
- Test Scenarios -- Build multi-step test flows chaining multiple API calls
- Test Suites -- Organize tests into runnable suites for CI/CD
- Test Data -- Manage data-driven test iterations with CSV-formatted data
- Folders -- Organize scenarios and suites into nested folder structures
- Read-only tools -- List environments, endpoints, categories, tags, runners, and coverage statistics
Documentation
docs/PRACTICAL-USAGE.md-- proven patterns for creating stable test cases/scenarios/suitesSECURITY.md-- vulnerability reporting and secure usage guidelinesCONTRIBUTING.md-- contribution workflowCHANGELOG.md-- release notes
Installation
Or use directly with npx:
Configuration
The server requires these environment variables:
MCP Client Configuration
Add to your MCP client config (e.g. Claude Desktop claude_desktop_config.json):
Recommended Token Practices
- Use a dedicated token for automation.
- Scope access to the minimum required Apidog project(s).
- Rotate tokens regularly.
- Keep MCP client config files local/private.
Available Tools
Read-only
Test Cases
Test Scenarios
Test Suites
Test Data
Folders
Development
Security
- Use a dedicated automation token with minimal required permissions.
- Never commit
APIDOG_ACCESS_TOKENor environment-specific IDs. - Keep local MCP client config files private.
- See
SECURITY.mdfor reporting and response policy.
Release and Versioning
This repository uses Changesets and a GitHub Actions release workflow:
- Add a changeset for user-visible changes:
npm run changeset - Release automation creates/updates a version PR on
main - Merged release PR publishes to npm with provenance
Open Source Guidelines
- Contribution guide:
CONTRIBUTING.md - Code of conduct:
CODE_OF_CONDUCT.md - Changelog:
CHANGELOG.md
Practical Tips
- Always include
pathandparameters.pathwhen creating route-parameterized test cases. - For update operations, prefer this server's merge-style tools over raw full-replace payloads.
- Use
customScriptpost-processors for assertions to avoid runner issues with declarative assertions. - See
docs/PRACTICAL-USAGE.mdfor complete examples.
Project Structure
License
來源:README.md,提交 f35de66
工具
0版本歷史
1- v0.0.5最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分