Repository navigation
chore!: remove the coder_report_task MCP tool - #30742
Merged
Merged
Conversation
Coder Tasks have been removed, so the coder_report_task tool and the status reporting pipeline behind it no longer serve a purpose. Remove the tool from toolsdk, the task reporter, AgentAPI screen watcher, and agent socket wiring from `coder exp mcp server`, and the report-task prompt, allowed tool, and env from `coder exp mcp configure claude-code`. Drop the now-unused cliutil queue and the agentapi-sdk-go dependency. BREAKING CHANGE: `coder exp mcp server` no longer accepts --app-status-slug, --ai-agentapi-url, or --socket-path, and `coder exp mcp configure claude-code` no longer accepts --claude-app-status-slug or --ai-agentapi-url.
Contributor
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. |
mafredri
approved these changes
Oct 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Coder Tasks have been removed from coder/coder, so the
coder_report_taskMCP tool and the status reporting pipeline behind it no longer do anything useful. This PR removes the tool and the code that only existed to support it.Removed
codersdk/toolsdk:ToolNameReportTask,ReportTaskArgs,ReportTask,Deps.report,WithTaskReporter, and theAllentry, plus their tests.coderd/mcp: the remote MCP exclusion forcoder_report_task.coder exp mcp server: the task reporter, the AgentAPI screen watcher, the agent socket connection, and thecoder_report_taskskip logic. The server now requires an authenticated user client, because every remaining tool needs one.coder exp mcp configure claude-code: themcp__coder__coder_report_taskallowed tool, the injectedcoder_report_taskCLAUDE.md prompt, thereport tasks properlyhistory line, the default system prompt asking the agent to send task status updates, and theCODER_MCP_APP_STATUS_SLUG/CODER_MCP_AI_AGENTAPI_URLenv written to the Claude MCP config.cli/cliutil/queue.go: only used by the reporter.github.com/coder/agentapi-sdk-go(and transitivetmaxmax/go-sse) viago mod tidy.docs/ai-coder/mcp-server.md.Breaking: removed
coder expflags and envcoder expis experimental. Any scripts that still pass these flags will now fail with an unknown flag error. Env vars that are no longer read are ignored.coder exp mcp server--app-status-slugCODER_MCP_APP_STATUS_SLUGcoder exp mcp server--ai-agentapi-urlCODER_MCP_AI_AGENTAPI_URLcoder exp mcp server--socket-pathCODER_AGENT_SOCKET_PATH(still used bycoder agentandcoder exp sync)coder exp mcp configure claude-code--claude-app-status-slugCODER_MCP_APP_STATUS_SLUGcoder exp mcp configure claude-code--ai-agentapi-urlCODER_MCP_AI_AGENTAPI_URL--claude-system-promptno longer has a default.Intentionally kept
UpdateAppStatuson the agent API and agent socket,agentsdk.PatchAppStatus/ProtoFromPatchAppStatus, the deprecatedPATCH /workspaceagents/me/app-statusendpoint): still served by coderd and the agent and part of versioned protocols. With this change, nothing in the CLI calls the agent socketUpdateAppStatusclient anymore. Removing it would need a separate protocol change.report_tasksincoderd/templatebuilder/modules/{aider,amazon-q}: these catalog entries mirror the input variables of pinned coder/registry module versions, and the behavior lives in those modules. Dropping the variable here would not disable it, becauseamazon-qdefaults it totrue. The registry modules need a follow-up instead.UserClientOptionalon toolsdk tools: other tools still set it, and remote MCP still uses it.coder expcommands are hidden.Verification
go build ./...go test ./codersdk/toolsdk/... ./coderd/mcp/... ./cli/cliutil/...go test ./cli -run 'TestExpMcp|TestCommandHelp'golangci-lint run ./cli/... ./codersdk/toolsdk/... ./coderd/mcp/...(0 issues)Generated by Coder Agents.