OpenCode
Use genart.dev with OpenCode via native remote MCP
OpenCode
Connect genart.dev to OpenCode using its native remote MCP support.
Prerequisites
- OpenCode installed
- An email address for authentication
Setup
1. Add the remote MCP server
Add the genart MCP server to ~/.config/opencode/opencode.json:
{
"mcp": {
"genart": {
"type": "remote",
"url": "https://mcp.genart.dev/mcp"
}
}
}OpenCode supports remote MCP servers natively — no bridge required.
2. Authenticate
On first tool use, the server will send a passcode to your email. Enter it when prompted.
3. Start creating
Create a Canvas 2D sketch of generative terrain with gradient colorsTips
- All 33 MCP tools are available — see MCP Tools
- The
mcpkey inopencode.jsonholds the servers map (notmcpServers)
Desktop app auto-config
If you're using the Desktop App, it can configure OpenCode automatically. The desktop app writes the genart entry to ~/.config/opencode/opencode.json on startup and removes it on quit. See CLI Agent Integration for details.