Skip to content

Store command in database when using MCP run_task tool#13

Merged
himattm merged 2 commits intomainfrom
mmckenna/fix-mcp-command-storage
Feb 3, 2026
Merged

Store command in database when using MCP run_task tool#13
himattm merged 2 commits intomainfrom
mmckenna/fix-mcp-command-storage

Conversation

@himattm
Copy link
Collaborator

@himattm himattm commented Feb 3, 2026

Summary

  • Fix MCP server not storing the command in the queue database
  • The CLI (tq.py) was storing the command, but the MCP server (task_queue.py) was not
  • This caused status tools (like the prism plugin) to fall back to showing task counts instead of the actual command

Changes

  • Add command parameter to wait_for_turn() function
  • Include command in the INSERT statement
  • Pass command from run_task() to wait_for_turn()

Test plan

  • All 73 tests pass

🤖 Generated with Claude Code

himattm and others added 2 commits February 3, 2026 09:26
The MCP server was not storing the command in the queue database,
while the CLI (tq.py) was. This caused the prism plugin to fall back
to showing just task counts instead of the actual command being run.

- Add command parameter to wait_for_turn function
- Include command in INSERT statement
- Pass command from run_task to wait_for_turn

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@himattm himattm force-pushed the mmckenna/fix-mcp-command-storage branch from e9caf6a to b855159 Compare February 3, 2026 14:26
@himattm himattm merged commit b557de3 into main Feb 3, 2026
5 of 6 checks passed
@himattm himattm deleted the mmckenna/fix-mcp-command-storage branch February 3, 2026 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant