# apidog-tests-mcp [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/acabala/apidog-tests-mcp  
**GitHub Stars:** 1  
**npm Downloads (last month):** 233  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/apidog-tests-mcp

## Description
MCP server for managing Apidog test cases, scenarios, suites, and test data

## Tools
Capabilities this server exposes over MCP:

- **list_environments** — List all environments (DEV, TEST, PROD, etc.) with their base URLs
- **list_api_endpoints** — List API endpoints tree with IDs, names, and folder structure. Use this to find apiDetailId values needed for creating test cases. Pass moduleId to filter by a specific service module (reduces response size significantly). Pass search to filter by endpoint name.
- **list_test_case_categories** — List test case categories (e.g. Positive, Negative, Edge Case)
- **list_test_case_tags** — List available test case tags for categorizing test cases
- **list_runners** — List available test runners (self-hosted agents for running tests)
- **get_endpoint_statistics** — Get endpoint test coverage statistics
- **list_test_cases** — List test cases (id, name, type, apiDetailId, categoryId, tagIds). Supports filtering by endpoint and pagination. Use get_test_case for full details of a single case.
- **get_test_case** — Get full details of a single test case by its ID, including parameters, request body, and assertions
- **create_test_case** — Create a test case for an API endpoint. Requires apiDetailId (from list_api_endpoints) and responseId. Use list_test_case_categories and list_test_case_tags first to get valid categoryId and tagIds.
- **create_test_cases_bulk** — Create multiple test cases at once. Each item follows the same schema as create_test_case.
- **update_test_case** — Update an existing test case. Pass only the fields you want to change. The tool fetches the current state first and merges your changes, so unspecified fields are preserved.
- **delete_test_case** — Delete a test case by ID. This cannot be undone.
- **list_test_scenarios** — List all test scenarios (compact summary: id, name, folderId, priority, tags, description, ordering, status). Use get_test_scenario_steps for full details.
- **get_test_scenario_steps** — Get the steps (API calls) for a test scenario. Each step contains the full httpApiCase with parameters, auth, and request details.
- **create_test_scenario** — Create a new test scenario (multi-step test flow). Use list_test_scenarios first to find valid folderIds and determine ordering.
- **update_test_scenario_steps** — Set or update the steps in a test scenario. Each step references an API endpoint via bindId (apiDetailId). Steps are fully replaced — pass the complete steps array. Supports 'http' steps (regular API calls) and 'if' conditional blocks (which have children instead of httpApiCase).
- **delete_test_scenario** — Delete a test scenario by ID. This cannot be undone.
- **list_test_suites** — List all test suites (compact summary: id, name, folderId, priority, tags, description, ordering, status). Use get_test_suite for full details.
- **get_test_suite** — Get full details of a test suite, including its items (test cases and scenarios).
- **create_test_suite** — Create a new test suite for CI grouping. Suites can contain test cases and test scenarios.
- **update_test_suite_items** — Replace items in a test suite. Each item is a group with a UUID, a type, and a nested array of references.
For STATIC_TEST_CASE: provide testCaseIds (array of test case IDs).
For STATIC_TEST_SCENARIO: provide testScenarioIds (array of scenario IDs).
For DYNAMIC_TEST_CASE / DYNAMIC_TEST_SCENARIO: provide folderId to dynamically include all from that folder.
This does a GET-then-merge so existing suite fields are preserved.
- **delete_test_suite** — Delete a test suite by ID. This cannot be undone.
- **create_scenario_folder** — Create a folder for organizing test scenarios. Folders can be nested via parentId.
- **delete_scenario_folder** — Delete a test scenario folder by ID. The folder must be empty. This cannot be undone.
- **create_suite_folder** — Create a folder for organizing test suites. Folders can be nested via parentId.
- **list_test_data** — List test data records for a test case. Returns metadata (id, environmentId, relatedId) but not the actual data rows — use get_test_data for that.
- **get_test_data** — Get a specific test data record including the CSV data rows and column definitions.
- **create_test_data** — Create a test data record for a test case. The data field is CSV-formatted: first line is the column header, subsequent lines are values. Each column needs a matching entry in the columns object. Variables are accessible in test cases as {{columnName}} or via pm.iterationData.get('columnName') in scripts.
- **update_test_data** — Update an existing test data record. Fetches current state first and merges changes.
- **delete_test_data** — Delete a test data record by ID.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "apidog-tests-mcp": {
    "command": "npx",
    "args": ["-y","@acabala/apidog-tests-mcp"],
    "env": {
      "APIDOG_ACCESS_TOKEN": "",
      "APIDOG_PROJECT_ID": "",
      "APIDOG_BRANCH_ID": "",
      "APIDOG_BASE_URL": ""
    }
  }
}
```

**Requires environment variables:** `APIDOG_ACCESS_TOKEN`, `APIDOG_PROJECT_ID`, `APIDOG_BRANCH_ID`, `APIDOG_BASE_URL` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What apidog-tests-mcp does

apidog-tests-mcp MCP server gives an MCP client access to Apidog test-management operations for one configured project and branch. It supports the full lifecycle of API test cases, including listing, retrieving, creating, bulk creation, updating, and deletion. Test cases can be associated with API endpoints and filtered by endpoint when listing.

The server also manages multi-request test scenarios and test suites. Scenarios can be listed with their folder structure, inspected for steps, created, updated by replacing their step sets, and deleted. Suites can be listed, retrieved, created, assigned static or dynamic item groups, and deleted. Separate tools manage test data records, including CSV rows and columns connected to test cases.

Read-only tools provide context before making changes. These cover Apidog environments and base URLs, the API endpoint tree, test case categories, available tags, self-hosted runners, and endpoint test-coverage statistics. Folder tools create or delete scenario folders and create suite folders. The project is not an official Apidog integration.

## How it works

The process runs as an MCP server and uses an HTTP client for Apidog requests, adding authentication headers from the configured access token. Project and branch identifiers determine the Apidog scope used by the tools. An optional base URL can replace the default Apidog API endpoint.

For changes that depend on existing records, the server includes merge-style update operations for test cases and test data. These operations are intended to retrieve the current record and merge the requested changes rather than require a complete replacement payload. Scenario step updates set or replace the scenario's steps, while suite item updates set the suite's item configuration.

The server can be started from the globally installed npm package or invoked directly with npx. An MCP client starts the process using its command and arguments, then passes the Apidog settings through the process environment.

## Setup and configuration

Install the package globally with npm or run it through npx:

```bash
npm install -g @acabala/apidog-tests-mcp
npx @acabala/apidog-tests-mcp
```

Set these required variables before starting the process:

- `APIDOG_ACCESS_TOKEN`: Apidog access token.
- `APIDOG_PROJECT_ID`: Apidog project identifier.
- `APIDOG_BRANCH_ID`: Branch identifier to use.

`APIDOG_BASE_URL` is optional and overrides the default value, `https://api.apidog.com/api/v1`. A client configuration starts the package with `npx` and supplies these values under its MCP server environment settings. The README demonstrates this arrangement with Claude Desktop.

