A big thank you to @jlowin for the creation of the fantastic FastMCP, which is now included into the MCP SDK.
Backwards Compatibility
This release is semver compatible. Existing code will continue to work, unless code relied on re-experts from mcp.server
. Version 2.0 of the SDK will remove the use of mcp.server.Server
in favour of mcp.server.lowlevel.Server
. To stay compatible with upcoming major versions, please change from mcp.server import Server
to from mcp.server.lowlevel import Server
.
Major Features
FastMCP Integration
- Integrated FastMCP as the recommended high-level server framework
- Added new
mcp.server.fastmcp
module with simplified decorator-based API - Introduced
FastMCP
class for easier server creation and management - Added comprehensive documentation and examples for FastMCP usage
New CLI Package
- Added new CLI package for improved developer experience
- Introduced
mcp dev
command for local development and testing - Added
mcp install
command for Claude Desktop integration - Added
mcp run
command for direct server execution
Improvements
Documentation
- Completely revamped README with new structure and examples
- Added detailed sections on core concepts (Resources, Tools, Prompts)
- Updated documentation to recommend FastMCP as primary API
- Added sections on development workflow and deployment options
- Improved example server documentation
Developer Experience
- Added pre-commit hooks for code quality
- Updated to Pydantic 2.10.0 for improved type checking
- Added uvicorn as a dependency for better server capabilities
Bug Fixes
- Fixed encoding errors in STDIO client (@SecretiveShell)
- Fixed deprecation warnings in core components
- Fixed Pydantic field handling for meta fields
- Fixed type issues throughout the codebase
- Fixed example server READMEs
- Added constructor for McpError to allow setting fields (@allenporter)
Breaking Changes
- Deprecated direct usage of
mcp.server
in favor ofmcp.server.fastmcp
- Updated import paths for FastMCP integration
- Changed recommended installation to include CLI features (
pip install "mcp[cli]"
)
Contributors
Special thanks to all contributors who made this release possible, including:
- @jlowin (FastMCP)
- Oskar Raszkiewicz
- @allenporter
- @SecretiveShell
- @restlessronin
Full Changelog: v1.1.3...v1.2.0