Connect OpenCode

Installing OpenCode and giving it your context are 2 different jobs. This one connects OpenCode to your AI OS, so every session starts already knowing your business.

Navid Moazzezby Navid MoazzezUpdated Sept. 7, 20261 min read

OpenCode runs on your machine, so it gets the local server and can build and edit the folder itself.

  1. 1Open your config.
    $ open opencode.json
  2. 2Add the server.
    $ { "$schema": "https://opencode.ai/config.json", "mcp": { "aios": { "type": "local", "command": ["npx", "-y", "@thenavidm/aios-mcp-cli"], "enabled": true } } }
  3. 3Restart it and ask it to audit your AI OS.
Was this page helpful?