BTBrowserTools

OpenAPI to MCP Tool Schema Generator

Bridge existing REST APIs to AI agents by converting OpenAPI paths and request bodies into ready-to-use MCP tool schemas.

Instant Execution · No Sign-Up
100% In-Browser Processing (Zero Server Uploads)

How to Use OpenAPI to MCP Tool Schema Generator

  1. 1

    Input OpenAPI Specification

    Paste a single OpenAPI 3.0/3.1 path item or full specification document in JSON format.

  2. 2

    Generate MCP Tool Definitions

    Click Run Tool to merge path parameters, query strings, and requestBody schemas into a unified MCP inputSchema.

  3. 3

    Copy into Your MCP Server

    Copy the generated tools array directly into your TypeScript or Python MCP server handler.

Frequently Asked Questions

How are path, query, and body parameters combined?

The generator flattens path, query, and JSON body properties into a single top-level JSON Schema object while preserving required arrays and field descriptions for LLM tool-calling.

Does it resolve local $ref pointers?

Yes, internal component references (#/components/schemas/...) are automatically dereferenced so the resulting MCP tool schema is self-contained.

Can I convert multi-endpoint OpenAPI specs at once?

Yes, all HTTP operations across every path in your OpenAPI document are converted into an array of MCP tool definitions in one pass.

Related Free Tools