From ad15c01ed462b777d6ba437b6e7e13d7b82a4f38 Mon Sep 17 00:00:00 2001 From: idrojone Date: Sun, 26 Apr 2026 21:26:12 +0200 Subject: [PATCH] fix(help): update engram --help with correct OpenCode MCP example Separated MCP configuration examples into 'Standard' and 'OpenCode' to prevent configuration errors in OpenCode. Closes #88 --- cmd/engram/main.go | 27 ++++++++++++++++++++------- 1 file changed, 20 insertions(+), 7 deletions(-) diff --git a/cmd/engram/main.go b/cmd/engram/main.go index 118c530a..bb19f5c2 100644 --- a/cmd/engram/main.go +++ b/cmd/engram/main.go @@ -2164,15 +2164,28 @@ Environment: Ignored/rejected in insecure mode (ENGRAM_CLOUD_INSECURE_NO_AUTH=1) MCP Configuration (add to your agent's config): - { - "mcp": { - "engram": { - "type": "stdio", - "command": "engram", - "args": ["mcp", "--tools=agent"] + + Standard (Claude Code, Gemini CLI, Cursor): + { + "mcp": { + "engram": { + "type": "stdio", + "command": "engram", + "args": ["mcp", "--tools=agent"] + } + } + } + + OpenCode: + { + "mcp": { + "engram": { + "type": "local", + "command": ["engram", "mcp", "--tools=agent"], + "enabled": true + } } } - } `, version) }