feat: remove task management MCP tools - #28354
Conversation
Documentation CheckUpdates Needed
All previously identified documentation needs are addressed. No further doc changes required. Automated review via Coder Agents |
|
Codex Review: Didn't find any major issues. Another round soon, please! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Docs previewCheck off each page once it's been reviewed. If a page changes in a later push, its checkbox clears automatically so it gets a fresh look. Pages not yet wired into the docs navigation aren't listed here. |
|
@codex review |
|
Codex Review: Didn't find any major issues. More of your lovely PRs please. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
@codex review |

Removes the six task-management tools from the MCP tool surface in
codersdk/toolsdk:coder_create_taskcoder_delete_taskcoder_list_taskscoder_get_task_statuscoder_send_task_inputcoder_get_task_logsBoth the coderd-hosted MCP server (
coderd/mcp) and the CLIcoder exp mcp serverderive their tool list fromtoolsdk.All, so removing the registry entries removes the tools from both servers with no server-side changes.The MCP server documentation (
docs/ai-coder/mcp-server.md) is updated to drop the task-management entry from the tool overview.What stays
coder_report_taskis intentionally kept: it is the agent-side status-reporting mechanism (WithTaskReporter), already excluded from the hosted MCP server, and required bycoder exp mcp server, Claude Code configuration, and scaletest.codersdkTask SDK methods (CreateTask,DeleteTask,Tasks,TaskLogs, etc.) and the Tasks feature (CLI, UI, API) are untouched; this PR only removes MCP tool registration.taskIDDescriptionhelper is deleted;userDescriptionstays (used bycoder_create_workspace).The code change is deletion-only: 970 removed lines across
toolsdk.goand its test file, no added behavior.Validation
go build ./...,go test ./coderd/mcp/, and targetedgolangci-lintpass.go test ./codersdk/toolsdk/passes all tests; the package-level goleak failure (agentssh goroutines) reproduces identically on unmodifiedmainand is unrelated to this diff.pnpm run lint-docspasses on the docs change.tools/liston both the hosted MCP endpoint andcoder exp mcp serverconfirms the six tools are absent and the remaining surface is intact (34 hosted tools; CLI addssearch/fetch), atools/callofcoder_get_authenticated_usersucceeds, and calling a removed tool returns-32602 unknown tool.coder_report_taskstill registers in the CLI server whenCODER_MCP_APP_STATUS_SLUGis set.Pixel / Reviewcommit status is unrelated: this PR contains nosite/changes, and the same status fails on the last 8maincommits including this PR's merge base (676b9bb06bf).Closes DEVEX-801