Skip to content

feat(mcp): add MCP #252

Open
GatewayJ wants to merge 7 commits into
OpenCSGs:mainfrom
GatewayJ:docs/openclaw-mcp-restart-plan
Open

feat(mcp): add MCP #252
GatewayJ wants to merge 7 commits into
OpenCSGs:mainfrom
GatewayJ:docs/openclaw-mcp-restart-plan

Conversation

@GatewayJ

Copy link
Copy Markdown
Collaborator

Summary

  • Add a Chinese design plan for OpenClaw MCP support in CSGClaw.
  • Document the current OpenClaw config injection path, recreate-based activation model, API/backend shape, and frontend UI proposal.

Validation

  • Not run; documentation-only change.

Impact

  • No runtime behavior changes. This is a planning document for a future implementation.

@GatewayJ GatewayJ changed the title docs(openclaw): add MCP restart plan docs(mcp): add MCP restart plan Jun 26, 2026
@GatewayJ GatewayJ force-pushed the docs/openclaw-mcp-restart-plan branch from 9d759e2 to 225ab73 Compare July 2, 2026 07:08
@GatewayJ GatewayJ changed the title docs(mcp): add MCP restart plan feat(mcp): add MCP Jul 3, 2026
@GatewayJ GatewayJ force-pushed the docs/openclaw-mcp-restart-plan branch from 225ab73 to 0637e30 Compare July 3, 2026 06:20
@GatewayJ GatewayJ marked this pull request as ready for review July 3, 2026 15:20
@GatewayJ GatewayJ requested a review from RussellLuo July 3, 2026 15:20
@GatewayJ GatewayJ force-pushed the docs/openclaw-mcp-restart-plan branch from ee54079 to 2600e4a Compare July 6, 2026 15:38
Comment thread internal/agent/service.go
AgentName: name,
Profile: runtimeProfile,
RuntimeOptions: utils.CloneAnyMap(spec.RuntimeOptions),
MCPConfig: utils.CloneAnyMap(spec.MCPConfig),

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This worker provisioning path now threads MCPConfig into ProvisionRequest, but the bootstrap manager path in EnsureManager still builds its ProvisionRequest without MCPConfig. That leaves manager provisioning inconsistent with worker create/recreate: a manager can save mcp_config, yet bootstrap/recreate can still regenerate gateway config without those MCP servers. Please pass the persisted manager MCP config through there as well.

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.

2 participants