- OpenAPI to MCP Server
OpenAPI to MCP Server
A tool&lib that can automatically convert OpenAPI documents into Higress remote MCP server configurations.
Overview
What is OpenAPI to MCP Server?
OpenAPI to MCP Server is a tool that automatically converts OpenAPI documents into Higress remote MCP server configurations, facilitating the integration of APIs with the Model Context Protocol.
How to use OpenAPI to MCP Server?
To use the tool, install it via Go and run the command with the required input and output file paths. For example:
openapi-to-mcp --input path/to/openapi.json --output path/to/mcp-server.yaml
Key features of OpenAPI to MCP Server?
- Converts OpenAPI paths to MCP tools
- Supports both JSON and YAML OpenAPI specifications
- Generates MCP configuration with server and tool definitions
- Preserves parameter descriptions and types
- Automatically sets parameter positions based on OpenAPI parameter locations
- Handles path, query, header, cookie, and body parameters
- Generates response templates with field descriptions
- Optional validation of OpenAPI specifications
- Supports template-based patching of the generated configuration
Use cases of OpenAPI to MCP Server?
- Automating the configuration of MCP servers from OpenAPI specifications.
- Simplifying the integration of REST APIs with Higress.
- Enhancing API documentation and response handling through generated templates.
FAQ from OpenAPI to MCP Server?
- Can this tool handle both JSON and YAML OpenAPI specifications?
Yes, it supports both formats for input specifications.
- Is validation of OpenAPI specifications mandatory?
No, validation is optional and can be disabled by default.
- How can I customize the generated configuration?
You can use the
--templateflag to apply a YAML file for patching the generated configuration.
Project Info
Created At
a year agoUpdated At
a year agoAuthor Name
noteworthytenStar
3Language
GoLicense
Apache-2.0 licenseCategory
developer-tools
Recommend Servers
View AllHong Kong Payments Mcp
@junter1989k-ai
12 days ago
Slovenia Payments Mcp
@junter1989k-ai
12 days ago
Ivory Coast Payments Mcp
@junter1989k-ai
12 days ago
Creationloop
@marino129
12 days ago
Mcp Server Chatsum
@chatmcp
summarize chat message
typescript
a year ago
Finland Payments Mcp
@junter1989k-ai
12 days ago
Jordan Payments Mcp
@junter1989k-ai
12 days ago
Slovakia Payments Mcp
@junter1989k-ai
12 days ago
Amap Maps
@amap
高德地图官方 MCP Server
a year ago
Latvia Payments Mcp
@junter1989k-ai
12 days ago
Austria Payments Mcp
@junter1989k-ai
12 days ago
Ireland Payments Mcp
@junter1989k-ai
12 days ago
Sweden Payments Mcp
@junter1989k-ai
12 days ago
Egypt Payments Mcp
@junter1989k-ai
12 days ago
Bahrain Payments Mcp
@junter1989k-ai
12 days ago
Kazakhstan Payments Mcp
@junter1989k-ai
12 days ago
Serper MCP Server
@garymengcom
A Serper MCP Server
Python
a year ago
Oman Payments Mcp
@junter1989k-ai
12 days ago
Lithuania Payments Mcp
@junter1989k-ai
12 days ago
Tavily Mcp
@tavily-ai
JavaScript
a year ago