Skip to content

OpenCode Setup

Terminal window
engram setup opencode

That command installs the plugin and registers the MCP server in opencode.json.

  • auto-start of the server when needed
  • session creation and recovery
  • memory protocol injection
  • compatibility with local-model setups that need a single system block

Add this to ~/.config/opencode/opencode.json or your project-level config:

{
"mcp": {
"engram": {
"type": "local",
"command": ["engram", "mcp"],
"enabled": true
}
}
}