feat: remove task management MCP tools by ibetitsmike · Pull Request #28354 · coder/coder · GitHub
Skip to content

feat: remove task management MCP tools - #28354

Merged
ibetitsmike merged 3 commits into
mainfrom
mike/remove-task-mcp-tools
Aug 20, 2026
Merged

feat: remove task management MCP tools#28354
ibetitsmike merged 3 commits into
mainfrom
mike/remove-task-mcp-tools

Conversation

@ibetitsmike

@ibetitsmike ibetitsmike commented Aug 20, 2026

Copy link
Copy Markdown
Collaborator

Removes the six task-management tools from the MCP tool surface in codersdk/toolsdk:

  • coder_create_task
  • coder_delete_task
  • coder_list_tasks
  • coder_get_task_status
  • coder_send_task_input
  • coder_get_task_logs

Both the coderd-hosted MCP server (coderd/mcp) and the CLI coder exp mcp server derive their tool list from toolsdk.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_task is intentionally kept: it is the agent-side status-reporting mechanism (WithTaskReporter), already excluded from the hosted MCP server, and required by coder exp mcp server, Claude Code configuration, and scaletest.
  • The codersdk Task SDK methods (CreateTask, DeleteTask, Tasks, TaskLogs, etc.) and the Tasks feature (CLI, UI, API) are untouched; this PR only removes MCP tool registration.
  • The task-only taskIDDescription helper is deleted; userDescription stays (used by coder_create_workspace).

The code change is deletion-only: 970 removed lines across toolsdk.go and its test file, no added behavior.

Validation

  • go build ./..., go test ./coderd/mcp/, and targeted golangci-lint pass. go test ./codersdk/toolsdk/ passes all tests; the package-level goleak failure (agentssh goroutines) reproduces identically on unmodified main and is unrelated to this diff.
  • pnpm run lint-docs passes on the docs change.
  • Remote dogfood UAT ran against the toolsdk change and passed: tools/list on both the hosted MCP endpoint and coder exp mcp server confirms the six tools are absent and the remaining surface is intact (34 hosted tools; CLI adds search/fetch), a tools/call of coder_get_authenticated_user succeeds, and calling a removed tool returns -32602 unknown tool. coder_report_task still registers in the CLI server when CODER_MCP_APP_STATUS_SLUG is set.
  • The failing Pixel / Review commit status is unrelated: this PR contains no site/ changes, and the same status fails on the last 8 main commits including this PR's merge base (676b9bb06bf).

Mux acted on Mike's behalf to create this pull request.

Closes DEVEX-801

@ibetitsmike
ibetitsmike marked this pull request as ready for review August 20, 2026 06:31
@ibetitsmike

Copy link
Copy Markdown
Collaborator Author

@coderagents

coderagents Bot commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Documentation Check

Updates Needed

  • docs/ai-coder/mcp-server.md - The "Available Tools" Task management: create, list, inspect, and control tasks bullet was removed, matching the removal of the six MCP task tools. The line 98 note was also refined from "Coder's task tools" to "Coder's task reporting tool" to reflect that coder_report_task is the only remaining task tool. The "User and system: ...task reporting" bullet correctly stays.

All previously identified documentation needs are addressed. No further doc changes required.


Automated review via Coder Agents

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Another round soon, please!

Reviewed commit: e545257be8

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

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".

@github-actions

github-actions Bot commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Docs preview

Check 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.

@ibetitsmike

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. More of your lovely PRs please.

Reviewed commit: e52a41404d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

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".

@ibetitsmike ibetitsmike changed the title feat(codersdk/toolsdk): remove task management MCP tools feat: remove task management MCP tools Aug 20, 2026
Comment thread docs/ai-coder/mcp-server.md Outdated
@ibetitsmike

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

@ibetitsmike
ibetitsmike merged commit 2f996d7 into main Aug 20, 2026
31 checks passed
@ibetitsmike
ibetitsmike deleted the mike/remove-task-mcp-tools branch August 20, 2026 10:07
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 20, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants