openapi-mcp-server

openapi-mcp-server

1

OpenAPI MCP Server is a foundational project for building an MCP server with support for multiple communication protocols including Standard I/O, Server-Sent Events, and REST endpoints. It offers flexibility in operation modes using Docker and configuration via JSON files.

OpenAPI MCP Server

This is a skeleton project to help you build your own MCP server. Features include:

  • Standard I/O
  • Server-Sent Events
  • OpenAPI/REST endpoints

Running Modes

  • stdio: Standard I/O server
  • sse: Server-Sent Events server (port 8001)
  • openapi: OpenAPI/REST server (port 8002)

Building and Running

  • Using Docker Compose: Build with docker compose build and run with docker compose up.
  • Using Docker directly: Run in different modes using Docker commands.

Configuration

The server can be configured using an mcp.json file with settings for different server modes.