# Postman To Curl — MCP tool `findutils:postman_to_curl`

Convert a Postman collection (v2.x JSON) into curl commands, one per request, and return them as a script plus a per-request list. Folders are walked recursively; a single request object is accepted too. Each command carries the method, resolved URL (raw or host/path/query), enabled headers, bearer or basic auth, and raw, urlencoded, or form-data bodies. Output uses short flags by default; long_form switches to --request, --header, --user, --data, --form.

- Category: network
- MCP server: https://mcp.findutils.com/ (Streamable HTTP, no API keys, 120 req/min per IP)
- REST endpoint: POST https://api.findutils.com/api/tools/postman-to-curl/execute (no API keys, 60 req/min per IP)
- Reference page: https://findutils.com/mcp/postman-to-curl/
- Same tool on the other surface: https://findutils.com/api/postman-to-curl/

## Connect

```bash
claude mcp add findutils --transport http https://mcp.findutils.com/
```

Claude Desktop (`claude_desktop_config.json`):

```json
{
  "mcpServers": {
    "findutils": {
      "url": "https://mcp.findutils.com/"
    }
  }
}
```

## Call the tool (verified example)

```bash
curl -X POST https://mcp.findutils.com/ \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "postman_to_curl",
      "arguments": {
        "collection": "{\"item\":[{\"name\":\"Get Users\",\"request\":{\"method\":\"GET\",\"url\":{\"raw\":\"https://api.example.com/users\"},\"header\":[{\"key\":\"Accept\",\"value\":\"application/json\"}]}}]}"
      }
    }
  }'
```

## Input schema

| Argument | Type | Required | Description |
|---|---|---|---|
| `collection` | string | yes | Postman collection JSON text (export format v2.0 or v2.1), or a single request object. |
| `include_headers` | boolean | no | Emit -H for each enabled header. Default: true. Default: `true`. |
| `long_form` | boolean | no | Use long flags (--request, --header, --user, --data, --form). Default: false. Default: `false`. |

Example arguments (verified):

```json
{
  "collection": "{\"item\":[{\"name\":\"Get Users\",\"request\":{\"method\":\"GET\",\"url\":{\"raw\":\"https://api.example.com/users\"},\"header\":[{\"key\":\"Accept\",\"value\":\"application/json\"}]}}]}"
}
```

Decoded `collection` argument (readability only — send it as a string):

```json
{
  "item": [
    {
      "name": "Get Users",
      "request": {
        "method": "GET",
        "url": {
          "raw": "https://api.example.com/users"
        },
        "header": [
          {
            "key": "Accept",
            "value": "application/json"
          }
        ]
      }
    }
  ]
}
```

## Also a REST endpoint

```bash
curl -X POST https://api.findutils.com/api/tools/postman-to-curl/execute \
  -H "Content-Type: application/json" \
  -d '{
    "collection": "{\"item\":[{\"name\":\"Get Users\",\"request\":{\"method\":\"GET\",\"url\":{\"raw\":\"https://api.example.com/users\"},\"header\":[{\"key\":\"Accept\",\"value\":\"application/json\"}]}}]}"
  }'

# Parameter schema
curl https://api.findutils.com/api/tools/postman-to-curl
```

Full REST reference: https://findutils.com/api/postman-to-curl/ · OpenAPI 3.1 spec: https://findutils.com/api/openapi.json

---
Full catalog: POST https://mcp.findutils.com/ with method `tools/list` · https://findutils.com/mcp/ · https://findutils.com/llms.txt
