Skip to content

v0.2.0

Compare
Choose a tag to compare
@shahar4499 shahar4499 released this 10 Apr 11:51
· 81 commits to main since this release
174848f

Changed (Breaking)

  • Complete refactor from function-based API to a new class-based API with FastApiMCP
  • Explicit separation between MCP instance creation and mounting with mcp = FastApiMCP(app) followed by mcp.mount()
  • FastAPI-native approach for transport providing more flexible routing options
  • Updated minimum MCP dependency to v1.6.0

Added

  • Support for deploying MCP servers separately from API service
  • Support for "refreshing" with setup_server() when dynamically adding FastAPI routes. Fixes Issue #19
  • Endpoint filtering capabilities through new parameters:
    • include_operations: Expose only specific operations by their operation IDs
    • exclude_operations: Expose all operations except those with specified operation IDs
    • include_tags: Expose only operations with specific tags
    • exclude_tags: Expose all operations except those with specific tags

Fixed

  • FastAPI-native approach for transport. Fixes Issue #28
  • Numerous bugs in OpenAPI schema to tool conversion, addressing Issue #40 and Issue #45

Removed

  • Function-based API (add_mcp_server, create_mcp_server, etc.)
  • Custom tool support via @mcp.tool() decorator

Full Changelog: v0.1.8...v0.2.0