openapi-mcp-server
Verified Safeby sotayamashita
Overview
Dynamically converts OpenAPI specifications into Model Context Protocol (MCP) tools, enabling AI assistants to interact with defined APIs by mapping AI calls to HTTP requests.
Installation
bun run src/index.ts --api <path_or_url_to_openapi_spec>Environment Variables
- BASE_URL
Security Notes
The server's security is largely dependent on the trustworthiness of the OpenAPI specification and environment variables (`BASE_URL`, `HEADERS`) provided by the deploying operator. It does not use `eval` or direct obfuscation. The main risk is an operator providing a malicious OpenAPI spec or insecure environment variables, potentially leading to unintended outbound API calls. As long as the operator and the provided OpenAPI spec are trusted, it is safe.
Similar Servers
mcpo
Exposes Model Context Protocol (MCP) tools as OpenAPI-compatible HTTP servers for integration with LLM agents and other applications.
mcp-openapi-server
Exposes OpenAPI endpoints as Model Context Protocol (MCP) tools, enabling Large Language Models (LLMs) to discover and interact with REST APIs through a standardized protocol.
tmcp
Build Model Context Protocol (MCP) servers for AI agents, providing schema-agnostic tools, resources, and prompts, with optional OAuth 2.1 authentication and distributed session management.
ncp
A unified Model Context Protocol (MCP) orchestrator that enables semantic tool discovery, management, scheduling, and execution across a diverse ecosystem of connected AI tools and services.