FastMCP Context Support in Roo Code #6544
socamalo
started this conversation in
Feature Requests
Replies: 1 comment
-
FYI. MCP Inspector added Elicitation support in v0.16.2 release: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Feature Request: FastMCP Context Support in Roo Code
Summary
Roo Code currently lacks support for FastMCP's Context functionality, which is essential for advanced MCP server capabilities including progress reporting, logging, and real-time UI updates. This feature request outlines the missing functionality and provides sample code demonstrating the differences between Cursor (which supports it) and Roo Code (which doesn't).
Current Issue
When attempting to use FastMCP Context features in Roo Code, tools that utilize
ctx.report_progress()
,ctx.info()
,ctx.debug()
, and other Context methods fail with timeout errors or are not properly handled by the Roo Code MCP client.Sample Code Demonstrating the Problem
FastMCP Server with Context (test_context.py)
Expected Behavior vs Actual Behavior
In Cursor (Working)
ctx.report_progress()
displays a progress bar in the UIctx.info()
,ctx.debug()
,ctx.warning()
,ctx.error()
messages appear in real-timeIn Roo Code (Broken)
ctx.report_progress()
calls are ignored or cause failuresTechnical Details
FastMCP Context Capabilities Not Supported in Roo Code
Progress Reporting
Logging Methods
Resource Access
LLM Sampling
User Elicitation
State Management
Impact on Development
Current Limitations in Roo Code
Benefits of Adding Context Support
Implementation Requirements
Roo Code MCP Client Updates Needed
UI/UX Considerations
report_progress
callsSample Implementation Approach
1. Context Message Handler
2. Progress UI Component
Priority and Timeline
High Priority
Medium Priority
Low Priority
Conclusion
FastMCP Context support is essential for building professional-grade MCP servers and providing a good user experience. Roo Code's current lack of Context support significantly limits the capabilities of MCP tools and creates a poor user experience compared to Cursor.
Adding Context support would:
This feature request should be prioritized to ensure Roo Code remains competitive in the AI development environment space.
References
roo code screenshot:

Cursor screenshot:

Beta Was this translation helpful? Give feedback.
All reactions