mcp-it
Verified Safeby enzobjmendonca
Overview
Transforms any FastAPI server or external API into an MCP (Model Context Protocol) server, exposing its endpoints as MCP tools.
Installation
uvicorn example:app --host 0.0.0.0 --port 8800Security Notes
The `bind_openapi` feature fetches and parses OpenAPI specifications from arbitrary URLs, introducing a potential risk if pointed to untrusted or malicious sources that could craft malformed schemas leading to parsing errors or resource exhaustion. The `_external_proxy_call` function forwards incoming MCP request headers to external APIs without explicit filtering beyond common hop-by-hop headers. This means sensitive headers (e.g., internal authentication tokens) could be inadvertently forwarded to untrusted external services if not carefully managed by the user configuring `mcp-it`.
Similar Servers
fastapi_mcp
Automatically converts FastAPI endpoints into Model Context Protocol (MCP) tools for seamless integration with LLM agents.
Unla
Transforms existing MCP Servers and APIs into MCP protocol-compliant endpoints through configuration, enabling LLM tool calling without code changes.
template-mcp-server
Provides a CLI tool and template to quickly get started building a Model Context Protocol (MCP) server using FastMCP, supporting both stdio and HTTP transports.
fastify-mcp-server
A Fastify plugin providing a streamable HTTP transport for the Model Context Protocol (MCP), enabling AI assistants to interact with services.