Gives Claude full control over Apidog's test management layer. You can create, update, and delete test cases for API endpoints, chain them into multi-step scenarios, organize everything into test suites for CI/CD, and manage data-driven iterations with CSV-formatted test data. All the CRUD operations work through Apidog's REST API using your access token and project ID. Reach for this when you want to generate test coverage from API specs, scaffold regression suites, or maintain test scenarios without clicking through Apidog's UI. The tools follow a read-then-merge pattern for updates, and there's practical guidance on using custom scripts for assertions instead of declarative checks to avoid runner compatibility issues.
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.
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 notesnpm install -g @acabala/apidog-tests-mcp
Or use directly with npx:
npx @acabala/apidog-tests-mcp
The server requires these environment variables:
| Variable | Required | Description |
|---|---|---|
APIDOG_ACCESS_TOKEN | Yes | Your Apidog access token |
APIDOG_PROJECT_ID | Yes | The Apidog project ID |
APIDOG_BRANCH_ID | Yes | The branch ID to work with |
APIDOG_BASE_URL | No | Override the API base URL (default: https://api.apidog.com/api/v1) |
Add to your MCP client config (e.g. Claude Desktop claude_desktop_config.json):
{
"mcpServers": {
"apidog-tests": {
"command": "npx",
"args": ["@acabala/apidog-tests-mcp"],
"env": {
"APIDOG_ACCESS_TOKEN": "your-token",
"APIDOG_PROJECT_ID": "your-project-id",
"APIDOG_BRANCH_ID": "your-branch-id"
}
}
}
}
| Tool | Description |
|---|---|
list_environments | List all environments with base URLs |
list_api_endpoints | List API endpoint tree (filterable by module and name) |
list_test_case_categories | List test case categories |
list_test_case_tags | List available tags |
list_runners | List self-hosted test runners |
get_endpoint_statistics | Get test coverage statistics |
| Tool | Description |
|---|---|
list_test_cases | List all test cases (filterable by endpoint) |
get_test_case | Get full test case details |
create_test_case | Create a test case for an endpoint |
create_test_cases_bulk | Create multiple test cases at once |
update_test_case | Update a test case (GET-then-merge) |
delete_test_case | Delete a test case |
| Tool | Description |
|---|---|
list_test_scenarios | List scenarios with folder structure |
get_test_scenario_steps | Get steps for a scenario |
create_test_scenario | Create a multi-step test scenario |
update_test_scenario_steps | Set/replace scenario steps |
delete_test_scenario | Delete a scenario |
| Tool | Description |
|---|---|
list_test_suites | List suites with folder structure |
get_test_suite | Get full suite details |
create_test_suite | Create a test suite |
update_test_suite_items | Set suite items (static/dynamic groups) |
delete_test_suite | Delete a suite |
| Tool | Description |
|---|---|
list_test_data | List test data records for a test case |
get_test_data | Get test data with CSV rows and columns |
create_test_data | Create test data for a test case |
update_test_data | Update test data (GET-then-merge) |
delete_test_data | Delete a test data record |
| Tool | Description |
|---|---|
create_scenario_folder | Create a scenario folder |
delete_scenario_folder | Delete a scenario folder |
create_suite_folder | Create a suite folder |
# Install dependencies
npm install
# Run in development mode
npm run start:dev
# Type check
npm run typecheck
# Format
npm run format
# Run tests
npm test
# Run tests with coverage
npm run test:coverage
# Build for production
npm run build
APIDOG_ACCESS_TOKEN or environment-specific IDs.SECURITY.md for reporting and response policy.This repository uses Changesets and a GitHub Actions release workflow:
npm run changesetmainCONTRIBUTING.mdCODE_OF_CONDUCT.mdCHANGELOG.mdpath and parameters.path when creating route-parameterized test cases.customScript post-processors for assertions to avoid runner issues with declarative assertions.docs/PRACTICAL-USAGE.md for complete examples.src/
index.ts Entry point, registers tools and starts MCP server
client.ts ApidogClient HTTP wrapper with auth headers
types.ts Shared TypeScript interfaces and MCP result helpers
errors.ts Custom error classes (ApidogApiError, ApidogConfigError)
schemas.ts Shared Zod schemas for request parameters
tools/
read.ts Read-only tools (environments, endpoints, categories, etc.)
test-cases.ts Test case CRUD tools
test-scenarios.ts Test scenario CRUD tools
test-suites.ts Test suite CRUD tools
test-data.ts Test data CRUD tools
folders.ts Folder management tools
APIDOG_ACCESS_TOKEN*secretApidog API access token for authentication
APIDOG_PROJECT_ID*Apidog project ID to operate on
APIDOG_BRANCH_ID*Apidog branch ID within the project
APIDOG_BASE_URLApidog API base URL (defaults to https://api.apidog.com/api/v1)
com.mcparmory/google-sheets
domdomegg/google-sheets-mcp
henilcalagiya/google-sheets-mcp
cct15/war-dashboard-data
moooonad/mcp-google-sheets-full
io.github.br0ski777/csv-to-json