rest-to-mcp-adapter
Verified Safeby pawneetdev
Overview
Transforms REST API specifications (OpenAPI, Swagger, OpenAPI Actions) into Model Context Protocol (MCP) tools, enabling AI agents like Claude and GPT to interact with any REST API.
Installation
python /path/to/your/server.pySecurity Notes
The codebase demonstrates good security practices including `yaml.safe_load`, proper JSON parsing, robust URL validation, and explicit handling of circular `$ref` references during spec dereferencing. It explicitly advises against logging credentials and for secure storage (e.g., environment variables). External `$ref` support is intentionally disabled due to security considerations. Authentication parameters are automatically filtered from user-facing tool schemas.
Similar Servers
mcpo
Exposes Model Context Protocol (MCP) tools as OpenAPI-compatible HTTP servers.
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.
openapi-mcp-server
Acts as a bridge to convert OpenAPI specifications into Model Context Protocol (MCP) tools, enabling AI assistants to interact with APIs.
MCP-Council
Automates the conversion of any REST API into a Model Context Protocol (MCP) server, enabling AI assistants to interact with external APIs through a standardized interface.