-
-
Notifications
You must be signed in to change notification settings - Fork 101
17 add support for streamable http transport #27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
* refactor(rails integration): documentation + railtie * doc(rails): add a demo app * 🔨fix tests + convert some verbose logs to :debug * Delete engine.rb * Delete README * 📚 start working on documentation * Rename MCP to FastMcp * 🧹 cleanup dead code + fix authenticated rack transport * 🔨fix module name in version * Update Gemfile.lock * Update version.rb * 🧪 fix rack transport test * Update Gemfile * 🤖 Automate Github releases on tag creations * Update CHANGELOG.md
| #{app.root}/app/tools | ||
| #{app.root}/app/resources |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it make sense to scope by mcp or fast_mcp namespace?
eg.
| #{app.root}/app/tools | |
| #{app.root}/app/resources | |
| #{app.root}/app/fast_mcp/tools | |
| #{app.root}/app/fast_mcp/resources |
The app folder tends to be polluted (for big projects), and tools and resources are such common concepts.
app/lib/mcp works too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For greenfield projects, autoloading of anything in app folder works automagically (with Zeitwerk). Even for brownfield projects, as of Rails 6, the Zeitwerk is the default autoloader.
| def add(severity, message = nil, progname = nil, &block) | ||
| return if stdio_transport? # we don't want to log to stdout if we're using the stdio transport | ||
|
|
||
| # TODO: implement logging as the specification requires |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| # TODO: implement logging as the specification requires | |
| # TODO: implement logging as the specification requires | |
| # https://modelcontextprotocol.io/specification/2025-03-26/server/utilities/logging |
|
Thank you for your work, mate! |
alejandrok93
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
any update on this PR to add support for streamable http?
Originally opened as #19,
Work in Progress and rebase is needed.