Skip to content

feat(core): add runtime MCP controls#37308

Open
opencode-agent[bot] wants to merge 2 commits into
v2from
mcp-runtime-control
Open

feat(core): add runtime MCP controls#37308
opencode-agent[bot] wants to merge 2 commits into
v2from
mcp-runtime-control

Conversation

@opencode-agent

@opencode-agent opencode-agent Bot commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add or replace Location-scoped MCP servers at runtime from a full local or remote config
  • connect and disconnect known MCP servers without persisting runtime state to config
  • preserve OAuth integration registration and credential-driven reconnects for dynamically added remote servers
  • clear cached tools, prompts, and resources and publish lifecycle events when replacing or disconnecting a server

This provides the core runtime operations used by V1 ACP while intentionally leaving protocol/server endpoints for a separate change.

Tests

  • bun test test/mcp.test.ts (packages/core)
  • bun typecheck (packages/core)
  • scoped oxlint and Effect pattern scan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant