Sponsored by Deepsite.site

OpenAPI to MCP Server

Created By
noteworthyten9 months ago
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?

  1. Automating the configuration of MCP servers from OpenAPI specifications.
  2. Simplifying the integration of REST APIs with Higress.
  3. 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 --template flag to apply a YAML file for patching the generated configuration.

Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
ChatWiseThe second fastest AI chatbot™
Amap Maps高德地图官方 MCP Server
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright McpPlaywright MCP server
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
WindsurfThe new purpose-built IDE to harness magic
Tavily Mcp
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
Y GuiA web-based graphical interface for AI chat interactions with support for multiple AI models and MCP (Model Context Protocol) servers.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
CursorThe AI Code Editor
DeepChatYour AI Partner on Desktop
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Serper MCP ServerA Serper MCP Server