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?
- Generating client code for RESTful APIs.
- Building real-time applications using MCP servers.
- 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.