Submit

OAS-MCP

@nonchan7720

openapi to mcp server
Overview

What is OAS-MCP?

OAS-MCP is a tool that automatically generates a Model Context Protocol (MCP) server from OpenAPI specifications (YAML/JSON). It is a Go application that allows each OpenAPI endpoint to be utilized as an MCP tool.

How to use OAS-MCP?

To use OAS-MCP, clone the repository, install the dependencies, and run the command to generate client code from your OpenAPI specification. You can also use the go:generate command for code generation.

Key features of OAS-MCP?

  • Automatic generation of Go client code from OpenAPI specifications.
  • Building MCP servers using the generated client code.
  • Providing each API endpoint as an MCP tool.
  • Real-time communication utilizing Server-Sent Events (SSE).

Use cases of OAS-MCP?

  1. Generating client code for RESTful APIs.
  2. Building real-time applications using MCP servers.
  3. Simplifying the integration of OpenAPI specifications into Go applications.

FAQ from OAS-MCP?

  • What are the system requirements for OAS-MCP?

OAS-MCP requires Go version 1.24 or higher.

  • Is OAS-MCP open source?

Yes! OAS-MCP is provided as open-source software under the MIT license.

  • Where can I find the documentation?

Documentation can be found in the repository on GitHub.

© 2025 MCP.so. All rights reserved.

Build with ShipAny.