Back to Home
pawneetdev icon

rest-to-mcp-adapter

Verified Safe

by 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

Run Command
python /path/to/your/server.py

Security 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

Stats

Interest Score43
Security Score9
Cost ClassMedium
Avg Tokens750
Stars4
Forks1
Last Update2025-11-27

Tags

MCPREST APIOpenAPILLM ToolsAI Agents