Official SDK Compatibility

The mcp-use server framework is built on top of the official MCP Python SDK. This ensures full compatibility with existing MCP clients and tools that adhere to the Model Context Protocol. mcp-use extends the SDK’s core functionality, providing enhanced features without introducing breaking changes.
Zero Breaking Changes
mcp-use extends the official MCP Python SDK rather than replacing it, ensuring:- All existing MCP clients work out of the box
- Full protocol compliance with MCP specifications
- Easy migration from existing MCP servers
- Enhanced features without breaking existing functionality
Compatibility Matrix
| Feature | FastMCP | mcp-use | Notes |
|---|---|---|---|
| MCP Protocol | ✅ | ✅ | Full compliance |
| Tools | ✅ | ✅ | Same decorator API |
| Resources | ✅ | ✅ | Same decorator API |
| Prompts | ✅ | ✅ | Same decorator API |
| Documentation | ❌ | ✅ | Built-in docs UI |
| Inspector UI | ❌ | ✅ | Real-time monitoring |
| Enhanced Logging | ❌ | ✅ | MCP method logging |
| Much more to come… | ❌ | ✅ | Continuous enhancements |
Migration Guide
From FastMCP
If you have an existing MCP server built with FastMCP, migration is as simple as changing the import:Before (FastMCP)
After (mcp-use)
- Built-in inspector UI at
/inspector - Enhanced logging with MCP method information
- Documentation at
/docs - OpenMCP configuration at
/openmcp.json - Configurable paths for all endpoints
Key Improvements
- Drop-in Replacement: Same FastMCP API with enhanced features
- Built-in Documentation: Automatic OpenAPI/Swagger docs at
/docs - Inspector UI: Real-time monitoring and testing at
/inspector - Enhanced Logging: MCP method information in structured logs
- Configurable Paths: Customize all endpoint paths
- Much More Coming: Continuous feature additions
Protocol Compliance
mcp-use maintains full compliance with the MCP protocol specifications:- Tool Discovery: Implements
tools/listandtools/callendpoints - Resource Management: Implements
resources/listandresources/readendpoints - Prompt Templates: Implements
prompts/listandprompts/getendpoints - Error Handling: Proper error responses with MCP-compliant error codes
- Session Management: Full support for MCP session lifecycle
Client Compatibility
All MCP clients that work with the official SDK will work with mcp-use servers:- Claude Desktop: Full compatibility
- ChatGPT: Full compatibility
- Custom MCP Clients: Full compatibility
- mcp-use Client: Enhanced compatibility with additional features
Testing Compatibility
You can test your mcp-use server with any MCP client:Best Practices
Maintaining Compatibility
- Use Type Hints: Always use proper type hints for automatic schema generation
- Follow MCP Conventions: Use descriptive tool names and clear documentation
- Handle Errors Gracefully: Return proper error responses for invalid inputs
- Test with Multiple Clients: Verify compatibility with different MCP clients
Leveraging mcp-use Features
- Use Decorators: Take advantage of the simplified decorator-based API
- Enable Documentation: Use the built-in OpenAPI documentation
- Monitor with Inspector: Use the inspector UI for debugging and monitoring
- Structured Logging: Use JSON logging for better observability
Next Steps
- Installation & Setup - Get started with mcp-use
- Quickstart Guide - Build your first server
- Configuration Reference - Complete configuration options