
OpenAPI as MCP server in Code-mode

OpenAPI as MCP server in Code-mode
MCPBus is a standalone binary tool designed to convert OpenAPI specifications into Model Context Protocol (MCP) servers. Its primary function is to translate REST endpoints into tools that can be used by AI agents, including those built with Claude, OpenAI, Gemini, and LangChain. The tool operates in a code mode, meaning it does not require any generated SDKs, runtime environments such as Node.js or Python, or virtual machines. It is distributed as a single, highly optimized binary for major operating systems and as a Docker image. The main features of MCPBus include zero code configuration, allowing users to run a single command to start an MCP server within one second. The tool supports configuration through a command line interface, a configuration file, and environment variables. It is available for macOS, Linux, and Windows, with installation options including package managers like Scoop on Windows and direct downloads with SHA256 checksums. Docker support is also provided for containerized deployments. Typical use cases involve developers who need to quickly expose existing REST APIs as MCP compliant tools for AI agents. The workflow consists of three steps: downloading and installing the binary, running the tool with the OpenAPI specification, and configuring the AI agent to connect to the resulting MCP server. The tool is particularly relevant for forward deployed AI engineers and agentic AI developers who require a lightweight, portable solution without additional dependencies. Technical requirements are minimal; the binary runs on all major platforms without requiring a separate runtime. The tool is self contained and does not rely on external services or SaaS platforms. Example showcases include integration with the National Weather Service API. Support is available through a Q&A section and contact channels on the project website.