Delete the old core MCP tool path with the gateway and daemon #2012

Open
opened 2026-11-15 13:20:18 +00:00 by sam · 0 comments
Owner

Moved out of #2005, which now closes on the staging acceptance alone: an MCP server is a fourth accepted package, run by the connectors module.

What stays behind, and goes when the legacy services they belong to are deleted:

  • internal/tools/provider/mcp: the config-driven MCP client the gateway and task containers use.
  • config.Tools.MCPServers and its control-plane settings (internal/infrastructure/controlplanestore/tool_settings.go, runtime_config.go), the dashboard's tool settings for it, and internal/domain/storepkg's mcpServers contribution.
  • The sandbox egress special case that adds each configured server's host to a task container's egress: internal/daemon/container_run.go:141 onwards.
  • internal/taskrun's MCPServers, and the two sampling paths that exist only for it (internal/infrastructure/taskmcp, internal/agentexec/modelloop/sampling.go).

Blocked by: the gateway and daemon being deleted, which is epic #1977's work. Nothing here adds a feature; the replacement is already in modules/connectors/mcp.go.

Done when: no code in the tree reads config.Tools.MCPServers, and the task container's egress list comes from accepted packages only.

Moved out of #2005, which now closes on the staging acceptance alone: an MCP server is a fourth accepted package, run by the connectors module. What stays behind, and goes when the legacy services they belong to are deleted: - `internal/tools/provider/mcp`: the config-driven MCP client the gateway and task containers use. - `config.Tools.MCPServers` and its control-plane settings (`internal/infrastructure/controlplanestore/tool_settings.go`, `runtime_config.go`), the dashboard's tool settings for it, and `internal/domain/storepkg`'s `mcpServers` contribution. - The sandbox egress special case that adds each configured server's host to a task container's egress: `internal/daemon/container_run.go:141` onwards. - `internal/taskrun`'s `MCPServers`, and the two sampling paths that exist only for it (`internal/infrastructure/taskmcp`, `internal/agentexec/modelloop/sampling.go`). Blocked by: the gateway and daemon being deleted, which is epic #1977's work. Nothing here adds a feature; the replacement is already in `modules/connectors/mcp.go`. Done when: no code in the tree reads `config.Tools.MCPServers`, and the task container's egress list comes from accepted packages only.
sam added the chorelowtask labels 2026-11-15 13:20:18 +00:00
sam added a new dependency 2026-11-15 17:26:34 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: sam/archie#2012