Client Setup: OpenCode

Official references

Register

Install the release-candidate checkout on PATH as described in the root README, then add this entry to ~/.config/opencode/opencode.json or a project opencode.json:

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "servers": {
      "reasonkit-think": {
        "type": "local",
        "command": ["reasonkit-think-mcp"]
      }
    }
  }
}

OpenCode merges configuration layers; a project file can override the user entry. OpenCode v2 nests named servers under mcp.servers; use disabled: true only when intentionally turning one off. The default core pack exposes exactly 13 tools. Set REASONKIT_TOOL_PACK=full only as the 47-tool compatibility escape hatch.

Verify

  • The local server starts without stdout noise before the MCP handshake.
  • Tool discovery returns exactly 13 tools under the default pack.
  • The Auto → evidence → checkpoint/decision → audit path completes.

If startup reports an executable error, run command -v reasonkit-think-mcp in the environment that launches OpenCode.