Opencode
View SourceYou can use Tidewave with opencode by adding the following to your opencode config, either:
- Globally, typically in
~/.config/opencode/opencode.json, or - Per project, typically in
/path/to/your-project/opencode.json
HTTP connection
{
"mcp": {
"tidewave": {
"type": "remote",
"url": "http://localhost:$PORT/tidewave/mcp",
"enabled": true
}
}
}Where $PORT is the port your web application is running on.
MCP Proxy
See the MCP proxy documentation.
On macOS/Linux:
{
"mcp": {
"tidewave": {
"type": "local",
"command": ["/path/to/mcp-proxy", "http://localhost:$PORT/tidewave/mcp"],
"enabled": true
}
}
}On Windows:
{
"mcp": {
"tidewave": {
"type": "local",
"command": ["/path/to/mcp-proxy.exe", "http://localhost:$PORT/tidewave/mcp"],
"enabled": true
}
}
}Where $PORT is the port your web application is running on.