openapi-to-mcpserver

jumpyweapon
42
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/jumpyweapon/openapi-to-mcpserver/cmd/openapi-to-mcp@latest'. Then, run the command 'openapi-to-mcp --input path/to/openapi.json --output path/to/mcp-server.yaml' to convert your OpenAPI specification into MCP server configuration.

Key Features

Key features include support for both JSON and YAML input formats, customizable server names, output format options, validation of OpenAPI specifications, and the ability to apply templates to the output.

Where to Use

openapi-to-mcpserver can be used in API development and deployment environments where there is a need to convert OpenAPI specifications into configurations for remote MCP servers, particularly in microservices architectures.

Use Cases

Use cases include converting API specifications for various services into MCP configurations, automating the setup of server environments, and ensuring consistency in API management across different services.

Content