Koskamo

TestingAPIs MCP

An official MCP server that integrates TestingAPIs' developer tools into AI assistants, allowing agents to validate OpenAPI specs and JSON schemas, convert cURL commands to code, generate types, convert API specifications, query JSONPath, explain cron expressions, compare JSON documents, and fetch realistic test data from free mock APIs.

Endpoint and access

No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.

TestingAPIs MCP logo, by Testing APIsVendor evidenceStreamable HTTPNo sign-inEndpoint checked 2026-11-30Operated by Testing APIs
MCP endpoint (Streamable HTTP)
https://testingapis.com/mcp
Vendor documentation

What its tools do

10 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.

10 of 10 have a description · 10 of 10 declare behavior hints · 6 of 10 with parameters document them all

Checks and signals

Each line is separate evidence, not a trust score.

  • Passed Endpoint answered the live check ·
  • Passed Official MCP Registry namespace is tied to testingapis.com ·
  • Passed Endpoint is on the registry namespace domain ·
  • Uptime 100% over 90 days
  • Availability 3 of 3 checks passed in 30 days

What you can do with it

  • Validate OpenAPI or Swagger specifications for errors
  • Convert cURL commands into Python, JavaScript, or Go code
  • Generate TypeScript, Go, or Python types from JSON samples
  • Fetch realistic sample products or users for testing

Source and maintenance

Vendor evidenceRegistry 1.0.0

Protocol and capabilities

Server
testingapis 1.0.0
MCP protocol negotiated in check
2025-11-25
Tools
10 advertised
Resources
Not advertised
Resource templates
Not advertised
Prompts
Not advertised
Server-advertised capabilities
{
  "tools": {
    "listChanged": true
  }
}

Tools

10 advertised

validate_openapi — Validate an OpenAPI spec
Advertised by the server during the last successful anonymous check.
Advertised read-only

Check an OpenAPI 3.0/3.1 or Swagger 2.0 document (JSON or YAML) for the mistakes that break tools: missing required fields, undeclared path parameters, invalid status codes, duplicate operationIds, broken $refs, undefined security schemes and examples that don't match their schema. Returns each problem with a JSON pointer and, for JSON, a line number.

validate_openapi input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "spec"
  ],
  "properties": {
    "spec": {
      "type": "string",
      "maxLength": 1000000,
      "description": "The whole OpenAPI or Swagger document, as JSON or YAML text."
    }
  }
}
validate_openapi annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
validate_json_schema — Validate JSON against a JSON Schema
Advertised by the server during the last successful anonymous check.
Advertised read-only

Check a JSON document against a JSON Schema (drafts 4 to 2020-12, with $ref, allOf/anyOf/oneOf, if/then/else and formats). Returns every error with the JSONPath of the value and the keyword that failed.

validate_json_schema input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "schema",
    "data"
  ],
  "properties": {
    "data": {
      "type": "string",
      "maxLength": 1000000,
      "description": "The JSON document to check, as JSON text."
    },
    "schema": {
      "type": "string",
      "maxLength": 1000000,
      "description": "The JSON Schema, as JSON text."
    }
  }
}
validate_json_schema annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
generate_json_schema — Generate a JSON Schema from JSON
Advertised by the server during the last successful anonymous check.
Advertised read-only

Create a JSON Schema (draft 2020-12) from a JSON sample. Every item in an array is read, so required, optional and nullable properties are worked out, and strings that are all dates, emails, URLs or UUIDs get a format.

generate_json_schema input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "json"
  ],
  "properties": {
    "json": {
      "type": "string",
      "maxLength": 1000000,
      "description": "A JSON sample, such as an API response."
    },
    "strict": {
      "type": "boolean",
      "description": "Add additionalProperties: false to every object."
    }
  }
}
generate_json_schema annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
json_to_types — Generate types from JSON
Advertised by the server during the last successful anonymous check.
Advertised read-only

Generate types for a JSON sample in TypeScript, Go (with json tags), Python (Pydantic), Java (records with Jackson), C# (System.Text.Json), Kotlin (kotlinx.serialization) or Rust (serde). Optional and nullable fields are worked out from every item in arrays.

json_to_types input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "json",
    "language"
  ],
  "properties": {
    "json": {
      "type": "string",
      "maxLength": 1000000,
      "description": "A JSON sample, such as an API response."
    },
    "language": {
      "enum": [
        "typescript",
        "go",
        "python",
        "java",
        "csharp",
        "kotlin",
        "rust"
      ],
      "type": "string"
    },
    "rootName": {
      "type": "string",
      "maxLength": 60,
      "description": "Name of the top-level type; Root by default."
    }
  }
}
json_to_types annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
curl_to_code — Convert a cURL command to code
Advertised by the server during the last successful anonymous check.
Advertised read-only

Turn a cURL command (bash, Windows cmd or PowerShell, as copied from browser devtools) into the same request in Python requests, JavaScript fetch or axios, Go, Java, C#, PHP, or a tidy cURL command. Headers, body, auth, timeouts and redirects are carried over.

curl_to_code input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "command",
    "language"
  ],
  "properties": {
    "command": {
      "type": "string",
      "maxLength": 1000000,
      "description": "The cURL command."
    },
    "language": {
      "enum": [
        "python",
        "fetch",
        "axios",
        "go",
        "java",
        "csharp",
        "php",
        "curl"
      ],
      "type": "string"
    }
  }
}
curl_to_code annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
convert_api_spec — Convert an API description
Advertised by the server during the last successful anonymous check.
Advertised read-only

