Skip to content

chore: retire mark3labs/mcp-go dependency - #28061

Draft
ibetitsmike wants to merge 4 commits into
mike/mcp-go-sdk/aibridge-proxyfrom
mike/mcp-go-sdk/retire-mark3labs
Draft

chore: retire mark3labs/mcp-go dependency#28061
ibetitsmike wants to merge 4 commits into
mike/mcp-go-sdk/aibridge-proxyfrom
mike/mcp-go-sdk/retire-mark3labs

Conversation

@ibetitsmike

@ibetitsmike ibetitsmike commented Aug 12, 2026

Copy link
Copy Markdown
Collaborator

Stack Context

PR 6 of 6 in a stack that migrates every Coder MCP surface from the archived github.com/mark3labs/mcp-go library to the official github.com/modelcontextprotocol/go-sdk v1.7.0.

Stack: #28056 -> #28057 -> #28058 -> #28059 -> #28060 -> #28061

Why

With every production surface migrated, this PR removes the mark3labs dependency entirely and converts the remaining test fixtures.

  • Migrates the remaining mark3labs test fixtures (coderd MCP e2e tests, chatd fixtures, mcpclient fixtures, and the Force On MCP policy tests) to official stateless SDK servers.
  • Removes github.com/mark3labs/mcp-go from go.mod and drops the corresponding dependabot ignore entry. Zero references remain repo-wide.
  • Updates the MCP docs for the 2026-07-28 protocol: stateless Streamable HTTP behavior, the supported 2024-11-05 through 2026-07-28 protocol range, and explicit non-features (resources, prompts, structured output, elicitation, MCP Tasks).
  • The e2e ping assertion is removed because MCP 2026-07-28 removed the ping method.

Mux created this PR on Mike's behalf.

Migrate the last mark3labs-based test fixture
(coderd/x/chatd/forced_mcp_test.go) to the official SDK helpers,
remove github.com/mark3labs/mcp-go from go.mod now that every MCP
surface uses the official github.com/modelcontextprotocol/go-sdk, drop
the corresponding dependabot ignore entry, and update the MCP docs for
the 2026-07-28 protocol (stateless Streamable HTTP behavior, supported
protocol range, and explicit non-features).
@github-actions

Copy link
Copy Markdown

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.

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