OpenCode Integration
Setup guide for integrating CostAffective into the OpenCode assistant platform.
OpenCode Configuration
OpenCode loads MCP servers using local JSON schemas. Locate your workspace configurations and add CostAffective to the active server mappings.
Configuration Block
Locate or create your configuration file at: ~/.config/opencode/opencode.jsonc.
Add the following settings block to register the absolute binary path:
{
"mcpServers": {
"costaffective": {
"command": "/home/user/.local/bin/costaffective",
"args": ["serve"],
"enabled": true
}
}
}
Launch & Verify
Restart the OpenCode workspace. Check the logs window to confirm that the server stdio channel has resolved connection pointers successfully.