Api-test-mcp Server

An MCP server that gives Claude Code, Cursor, Windsurf, or any MCP-compatible AI agent the ability to actually call your API and check the response against what your OpenAPI spec promises — not just…

Local serverstdioMIT

What is the Api-test-mcp Server?

api-test-mcp is an MCP project maintained in the thisis-najeeb/api-test-mcp repository. The maintainer describes its purpose as “An MCP server that gives Claude Code, Cursor, Windsurf, or any MCP-compatible AI agent the ability to actually call your API and check the response…”. Read the project documentation for the complete scope.

Local setup

The project provides a local client configuration using node. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
load_api_specLoad and dereference an OpenAPI/Swagger spec from a URL or local path. Returns the API title, servers, and every documented endpoint. Call this first.
list_endpointsList every endpoint currently loaded.
call_endpointMake a real HTTP call to a documented endpoint. Returns the real status, headers, and body.
validate_responseCheck a response body against the JSON schema documented for a given method + path + status.
test_endpointcall_endpoint + validate_response in one step. The main tool — "does this endpoint actually work as documented?"
run_all_testsBest-effort contract-test pass across every GET endpoint that needs no required parameters. Pass includeMutating: true to also auto-generate example…
check_healthOne-shot ping across a set of endpoints (or every parameter-free GET in the loaded spec): reports reachability and latency. Handy before a demo or as a CI…
diff_api_specsCompare two versions of a spec (e.g. an old tag vs. main) and flag likely-breaking changes — removed endpoints, newly-required fields, type changes, removed…

How to install the Api-test-mcp Server

{
  "mcpServers": {
    "api-test": {
      "command": "node",
      "args": [
        "/absolute/path/to/api-test-mcp/src/index.js"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.