{
  "id": "ao-mcp-opencode-config-table",
  "kind": "table",
  "slug": "ao-mcp-opencode-config",
  "iil_id": null,
  "note_url": "https://iinventedlight.com/library/notes/ao-mcp-opencode-config/",
  "title": "MCP server config keys: OpenCode vs Gemini CLI",
  "columns": [
    "tool",
    "key",
    "meaning"
  ],
  "rows": [
    {
      "tool": "OpenCode",
      "key": "mcp.servers.<name>",
      "meaning": "named server; local = command over stdio, remote = URL"
    },
    {
      "tool": "OpenCode",
      "key": "disabled",
      "meaning": "keep the config without connecting (there is no enabled field)"
    },
    {
      "tool": "OpenCode",
      "key": "opencode mcp add [--global]",
      "meaning": "write project config, or global with --global"
    },
    {
      "tool": "Gemini CLI",
      "key": "mcpServers (settings.json)",
      "meaning": "top-level object of servers"
    },
    {
      "tool": "Gemini CLI",
      "key": "includeTools / excludeTools",
      "meaning": "filter exposed tools; excludeTools wins"
    }
  ],
  "related_slugs": [
    "ao-mcp-transports-and-trust"
  ],
  "license": "CC-BY-4.0",
  "source_license": "MIT (anomalyco/opencode (GitHub)); Apache-2.0 (google-gemini/gemini-cli (GitHub)); prose restates cited source lines in own words",
  "as_of": "2026-11-16",
  "status": "week-draft-20261116",
  "note": "Restated from the note; check the note sources before relying on a value."
}