What openapi-to-mcpserver does
openapi-to-mcpserver is a Go command-line tool that reads an OpenAPI specification in JSON or YAML and writes an MCP server configuration file, converting each OpenAPI path into a tool with its arguments, request template and response template. The output is a configuration rather than server code: it is added to a Higress gateway configuration, and a template file can patch common headers, authentication or output schemas into every tool.
Why teams reach for it: It removes the hand-translation between an existing REST API and an MCP tool list: one command turns every path into a tool, sets each path, query, header, cookie and body parameter to its right position, carries the OpenAPI descriptions and security schemes across, and emits output schemas for MCP 2025-06-18 structured content, so the API reaches agents through Higress from its specification alone.
How openapi-to-mcpserver compares
Fields the vendor doesn't document are left blank here rather than guessed — a blank means nothing verified, not a "no."
- Language
- Go
- Official Sdk
- No
- Spec Revision Implemented
- 2025-06-18
- Transports
- Not applicable
- Generates From Openapi
- Yes
- Package Registry
- Go modules
- Package Name
- github.com/higress-group/openapi-to-mcpserver
What will you use to implement the protocol?
A framework or SDK gives developers pre-built code for creating an MCP server or client, so they don't have to implement the protocol from scratch.