openapi-to-mcpserver

higress-group
69
A tool&lib that can automatically convert OpenAPI documents into Higress remote MCP server configurations.

Overview

What is openapi-to-mcpserver

openapi-to-mcpserver is a tool and library designed to automatically convert OpenAPI documents into configurations for Higress remote MCP servers.

How to Use

To use openapi-to-mcpserver, install it via Go with the command 'go install github.com/higress-group/openapi-to-mcpserver/cmd/openapi-to-mcp@latest'. Then, run the command 'openapi-to-mcp --input path/to/openapi.json --output path/to/mcp-config.yaml' to convert an OpenAPI specification into an MCP configuration.

Key Features

Key features include the ability to specify input and output file paths, server name, output format, validation of OpenAPI specifications, and the option to use a template for output customization.

Where to Use

openapi-to-mcpserver can be used in various fields where APIs are involved, particularly in microservices architectures, cloud services, and any environment that requires the integration of OpenAPI specifications with MCP server configurations.

Use Cases

Use cases include converting API specifications for pet stores, e-commerce platforms, or any service that exposes RESTful APIs, allowing seamless integration with Higress MCP servers.

Content