Openapi MCP Server

Library that generates Typescript clients based on the OpenAPI specification.

Local serverstdioTypeScript

What is the Openapi MCP Server?

Library that generates Typescript clients based on the OpenAPI specification.

What it actually does

Due to time limitations on my end, this project has been unmaintained for a while now. The @hey-api/openapi-ts project started as a fork with the goal to resolve the most pressing issues. going forward they are planning to maintain the OpenAPI generator and give it the love it deserves. Please support them with their work and make sure to migrate your projects: https://heyapi.dev/openapi-ts/migrating.html#openapi-typescript-codegen

  • Frontend ❤️ OpenAPI, but we do not want to use JAVA codegen in our builds
  • Quick, lightweight, robust and framework-agnostic 🚀
  • Supports generation of TypeScript clients
  • Supports generations of Fetch, Node-Fetch, Axios, Angular and XHR http clients
  • Supports OpenAPI specification v2.0 and v3.0
  • Supports JSON and YAML files for input

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the Openapi MCP Server

{
  "mcpServers": {
    "openapi-mcp-codegen": {
      "command": "npx",
      "args": ["-y", "openapi-typescript-codegen"]
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Frequently asked questions

Library that generates Typescript clients based on the OpenAPI specification. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.