openmcp
Turn any openapi file into an mcp server, with just the tools you need.
claude mcp add getdatanaut-openmcp
How to use
The openmcp server allows you to effortlessly transform any OpenAPI file into a fully functional Model Context Protocol (MCP) server. By leveraging this tool, you can streamline the process of developing and testing APIs, enabling you to quickly simulate complex API interactions without the need for extensive backend setup. Developers can use openmcp to easily create mock servers that adhere to the OpenAPI specifications, facilitating rapid prototyping and testing.
Once you have connected to the openmcp server, you can interact with it by sending HTTP requests that align with the OpenAPI definitions you provided. You can utilize standard RESTful commands such as GET, POST, PUT, and DELETE to manipulate your data or query endpoints defined in your OpenAPI file. It’s best to familiarize yourself with the structure of your OpenAPI document to effectively craft your requests and leverage the server's capabilities.
How to install
Prerequisites
Before installing openmcp, ensure you have Node.js version 14.x or higher installed on your machine.
Option A: Quick start with npx
If you prefer a quick start, you can run the server directly using npx. Open your terminal and execute:
npx -y getdatanaut/openmcp
Option B: Global install alternative
For a global installation, you can clone the repository and install it manually. Use the following commands:
git clone https://github.com/getdatanaut/openmcp.git
cd openmcp
npm install -g
Additional notes
Make sure to validate your OpenAPI file for any errors before running the server to avoid unexpected behavior. You can set environment variables to customize the server's port or logging levels, which can be particularly useful for debugging. Check the repository for any updates or specific configurations needed based on your API requirements.
Related MCP Servers
mcp-for-beginners
This open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable, and secure AI workflows from session setup to service orchestration.
MCP-Defender
Desktop app that automatically scans and blocks malicious MCP traffic in AI apps like Cursor, Claude, VS Code and Windsurf.
Remote
A type-safe solution to remote MCP communication, enabling effortless integration for centralized management of Model Context.
mcp-streamable-http
Example implementation of MCP Streamable HTTP client/server in Python and TypeScript.
pluggedin-app
The Crossroads for AI Data Exchanges. A unified, self-hostable web interface for discovering, configuring, and managing Model Context Protocol (MCP) servers—bringing together AI tools, workspaces, prompts, and logs from multiple MCP sources (Claude, Cursor, etc.) under one roof.
algorand
Algorand Local Model Context Protocol (Server & Client)