curl -fsSL https://opencode.ai/install | bash
npm install -g @covalenthq/goldrush-cli
~/.config/opencode/opencode.json or a project-level opencode.json file.{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"goldrush": {
"type": "local",
"command": ["npx", "-y", "@covalenthq/goldrush-mcp-server"],
"enabled": true,
"environment": {
"GOLDRUSH_API_KEY": "YOUR_API_KEY"
}
}
}
}opencode
npx skills add covalenthq/goldrush-agent-skills
opencode.json when you want teammates to share the same MCP setupopencode.json files and the global ~/.config/opencode/opencode.json, so you can share GoldRush setup with a repo or keep it user-specific.opencode.json and verify the server entry is enabled. If it still fails, run npx -y @covalenthq/goldrush-mcp-server manually to check for local Node or API key issues.opencode.json that overrides your global config. OpenCode merges configs, so duplicate server names can hide unexpected values.