Skip to content

drums mcp: custom tasks by task set, list/get task sets, verify without a task says so - #15

Merged
sahiljagtap08 merged 2 commits into
mainfrom
fix/w4-mcp-custom-tasks
Nov 18, 2026
Merged

sahiljagtap08 merged 2 commits into
mainfrom
fix/w4-mcp-custom-tasks

Conversation

@sahiljagtap08

Copy link
Copy Markdown
Contributor

What changed (A-08, A-09; the drums mcp half of Drums-Labs/drums#46)

  • drums/mcp_tools.json is replaced with the gateway's new canonical file (36 tools). The file must be identical in both repos.
  • create_computer and load_task take task_set_id + task_id. The document is read from the gateway's new GET /v1/task-sets/{id}/tasks/{task_id}; a plain drumsd answers "not available on this server". They still take task (a whole document) or task_id (OSWorld). Error messages match the gateway's word for word.
  • New list_task_sets and get_task_set tools.
  • A task (or any object argument) sent as a JSON string is parsed before validation (coerce_json_objects), as the gateway does.
  • verify on a computer with no task: drumsd's 400 becomes "no task loaded on this computer: use load_task (...)", or a line saying the loaded task has no checker this host can run.
  • README: the MCP section names 36 tools and the three ways to give a task.

Tests

  • tests/test_mcp_server.py: the fake gateway gains task-set routes and a computer with no task. New tests cover custom tasks by set, by JSON string, and a bad string, plus verify without a task. The count assertions are now 36 (also in tests/test_transport.py).
  • The full suite passes locally (78 tests on this branch); CI runs 3.9 to 3.13.

Merge together with, or after, Drums-Labs/drums#46. Until that gateway is deployed, task_set_id returns the gateway's "no such route" as a tool error. Nothing else changes.

…sk_set, a task document sent as a JSON string, and verify with no task says so (same tool list and messages as the gateway)
@sahiljagtap08
sahiljagtap08 merged commit 47526ef into main Nov 18, 2026
5 checks passed
@sahiljagtap08
sahiljagtap08 deleted the fix/w4-mcp-custom-tasks branch November 18, 2026 04:13
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