NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #2126 most downloaded on PyPI
Automatic MCP server generator for FastAPI applications - converts FastAPI endpoints to MCP tools for LLM integration
Last release 1 years ago
28 Jul 2025
Ships fairly regularly
a new release about every 2 weeks
Nearly every release is documented
notes for 17 of 17 stable releases
1 version withdrawn
withdrawn after publishing
2 years old
18 releases · first in 2025
One column per month.
mount() method is deprecated and will be removed in a future version. Use mount_http() for HTTP transport (recommended) or mount_sse() for SSE transpo…
🚀 FastAPI-MCP now supports Streamable HTTP transport.
HTTP transport is now the recommended approach, following the specification that positions HTTP as the standard while maintaining SSE for backwards compatibility.
mount() method is deprecated and will be removed in a future version. Use mount_http() for HTTP transport (recommended) or mount_sse() for SSE transport.mount_http() method implementing the MCP Streamable HTTP specificationFull Changelog: v0.3.7...v0.4.0
🐛 Fix a bug with OAuth default_scope
Full Changelog: v0.3.6...v0.3.7
🚀 Add configurable HTTP header forwarding
root_path parameter (#163)root_path parameter by @am1ter in #163Full Changelog: v0.3.4...v0.3.5
Skipped 0.3.5 due to a broken release attempt.
root_path parameter (#163)🐛 Update the mcp dependency to 1.8.1 . Fixes Issue #134 that was caused after a breaking change in mcp sdk 1.8.0.
mcp dependency to 1.8.1. Fixes Issue #134 that was caused after a breaking change in mcp sdk 1.8.0.Full Changelog: v0.3.3...v0.3.4
Fixes the broken release from 0.3.2.
Fixes the broken release from 0.3.2.
param_desc definition) (#107, #99)Full Changelog: https://github.com/tadata-org/fastapi_mcp/compare/v0.3.2...v0.3.3
Fixes the broken release from 0.3.2.
param_desc definition) (#107, #99)Full Changelog: v0.3.2...v0.3.3
🐛 Fix a bug preventing simple setup of basic token passthrough
Full Changelog: v0.3.1...v0.3.2
This is a broken release and should not be used.
🚀 FastApiMCP now supports MCP Authorization!
🚀 FastApiMCP now supports MCP Authorization!
You can now add MCP-compliant OAuth configuration in a FastAPI-native way, using your existing FastAPI Depends() that we all know and love.
Adding authorization reduced tests coverage significantly, since a lot of auth-related code is not covered by tests at the moment.
This will be fixed, but note that the rest of the API isn't affected by it.
Auth is still in "alpha" stage in FastAPI-MCP.
Full Changelog: v0.3.0...v0.3.1
⚠️ Breaking Change: Removed base_url argument since it's not used anymore by the MCP transport.
🚀 FastApiMCP now works with ASGI-transport by default.
This means the base_url argument is redundant, and thus has been removed.
You can still set up an explicit base URL using the http_client argument, and injecting your own httpx.AsyncClient if necessary.
base_url argument since it's not used anymore by the MCP transport.Full Changelog: v0.2.0...v0.3.0
Complete refactor from function-based API to a new class-based API with FastApiMCP
FastApiMCPmcp = FastApiMCP(app) followed by mcp.mount()setup_server() when dynamically adding FastAPI routes. Fixes Issue #19include_operations: Expose only specific operations by their operation IDsexclude_operations: Expose all operations except those with specified operation IDsinclude_tags: Expose only operations with specific tagsexclude_tags: Expose all operations except those with specific tagsadd_mcp_server, create_mcp_server, etc.)@mcp.tool() decoratorFull Changelog: v0.1.8...v0.2.0
What's Changed Fixed Remove unneeded dependency. Full Changelog : v0.1.7...v0.1.8
### Fixed - Issue #34: Fix syntax error.
Issue #23: Hide handle_mcp_connection tool.
Issue #25: Dynamically creating tools function so tools are useable.
Issue #8: Converted tools unuseable due to wrong passing of arguments.
Dependency resolution issue with mcp package and pydantic-settings
mcp package and pydantic-settingsComplete refactor: transformed from a code generator to a direct integration library
add_mcp_server function for quick integrationadd_mcp_server function for simple MCP server integrationAdded support for PEP 604 union type syntax (e.g., str | None) in FastAPI endpoints
str | None) in FastAPI endpointsCore functionality for converting FastAPI applications to MCP servers
Your coding agent can read these notes before it upgrades. Set up the MCP server →