TestingAPIs API tools is an MCP server published by com.testingapis, hosted at testingapis.com. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 10 tools, including validate_openapi, validate_json_schema, generate_json_schema, json_to_types, curl_to_code.
Validate OpenAPI and JSON Schema, convert specs, curl to code, JSONPath, and free test data.
Nothing else in the archive shares these values.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
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.
| Parameter | Type | Description |
|---|---|---|
| spec * | string | The whole OpenAPI or Swagger document, as JSON or YAML text. |
{
"name": "validate_openapi",
"title": "Validate an OpenAPI spec",
"description": "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.",
"inputSchema": {
"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."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}None yet. Changes appear after a server's second daily check.
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.
| Parameter | Type | Description |
|---|---|---|
| data * | string | The JSON document to check, as JSON text. |
| schema * | string | The JSON Schema, as JSON text. |
{
"name": "validate_json_schema",
"title": "Validate JSON against a JSON Schema",
"description": "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.",
"inputSchema": {
"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."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| json * | string | A JSON sample, such as an API response. |
| strict | boolean | Add additionalProperties: false to every object. |
{
"name": "generate_json_schema",
"title": "Generate a JSON Schema from JSON",
"description": "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.",
"inputSchema": {
"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."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| json * | string | A JSON sample, such as an API response. |
| language * | string | one of ["typescript","go","python","java","csharp","kotlin","rust"] |
| rootName | string | Name of the top-level type; Root by default. |
{
"name": "json_to_types",
"title": "Generate types from JSON",
"description": "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.",
"inputSchema": {
"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."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| command * | string | The cURL command. |
| language * | string | one of ["python","fetch","axios","go","java","csharp","php","curl"] |
{
"name": "curl_to_code",
"title": "Convert a cURL command to code",
"description": "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.",
"inputSchema": {
"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"
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| to * | string | one of ["openapi-json","openapi-yaml","swagger-json","postman","curl","http"] |
| source * | string | The API description: OpenAPI or Swagger (JSON or YAML), a Postman collection, cURL commands or a HAR file. |
{
"name": "convert_api_spec",
"title": "Convert an API description",
"description": "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.",
"inputSchema": {
"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."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| json * | string | The JSON to search. |
| path * | string | The JSONPath, starting with $. |
{
"name": "query_jsonpath",
"title": "Run a JSONPath query",
"description": "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.",
"inputSchema": {
"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 $."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| count | integer | How many next run times to list (5 by default). |
| expression * | string | The cron expression, such as */15 * * * *. |
{
"name": "explain_cron",
"title": "Explain a cron expression",
"description": "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.",
"inputSchema": {
"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 * * * *."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| changed * | string | The second JSON document. |
| original * | string | The first JSON document. |
| ignoreArrayOrder | boolean | Match array items by content instead of position. |
{
"name": "compare_json",
"title": "Compare two JSON documents",
"description": "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.",
"inputSchema": {
"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."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| id | integer | One record by its id, instead of a list. |
| limit | integer | How many records (5 by default). |
| resource * | string | one of ["products","posts","todos"] |
{
"name": "get_test_data",
"title": "Get realistic test data",
"description": "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.",
"inputSchema": {
"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"
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Names, descriptions and schemas were written by the server and are shown as data.