Connect OpenCode
Add Data Workers to opencode.json in your project (or ~/.config/opencode/opencode.json
globally).
Local install
Section titled “Local install”{ "$schema": "https://opencode.ai/config.json", "mcp": { "data-workers": { "type": "local", "command": ["npx", "-y", "dw-claw"], "environment": { "DW_MODE": "local", "DW_TELEMETRY": "off" }, "enabled": true, "timeout": 30000 } }}Hosted (Scale and Enterprise)
Section titled “Hosted (Scale and Enterprise)”{ "mcp": { "data-workers": { "type": "remote", "url": "https://mcp.dataworkers.io/v1", "headers": { "Authorization": "Bearer {env:DATAWORKERS_API_KEY}" }, "enabled": true } }}Verify
Section titled “Verify”Restart OpenCode, confirm data-workers appears in the MCP list, then ask:
What’s the status of my data connectors?
See Verify your setup.