Implements a Model Context Protocol (MCP) server in Python, offering both stdio and Streamable HTTP transports for AI clients to discover and invoke tools.
The FastMCP server provides a robust Python implementation of the Model Context Protocol (MCP), an open, JSON-RPC-based standard for AI clients to discover and invoke tools and resources. It offers both local stdio and remote Streamable HTTP transports, powered by a shared, centralized tool registry. Designed with production in mind, it prioritizes security through features like a sandboxed filesystem, SSRF guards, Origin validation, and bearer token authentication, ensuring safe and deterministic tool execution while keeping LLM reasoning within the agent.