fastapi_mcp
Verified Safeby tadata-org
Overview
Automatically converts FastAPI endpoints into Model Context Protocol (MCP) tools for seamless integration with LLM agents.
Installation
uvicorn examples/01_basic_usage_example:app --host 0.0.0.0 --port 8000Environment Variables
- AUTH0_DOMAIN
- AUTH0_AUDIENCE
- AUTH0_CLIENT_ID
- AUTH0_CLIENT_SECRET
Security Notes
The library primarily uses secure practices, including ASGI transport for internal FastAPI communication and `httpx` for external HTTP requests. OAuth proxying features rely on user-provided URLs (e.g., `metadata_url`, `authorize_url`), which places the responsibility for trusting external services on the developer. No 'eval' or direct malicious patterns were identified in the source code.
Similar Servers
mcpo
Exposes Model Context Protocol (MCP) tools as OpenAPI-compatible HTTP servers for integration with LLM agents and other applications.
mcp-context-forge
A comprehensive Model Context Protocol (MCP) gateway and proxy that unifies REST, MCP, and A2A services, providing features like federation, virtual servers, rate-limiting, security, and an optional admin UI for managing web content and file conversions to markdown.
fluidmcp
Orchestrate multiple Model Context Protocol (MCP) servers from various sources (local config, GitHub, S3, registry) with a unified FastAPI gateway.
enterprise_mcp_server
Provides a comprehensive Model Context Protocol (MCP) solution, featuring an API Gateway for routing and management, an Enterprise MCP Server for core services like authentication, tool definition management, and audit logging, and dedicated Tool Servers for executing operational tools.