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.
https://testingapis.com/mcpWhat its tools do
10 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
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
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
{
"tools": {
"listChanged": true
}
}Tools
10 advertised
validate_openapi — Validate an OpenAPI spec
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.
{
"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."
}
}
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}validate_json_schema — Validate JSON against a JSON Schema
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.
{
"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."
}
}
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}generate_json_schema — Generate a JSON Schema from JSON
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.
{
"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."
}
}
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}json_to_types — Generate types from JSON
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.
{
"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."
}
}
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}curl_to_code — Convert a cURL command to code
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.
{
"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"
}
}
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}convert_api_spec — Convert an API 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.
{
"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."
}
}
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}query_jsonpath — Run a JSONPath query
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.
{
"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 $."
}
}
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}explain_cron — Explain a cron expression
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.
{
"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 * * * *."
}
}
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}compare_json — Compare two JSON documents
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.
{
"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."
}
}
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}get_test_data — Get realistic test data
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.
{
"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"
}
}
}{
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}Prompts
Not advertised
Resources
Not advertised
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.
- 2026-11-22: 1 of 1 checks answered
- 2026-11-23: 4 of 4 checks answered
- 2026-11-24: 4 of 4 checks answered
- 2026-11-25: 4 of 4 checks answered
- 2026-11-26: 4 of 4 checks answered
- 2026-11-27: 4 of 4 checks answered
- 2026-11-28: 3 of 3 checks answered
- 2026-11-29: 4 of 4 checks answered
- 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.
Claude Code
claude mcp add --transport http testingapis-mcp https://testingapis.com/mcpCodex
codex mcp add testingapis-mcp --url https://testingapis.com/mcpCursor
{
"mcpServers": {
"testingapis-mcp": {
"url": "https://testingapis.com/mcp"
}
}
}Cline
{
"mcpServers": {
"testingapis-mcp": {
"type": "streamableHttp",
"url": "https://testingapis.com/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"testingapis-mcp": {
"type": "http",
"url": "https://testingapis.com/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http testingapis-mcp https://testingapis.com/mcpClaude Desktop
https://testingapis.com/mcpWindsurf
{
"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.
Other developer tools servers
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.