Convert between API description formats: OpenAPI 3, Swagger 2.0, a Postman collection, cURL commands or a HAR recording in; OpenAPI 3.1 (JSON or YAML), Swagger 2.0, a Postman collection v2.1, cURL commands or an .http file out. Anything the target format can't hold is listed.

convert_api_spec input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "source",
    "to"
  ],
  "properties": {
    "to": {
      "enum": [
        "openapi-json",
        "openapi-yaml",
        "swagger-json",
        "postman",
        "curl",
        "http"
      ],
      "type": "string"
    },
    "source": {
      "type": "string",
      "maxLength": 1000000,
      "description": "The API description: OpenAPI or Swagger (JSON or YAML), a Postman collection, cURL commands or a HAR file."
    }
  }
}
convert_api_spec annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
query_jsonpath — Run a JSONPath query
Advertised by the server during the last successful anonymous check.
Advertised read-only

Evaluate a JSONPath expression (RFC 9535: filters like $..book[?@.price < 10], slices, recursive descent, length/count/match/search) against JSON. Returns each match with its normalized path.

query_jsonpath input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "json",
    "path"
  ],
  "properties": {
    "json": {
      "type": "string",
      "maxLength": 1000000,
      "description": "The JSON to search."
    },
    "path": {
      "type": "string",
      "maxLength": 2000,
      "description": "The JSONPath, starting with $."
    }
  }
}
query_jsonpath annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
explain_cron — Explain a cron expression
Advertised by the server during the last successful anonymous check.
Advertised read-only

Read a cron expression (5 fields as in crontab, GitHub Actions and Kubernetes, or 6 with seconds as in Spring/Quartz, or @daily and the other shortcuts) in plain English, and list its next run times in UTC.

explain_cron input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "expression"
  ],
  "properties": {
    "count": {
      "type": "integer",
      "maximum": 20,
      "minimum": 1,
      "description": "How many next run times to list (5 by default)."
    },
    "expression": {
      "type": "string",
      "maxLength": 200,
      "description": "The cron expression, such as */15 * * * *."
    }
  }
}
explain_cron annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
compare_json — Compare two JSON documents
Advertised by the server during the last successful anonymous check.
Advertised read-only

List the differences between two JSON documents by their data, not their text: key order never counts, and array order can be ignored. Each difference has its JSONPath and both values.

compare_json input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "original",
    "changed"
  ],
  "properties": {
    "changed": {
      "type": "string",
      "maxLength": 1000000,
      "description": "The second JSON document."
    },
    "original": {
      "type": "string",
      "maxLength": 1000000,
      "description": "The first JSON document."
    },
    "ignoreArrayOrder": {
      "type": "boolean",
      "description": "Match array items by content instead of position."
    }
  }
}
compare_json annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
get_test_data — Get realistic test data
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Fetch realistic sample records from the free testingapis.com API to use as test data or fixtures: products (with prices, categories, ratings), blog posts or todos. Every record comes from a real, public REST endpoint the user can also call.

get_test_data input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "resource"
  ],
  "properties": {
    "id": {
      "type": "integer",
      "maximum": 9007199254740991,
      "description": "One record by its id, instead of a list.",
      "exclusiveMinimum": 0
    },
    "limit": {
      "type": "integer",
      "maximum": 20,
      "minimum": 1,
      "description": "How many records (5 by default)."
    },
    "resource": {
      "enum": [
        "products",
        "posts",
        "todos"
      ],
      "type": "string"
    }
  }
}
get_test_data annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}

Prompts

Not advertised

No prompt definitions available.

Resources

Not advertised

No resource definitions available.

90-day uptime

A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.

100% (32 of 32 checks answered)

  1. 2026-11-22: 1 of 1 checks answered
  2. 2026-11-23: 4 of 4 checks answered
  3. 2026-11-24: 4 of 4 checks answered
  4. 2026-11-25: 4 of 4 checks answered
  5. 2026-11-26: 4 of 4 checks answered
  6. 2026-11-27: 4 of 4 checks answered
  7. 2026-11-28: 3 of 3 checks answered
  8. 2026-11-29: 4 of 4 checks answered
  9. 2026-11-30: 4 of 4 checks answered

30-day availability

Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.

Successful checks
3 of 3 (100%)
Average latency
773 ms
95th percentile latency
1131 ms

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · probe · passed · 1156 ms · 10 tool(s)
  • · probe · passed · 906 ms · 10 tool(s)
  • · probe · passed · 257 ms · metadata changed · 10 tool(s)

Connect from your client

Each snippet registers the same endpoint; pick the client you use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http testingapis-mcp https://testingapis.com/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add testingapis-mcp --url https://testingapis.com/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable testingapis-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "testingapis-mcp": {
      "url": "https://testingapis.com/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "testingapis-mcp": {
      "type": "streamableHttp",
      "url": "https://testingapis.com/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start testingapis-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "testingapis-mcp": {
      "type": "http",
      "url": "https://testingapis.com/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http testingapis-mcp https://testingapis.com/mcp

Claude Desktop

Open Claude Settings > Connectors > Add custom connector, enter this server URL and enable it for the conversation. This is a manual remote-connector handoff, not a desktop JSON configuration.
Claude Desktop configuration
https://testingapis.com/mcp

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "mcpServers": {
    "testingapis-mcp": {
      "serverUrl": "https://testingapis.com/mcp"
    }
  }
}

Let your agent find its tools

Find servers like TestingAPIs MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.

Do you run TestingAPIs MCP?

Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.

Claim this listing