v1.0.0
Added
- Rails integration improvements via enhanced Railtie support
- Automatic tool and resource registration in Rails applications
- Extended Rails autoload paths for tools and resources directories
- Sample generator templates for resources and tools
- MCP Client configuration documentation as reported by #8 @sivag-csod
- Example Ruby on Rails app in the documentation
FastMcp.server
now exposes the MCP server to apps that may need it to access resources- Automated Github Releases through Github Workflow
Fixed
- Fixed bug with Rack middlewares not being initialized properly.
- Fixed bug with STDIO logging preventing a proper connection with clients # 11 @cs3b
- Fixed Rails SSE streaming detection and handling
- Improved error handling in client reconnection scenarios
- Namespace consistency correction (FastMCP -> FastMcp) throughout the codebase
Improved
⚠️ [Breaking] Resource content declaration changes- Now resources implement
content
overdefault_content
content
is dynamically called when calling a resource, this implies we can declare dynamic resource contents like:
class HighestScoringUsersResource < FastMcp::Resource ... def content User.order(score: :desc).last(5).map(&:as_json) end end
- Now resources implement
- More robust SSE connection lifecycle management
- Optimized test suite with faster execution times
- Better logging for debugging connection issues
- Documentation had outdated examples
What's Changed
New Contributors
Full Changelog: v0.1.0...v1.0.0