Apidog MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Apidog MCP Server show me test coverage for my API endpoints"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@ivanherula/apidog-mcp-server
MCP server for Apidog — read API specs, manage test cases, scenarios, suites, test data, and import/export OpenAPI specs from Claude Code or any MCP client.
Quick Start
{
"mcpServers": {
"apidog": {
"command": "npx",
"args": [
"-y",
"@ivanherula/apidog-mcp-server@latest"
],
"env": {
"APIDOG_ACCESS_TOKEN": "your-token",
"APIDOG_PROJECT_ID": "your-project-id"
}
}
}
}Related MCP server: swagger-api-mcp-server
Environment Variables
Variable | Required | Default | Description |
| Yes | — | Apidog API access token |
| Yes | — | Apidog project ID |
| No | — | Branch ID (for branched projects) |
| No |
| Internal API base URL |
| No |
|
|
Tools (36)
Spec (5)
list_environments— List all environments (DEV, TEST, PROD, etc.) with their base URLslist_endpoints— List the full endpoint tree with IDs, names, and folder structure. SupportsmoduleIdandsearchfilters.get_endpoint_statistics— Get endpoint test coverage statisticslist_test_case_categories— List all test case categorieslist_test_case_tags— List all test case tags
Test Cases (6)
list_test_cases— List test cases filtered by endpoint ID, with paginationget_test_case— Get full details of a single test casecreate_test_case— Create a test case. RequiresapiDetailId(fromlist_endpoints) andresponseId(from the internal endpoint details API — see note below)bulk_create_test_cases— Create multiple test cases in one callupdate_test_case— Merge-update a test case (fetches current state, applies only provided fields)delete_test_case— Delete a test case
responseIdnote: This is the internal ID of a response definition on an endpoint. Fetch it with:curl -s "https://api.apidog.com/api/v1/projects/{projectId}/http-apis/{endpointId}?locale=en-US" \ -H "Authorization: Bearer $APIDOG_ACCESS_TOKEN" \ | python3 -c "import sys,json; d=json.load(sys.stdin); [print(r['id'], r['name']) for r in d['data']['responses']]"Pass it as a string (e.g.,
"177230609").
Test Scenarios (7)
list_test_scenarios— List all test scenariosget_test_scenario_steps— Get the steps of a scenariocreate_test_scenario— Create a test scenarioupdate_test_scenario_steps— Replace the steps of a scenariodelete_test_scenario— Delete a scenariocreate_scenario_folder— Create a scenario folderdelete_scenario_folder— Delete a scenario folder
Test Suites (7)
list_test_suites— List all test suitesget_test_suite— Get suite details including scenario IDs and environmentcreate_test_suite— Create a test suiteupdate_test_suite— Update a test suitedelete_test_suite— Delete a test suitecreate_suite_folder— Create a suite folderdelete_suite_folder— Delete a suite folder
Test Data (5)
list_test_data— List test data setsget_test_data— Get a test data set with all rowscreate_test_data— Create a parameterized test data set (CSV format)update_test_data— Update a test data setdelete_test_data— Delete a test data set
Import / Export (5)
import_openapi— Import a full OpenAPI/Swagger spec (JSON or YAML string) into the project. Supports Swagger 2.0, OpenAPI 3.0, and 3.1. Control target folders and overwrite behavior per resource type.import_endpoint— Import a single endpoint without writing a full spec. Accepts structured parameters, requestBody, and responses objects directly.import_schema— Import a single data model/schema component.import_endpoints_from_url— Import an OpenAPI/Swagger spec from a remote URL, with optional basic auth. Endpoint and schema overwrite behaviors are controlled independently.export_openapi— Export the project spec in OpenAPI 3.0, 3.1, or Swagger 2.0 format (JSON or YAML), optionally filtered by endpoints, folders, or tags.
Tags become sub-folders: If an imported spec includes
tagson path operations, Apidog places the endpoints in a sub-folder named after the tag insidetargetEndpointFolderId. Omittags(or strip them before import) to land endpoints directly in the target folder.
Runners (1)
list_runners— List self-hosted test runners
License
MIT
Available Tools
36 toolsbulk_create_test_casesB
Bulk create multiple test cases at once
Inputs: testCases (required).
create_scenario_folderC
Create a folder for organizing test scenarios
Inputs: name (required), ordering, parentId.
create_suite_folderC
Create a folder for organizing test suites
Inputs: name (required), ordering, parentId.
create_test_caseB
Create a new test case. Requires apiDetailId (from list_endpoints) and responseId.
Inputs: name (required), path (required), apiDetailId (required), type, +9 more.
create_test_dataC
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.
Inputs: data (required), columns (required), relatedId (required), environmentId.
create_test_scenarioC
Create a new test scenario (multi-step test flow)
Inputs: name (required), folderId (required), tags, ordering, +2 more.
create_test_suiteB
Create a new test suite for CI grouping
Inputs: name (required), tags, folderId, ordering, +4 more.
delete_scenario_folderC
Delete a test scenario folder
Inputs: folderId (required).
delete_suite_folderC
Delete a test suite folder
Inputs: folderId (required).
delete_test_caseB
Delete a test case by ID
Inputs: testCaseId (required).
delete_test_dataC
Delete a test data record by ID
Inputs: testDataId (required).
delete_test_scenarioC
Delete a test scenario by ID
Inputs: scenarioId (required).
delete_test_suiteB
Delete a test suite by ID
Inputs: suiteId (required).
export_openapiA
Export the project API spec in OpenAPI format. Returns the full spec or a filtered subset.
Inputs: scopeType, oasVersion, exportFormat, selectedTags, +2 more.
get_endpoint_statisticsC
Get endpoint test coverage statistics
Inputs: no named parameters.
get_test_caseC
Get full details of a single test case by ID
Inputs: testCaseId (required).
get_test_dataB
Get a specific test data record including the CSV data rows and column definitions
Inputs: testDataId (required).
get_test_scenario_stepsB
Get the steps (API calls) of a test scenario
Inputs: scenarioId (required).
get_test_suiteC
Get a test suite by ID with its items
Inputs: suiteId (required).
import_endpointB
Import a single API endpoint by wrapping it into a minimal OpenAPI 3.1 spec and importing it. Convenient for adding or updating one endpoint at a time without providing a full spec.
Inputs: path (required), method (required), tags, summary, +6 more.
import_endpoints_from_urlC
Import an OpenAPI/Swagger spec from a remote URL into the project.
Inputs: url (required), password, username, targetSchemaFolderId, +3 more.
import_openapiA
Import a full OpenAPI/Swagger spec (JSON or YAML string) into the project. Use this to create or update endpoints and schemas in bulk. To import from a URL use import_endpoints_from_url instead.
Inputs: input (required), targetSchemaFolderId, targetEndpointFolderId, schemaOverwriteBehavior, +2 more.
import_schemaB
Import a single data model/schema by wrapping it into a minimal OpenAPI spec and importing it.
Inputs: name (required), schema (required), overwriteBehavior, targetSchemaFolderId.
list_endpointsA
List API endpoints tree with IDs, names, and folder structure. Use moduleId to filter by service module. Use search to filter by name.
Inputs: search, moduleId.
list_environmentsA
List all environments (DEV, TEST, PROD, etc.) with their base URLs
Inputs: no named parameters.
list_runnersB
List self-hosted test runners
Inputs: no named parameters.
list_test_case_categoriesB
List all test case categories (folder tree)
Inputs: no named parameters.
list_test_casesA
List test cases (id, name, type, apiDetailId, categoryId, tagIds). Supports filtering by endpoint and pagination. Use get_test_case for full details.
Inputs: page, pageSize, endpointId.
list_test_case_tagsB
List all test case tags
Inputs: no named parameters.
list_test_dataA
List test data records for a test case. Returns metadata but not the actual data rows — use get_test_data for that.
Inputs: entityId (required).
list_test_scenariosA
List all test scenarios (compact summary: id, name, folderId, priority, tags, description, ordering, status)
Inputs: no named parameters.
list_test_suitesA
List all test suites (compact summary: id, name, folderId, priority, tags, description, ordering, status)
Inputs: no named parameters.
update_test_caseB
Update an existing test case (merge update — fetches current state first, only provided fields are changed)
Inputs: testCaseId (required), name, type, steps, +7 more.
update_test_dataB
Update an existing test data record (merge update — fetches current state first)
Inputs: testDataId (required), data, columns.
update_test_scenario_stepsA
Set or update the steps in a test scenario (replaces all steps)
Inputs: steps (required), scenarioId (required).
update_test_suiteA
Update a test suite (merge update — fetches current state first)
Inputs: suiteId (required), name, items, description.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 36 tools
Most tools target a distinct resource+action (test cases, suites, scenarios, test data, environments, imports), and descriptions explicitly disambiguate close pairs like list_test_cases vs get_test_case and list_test_data vs get_test_data. The main soft spot is the four import tools (import_openapi, import_endpoint, import_schema, import_endpoints_from_url), which are only separated by descriptive caveats, plus create_scenario_folder vs create_suite_folder which look interchangeable at a glance.
Names consistently follow snake_case verb_noun (list_*, get_*, create_*, update_*, delete_*, import_*, export_*), so an agent can predict names. Minor deviations: bulk_create_test_cases prefixes the verb, and folder tools use resource-last ordering (create_scenario_folder, delete_suite_folder) rather than the resource-first pattern used elsewhere.
At 36 tools this is heavy for the apparent scope, and some of the budget is spent on redundant or asymmetric entries (four import variants, create/delete folder pairs with no list or rename). The breadth of the domain (endpoints, cases, suites, scenarios, data, imports) justifies many tools, but the set could be trimmed to the low 20s without losing capability.
Test cases, suites, and test data have full CRUD, but the scenario lifecycle is lopsided: there is update_test_scenario_steps and delete_test_scenario yet no update for scenario metadata (name, folder, priority). Folders can only be created or deleted (no list/get/rename, and none at all for test-case categories beyond listing), and endpoints can be read/imported but not created or edited directly.
Maintenance
Related MCP Connectors
Single-connection MCP gateway discovering and executing 490+ verified MCP & A2A tools.
Governed data discovery, exact queries, decisions, simulations, and runtime utilities over MCP.
19 Data/API/Code MCP tools: OpenAPI, GraphQL, cURL, SQL/ER, JSON-TS/Path/Diff, YAML, SemVer.
Find, document and execute authenticated API calls across 1000+ apps via one MCP server
Related MCP Servers
- AlicenseAqualityDmaintenanceMCP server for API test case generation from Swagger/OpenAPI specs. Parses Swagger 2.0 and OpenAPI 3.x, generates test cases across 8 categories (positive, negative, boundary, auth, security, idempotency, pagination, business logic), and exports to Postman, TestRail, Allure, k6, pytest, Gherkin, and CSV. Supports internal corporate APIs with auth headers. Auto-saves export files to your working di1011 npm2MIT
- AlicenseAqualityDmaintenanceParses Swagger 2.0 and OpenAPI 3.x specifications, exposing API endpoints, schemas, and authentication through MCP tools with local caching to reduce token usage.1115 npm1MIT
- FlicenseNot gradedqualityBmaintenanceEnables AI-powered QA workflows including requirement analysis, test case generation/review, versioned project persistence, and import/export through MCP tools.-
- FlicenseNot gradedqualityDmaintenanceEnables MCP-compatible clients to discover API endpoints from OpenAPI/Swagger specs, send HTTP requests, validate responses, and analyze status codes for automated API testing.1-