Skip to content

OpenAPI to MCP Server Generator

Turns any OpenAPI spec into an MCP server AI assistants can call.

Advanced36h2–3 people17/20 fit
TL;DR

Build OpenAPI to MCP Server Generator for api teams and ai app builders in ~36h with 2–3 people. Stack: Node.js + MCP SDK + OpenAPI.

Why it wins: Hot protocol + huge leverage for every API.

Build flow

01 · Problem
Wiring each API into AI assistants by hand is slow and repetitive.
02 · Solution
Read an OpenAPI spec, generate typed MCP tools per endpoint, with auth and allow-lists.
03 · Build
  1. 1Parse OpenAPI
  2. 2Map operations → tool schemas
  3. 3Generate server code
  4. 4Test with an MCP client
04 · Demo
Paste a spec URL → server generated → assistant calls a real endpoint live.

MVP checklist

  • Spec import
  • Tool generation per endpoint
  • Auth config
  • Endpoint allow-list

Tech stack

TechRole
Node.jsBackend runtime
MCP SDKModel Context Protocol tools
OpenAPIAPI specification

Reference repos

Open-source projects you can build on. Links checked 2026-10-31.

Related ideas

More Devtools
  • Put a policy layer between agents and tools so risky actions need approval

    Advanced26h1–3
    Node.jsMCP SDKPostgres
    16/20
  • Let any MCP-capable assistant label, dedupe and prioritise your repo's issues

    Intermediate14h1–2
    MCP SDKGitHub APIEmbeddings
    17/20