What operating modes does OpenAPI MCP Server support?
It supports three modes: `stdio` (standard I/O), `sse` (Server-Sent Events on port 8001), and `openapi` (OpenAPI/REST on port 8002).
@3loc
Basic information
This is a skeleton project that you can use as a starting point for building your own MCP server. The example addition function demonstrates how to implement handlers across all three protocols.
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"openapi-mcp-server-3loc": {
"command": "docker",
"args": [
"compose",
"build"
]
}
}
}Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
OpenAPI MCP Server is a skeleton project for building your own Model Context Protocol (MCP) server. It includes an example addition function and demonstrates how to implement handlers across all three supported protocols: Standard I/O (stdio), Server-Sent Events (SSE), and OpenAPI/REST endpoints.
Run the server using Docker or Docker Compose. Set the MODE environment variable to stdio, sse, or openapi to select the transport mode. Launch a specific service (e.g., docker compose up sse-mcp-server) or run directly with Docker (e.g., docker run -i --rm -e MODE=stdio 3loc/openapi-mcp-server). Configure the server using an mcp.json file.
MODEmcp.json configuration fileIt supports three modes: `stdio` (standard I/O), `sse` (Server-Sent Events on port 8001), and `openapi` (OpenAPI/REST on port 8002).
Use `docker run -p 8001:8000 --rm -e MODE=sse 3loc/openapi-mcp-server` or `docker compose up sse-mcp-server`.
Create an `mcp.json` file with the appropriate command/args for stdio mode or a URL for SSE mode. The server reads the `MODE` environment variable to select the transport.
The server includes an example addition function that demonstrates how to implement handlers across all three protocols.
The server runs inside a Docker container. The image is `3loc/openapi-mcp-server`. No other dependencies are listed.
Hindsight: Agent Memory That Learns
🚀 The fast, Pythonic way to build MCP servers and clients.
🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。
A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

Soar Flight Booking MCP is a remote MCP server available at https://mcp.soar.flights.
Comments