Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Expose workspace capabilities to MCP - #57

Merged
nilsavenholt merged 1 commit into
custom/v2.35.3from
feat/mcp-capabilities
Sep 11, 2026
Merged

Expose workspace capabilities to MCP#57
nilsavenholt merged 1 commit into
custom/v2.35.3from
feat/mcp-capabilities

Conversation

@nilsavenholt

Copy link
Copy Markdown
Member

Summary

  • add the short Remote MCP tool capabilities to developer, readonly, and admin toolsets
  • read the generated /etc/developer-workspace/capabilities.json directly from the selected workspace agent
  • return available=false for legacy images that do not publish the manifest, including real HTTP 404 agent errors
  • replace the generic MCP server text with static onboarding that tells assistants to inspect capabilities before installing software, without naming concrete packages
  • keep the assistant-facing contract independent from future browser/database/tool additions
  • track capabilities in safe tool activity metadata

Validation

  • go vet ./codersdk/toolsdk ./coderd/mcp
  • focused toolsdk/MCP unit tests, including filesystem and HTTP-404 legacy-image cases
  • actionlint on the custom release workflow
  • real MCP HTTP E2E compiles/starts locally but requires Docker-backed PostgreSQL; local workspace has no /var/run/docker.sock
  • custom release CI explicitly runs TestMCPHTTP_E2E_UserToolsets on the GitHub runner to verify initialize instructions and ListTools over HTTP

Note: commit/pre-push hooks were bypassed only because the currently deployed Developer Workspace image has the legacy generic mise wrapper/worktree hook issue this change set is designed to remove; equivalent relevant gates were run explicitly.

@nilsavenholt
nilsavenholt merged commit b451101 into custom/v2.35.3 Sep 11, 2026
2 checks passed
@nilsavenholt
nilsavenholt deleted the feat/mcp-capabilities branch September 11, 2026 19:21
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.

3 participants