← testingapis.com

INDIVIDUAL MCP TOOL

curl_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.

testingapis.comnone authenticationAvailability not checked

LIVE ENDPOINT

https://testingapis.com/mcp

No auth detected

Connect to this endpoint to inspect the live schema for curl_to_code and invoke it with your own arguments.

Indexed input schema

{}

Risk classification

Potential side effects detected · medium confidence · heuristic, not a guarantee.

  • A tool name or description suggests code or command execution.
  • A tool name or description suggests retrieving external content.

Parent server

testingapis.com

CONNECT WITH APPROVAL

Client installation

Review this server and its permissions before adding it. Secret placeholders must be set locally.

Codex

~/.codex/config.toml

[mcp_servers.testingapis]
url = "https://testingapis.com/mcp"
enabled = true
Claude Code

.mcp.json

{
  "mcpServers": {
    "testingapis": {
      "type": "http",
      "url": "https://testingapis.com/mcp"
    }
  }
}
Claude Desktop

Settings → Connectors → Add custom connector

Name: testingapis
Remote MCP URL: https://testingapis.com/mcp

Add this remote URL as a custom connector in Claude Desktop. Availability depends on the user plan and workspace policy.

Cursor

.cursor/mcp.json

{
  "mcpServers": {
    "testingapis": {
      "url": "https://testingapis.com/mcp"
    }
  }
}
Visual Studio Code

.vscode/mcp.json

Add to Visual Studio Code
{
  "servers": {
    "testingapis": {
      "type": "http",
      "url": "https://testingapis.com/mcp"
    }
  }
}
Generic MCP

Client-specific MCP configuration

{
  "name": "testingapis",
  "transport": "streamable-http",
  "url": "https://testingapis.com/mcp"
}
MCP Inspector

Run the official MCP Inspector locally and enter the indexed Streamable HTTP endpoint.

Related tools

  • validate_openapi — Check an OpenAPI 3.
  • validate_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).
  • generate_json_schema — Create a JSON Schema (draft 2020-12) from a JSON sample.
  • json_to_types — Generate types for a JSON sample in TypeScript, Go (with json tags), Python (Pydantic), Java (records with Jackson), C# (System.
  • convert_api_spec — Convert between API description formats: OpenAPI 3, Swagger 2.
  • query_jsonpath — Evaluate a JSONPath expression (RFC 9535: filters like $.
  • explain_cron — 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.
  • compare_json — List the differences between two JSON documents by their data, not their text: key order never counts, and array order can be ignored.