All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Issue #8: Converted tools unuseable due to wrong passing of arguments.
- Dependency resolution issue with
mcp
package andpydantic-settings
- Complete refactor: transformed from a code generator to a direct integration library
- Replaced the CLI-based approach with a direct API for adding MCP servers to FastAPI applications
- Integrated MCP servers now mount directly to FastAPI apps at runtime instead of generating separate code
- Simplified the API with a single
add_mcp_server
function for quick integration - Removed code generation entirely in favor of runtime integration
- Main
add_mcp_server
function for simple MCP server integration - Support for adding custom MCP tools alongside API-derived tools
- Improved test suite
- Manage with uv
- CLI interface and all associated commands (generate, run, install, etc.)
- Code generation functionality
- Added support for PEP 604 union type syntax (e.g.,
str | None
) in FastAPI endpoints - Improved type handling in model field generation for newer Python versions (3.10+)
- Fixed compatibility issues with modern type annotations in path parameters, query parameters, and Pydantic models
- Initial release of FastAPI-MCP
- Core functionality for converting FastAPI applications to MCP servers
- CLI tool for generating, running, and installing MCP servers
- Automatic discovery of FastAPI endpoints
- Type-safe conversion from FastAPI endpoints to MCP tools
- Documentation preservation from FastAPI to MCP
- Claude integration for easy installation and use
- API integration that automatically makes HTTP requests to FastAPI endpoints
- Examples directory with sample FastAPI application
- Basic test suite