OpenCode MCP Setup

Connect Yavy to OpenCode using MCP. Search your documentation from this open-source terminal AI assistant.

Configuration

Quick Install

Run this command in your terminal to add the MCP server:

terminal
opencode mcp add yavy --url "https://yavy.dev/mcp/your-project"
or configure manually
opencode.json

Manual Setup Steps

  1. 1

    Create or open the configuration file:

    Global:~/.config/opencode/opencode.json
    Project:opencode.json
  2. 2
    Copy the configuration above and merge it into your opencode.json file
  3. 3
    Restart OpenCode for changes to take effect

Next Steps