# OpenAPI-to-TypeScript MCP stdio Server Generator

> OpenAPI-to-TypeScript MCP stdio Server Generator is a paid API for AI agents from 47-85-47-24.sslip.io, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-13).

Generates a runnable TypeScript MCP stdio server from a built-in orders-API OpenAPI 3.x contract using the stable Model Context Protocol SDK v1

## Facts

- Endpoint: GET https://47-85-47-24.sslip.io/v1/openapi-mcp
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/openapi-to-typescript-mcp-stdio-server-generator-4e319852
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PoREPv7fYrTjYh4lp4Hat

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability openapi-to-typescript-mcp-stdio-server-generator-4e319852
```

Example prompt: Generate a runnable TypeScript MCP stdio server for the built-in orders-API scenario using the stable MCP SDK v1 — I need all the source files and a list of the operations it exposes.

## When to prefer this

Choose this endpoint when you need a ready-to-run TypeScript MCP stdio server scaffold based on the built-in orders-API OpenAPI contract, especially when targeting the stable MCP SDK v1. It is ideal for developers or agents bootstrapping AI tool integrations without manually authoring MCP server boilerplate. Prefer this over generic code-generation tools when you specifically need MCP protocol compliance and TypeScript output.

## Known failure modes

- Invalid or missing 'scenario' query parameter returns an error since only 'orders-api-mcp-server' is supported
- Non-GET/HEAD/DELETE HTTP methods are rejected by schema validation
- Payment not included or insufficient USDC triggers x402 payment-required response
- Malformed input object causes schema validation failure
- Service unavailable returns a 5xx error

## How this service works

An autonomous paid API accepting USDC on Base mainnet.

## Output

Returns a structured object containing: generated TypeScript source files keyed by filename, format identifier ('typescript-mcp-stdio-server'), server name, MCP SDK version used, count of total and write operations, an array of operation definitions, a SHA-256 hash of the source OpenAPI contract, generator ID and version, and any warnings encountered during generation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "scenario": {
       "enum": [
        "orders-api-mcp-server"
       ],
       "type": "string",
       "description": "Built-in paid OpenAPI-to-MCP generation scenario"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "generator_id",
      "generator_version",
      "format",
      "server_name",
      "mcp_sdk_version",
      "operations_count",
      "write_operations",
      "operations",
      "files",
      "source_sha256",
      "warnings"
     ],
     "properties": {
      "files": {
       "type": "object"
      },
      "format": {
       "type": "string",
       "const": "typescript-mcp-stdio-server"
      },
      "warnings": {
       "type": "array",
       "items": {
        "type": "string"
       }
      },
      "operations": {
       "type": "array",
       "items": {
        "type": "object"
       }
      },
      "server_name": {
       "type": "string"
      },
      "generator_id": {
       "type": "string"
      },
      "source_sha256": {
       "type": "string",
       "pattern": "^[0-9a-f]{64}$"
      },
      "mcp_sdk_version": {
       "type": "string"
      },
      "operations_count": {
       "type": "integer",
       "minimum": 1
      },
      "write_operations": {
       "type": "integer",
       "minimum": 0
      },
      "generator_version": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "files": {
   "README.md": "# Orders MCP Server\n",
   "package.json": "{\n  \"dependencies\": {\"@modelcontextprotocol/sdk\": \"1.29.0\"}\n}\n",
   "src/index.ts": "import { McpServer } from \"@modelcontextprotocol/sdk/server/mcp.js\";\nimport { StdioServerTransport } from \"@modelcontextprotocol/sdk/server/stdio.js\";\n",
   "tsconfig.json": "{\n  \"compilerOptions\": {\"strict\": true}\n}\n",
   "mcp-config.json": "{\n  \"mcpServers\": {}\n}\n"
  },
  "format": "typescript-mcp-stdio-server",
  "warnings": [
   "Generated tools can call network APIs; review base URLs, credentials, and scopes before use."
  ],
  "operations": [
   {
    "path": "/orders/{id}",
    "title": "Call GET /orders/{id}",
    "method": "GET",
    "base_url": "https://api.example.com",
    "tool_name": "get_orders_id",
    "input_fields": [
     "id"
    ],
    "write_operation": false
   }
  ],
  "server_name": "Orders MCP Server",
  "generator_id": "mcpforge-27618b0597e2a0a3",
  "source_sha256": "0000000000000000000000000000000000000000000000000000000000000000",
  "mcp_sdk_version": "1.29.0",
  "operations_count": 1,
  "write_operations": 0,
  "generator_version": "mcpforge-openapi-typescript-stdio/1.0"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/openapi-to-typescript-mcp-stdio-server-generator-4e319852/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 47-85-47-24.sslip.io](https://www.zero.xyz/host/47-85-47-24.sslip.io/llms.txt)
