Issue Description
When calling MCP tools in QoderWork, the context_key field inside the context object remains the same across different task windows. This causes context pollution between tasks, as the MCP server cannot distinguish which task a request belongs to.
Steps to Reproduce
- Open task window A and call any MCP tool (e.g.,
mcp__xxx__do_something). - After task window A completes, create a new task window B.
- In task window B, call the same MCP tool.
- On the MCP server side, log the received request parameters.
- Observe that
context.context_keyhas the exact same value for both task A and task B.
Expected Behavior
Each task window should receive a unique context_key so that the MCP server can isolate context and state per task.
Actual Behavior
All tasks share the same context_key. The MCP server cannot distinguish between requests from different tasks, and context leakage occurs.
Screenshots / Screen Recordings
(Attach your screenshot here — the one showing identical context_key values from both task windows.)
Operating System
macOS
Current Qoder Version (Menu → About Qoder → Copy)
(Please fill in your Qoder version from the menu.)
Additional Info (for backend investigation)
- MCP server dependency:
com.alibaba.mcp:mcp-lite-hsf-server-starter:1.2.2 - First reported via in-app feedback on 2026-05-20, no response received yet.
