Skip to main content

OpenAPI to MCP tool schema

Convert an OpenAPI 3 JSON document into MCP-style tool schemas in your browser. Paste JSON only; this is a structural mapping, not an official MCP export.

Maps OpenAPI 3.x paths operations to a list of MCP-style tools (name, description, inputSchema). Paste JSON only; YAML is not parsed here. This is a structural conversion, not an official MCP SDK export. Runs in your browser.

Map OpenAPI 3.x paths operations to MCP-style tools (name, description, inputSchema). Paste JSON and convert. YAML is not parsed here. This is a structural conversion, not an official MCP SDK export. Nothing is sent to a server.

How to use

  1. Paste an OpenAPI 3 JSON document.
  2. Choose Convert.
  3. Copy the generated tools JSON, or fix the error if the document is not JSON or has no path operations.

Methodology · Tools

How we check

Conversion of path operations (including operationId, parameters, and a JSON request body) was checked against openApiToMcp tests on 2026-11-11 (Asia/Colombo).

More free tools