Skip to content

Connect OpenCode

Add Data Workers to opencode.json in your project (or ~/.config/opencode/opencode.json globally).

{
"$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
}
}
}
{
"mcp": {
"data-workers": {
"type": "remote",
"url": "https://mcp.dataworkers.io/v1",
"headers": {
"Authorization": "Bearer {env:DATAWORKERS_API_KEY}"
},
"enabled": true
}
}
}

Restart OpenCode, confirm data-workers appears in the MCP list, then ask:

What’s the status of my data connectors?

See Verify your setup.