Use a dedicated automation token, limit its access to the required Apidog projects, rotate it regularly, and keep client configuration files private. Do not commit the token or environment-specific identifiers.

## Tools and capabilities

The available operations are grouped by resource:

- Discovery: list environments, endpoints, categories, tags, runners, and endpoint statistics.
- Test cases: list, inspect, create, bulk-create, update, and delete cases.
- Scenarios: list folders and scenarios, retrieve steps, create scenarios, replace steps, and delete scenarios.
- Suites: list folders and suites, retrieve suite details, create suites, set suite items, and delete suites.
- Test data: list and retrieve records, inspect CSV structure, and create, update, or delete data.
- Folders: create or delete scenario folders and create suite folders.

When creating route-parameterized test cases, the project documentation recommends including both `path` and `parameters.path`. It also recommends the merge-style update tools for modifications and notes that `customScript` post-processors can be used for assertions.

## Limitations and notes

It requires valid Apidog credentials and identifiers. The base URL is configurable, but the default points to Apidog's API v1 endpoint.

The listed read-only tools do not modify Apidog data. Conversely, creation, update, and deletion tools can change test-management resources, so access tokens should be scoped and protected accordingly. The documentation identifies the package as an unofficial Apidog integration and does not claim that it runs tests directly; its listed capabilities manage test definitions, suites, scenarios, and related data.

_Full upstream README: https://allmcps.com/mcp/apidog-tests-mcp/readme_

