📋 Pre-flight Checks
📝 Bug Description
engram --help instructs the user to add the following block to opencode.json:
{
"mcp" : {
"engram" : {
"type" : " stdio" ,
"command" : " engram" ,
"args" : [" mcp" , " --tools=agent" ]
}
}
}
This produces the following error @ opencode :
❯ opencode
Error: Configuration is invalid at ~/.config/opencode/opencode.json
↳ Invalid input mcp.engram
Using the following syntax seems to go through, opencode opens without complaining:
{
"mcp" : {
"engram" : {
"type" : " local" ,
"command" : [" engram" , " mcp" , " --tools=agent" ],
"enabled" : true
}
}
🔄 Steps to Reproduce
Configure engram mcp as instructed by engram --help in opencode.json:
{
"mcp" : {
"engram" : {
"type" : " stdio" ,
"command" : " engram" ,
"args" : [" mcp" , " --tools=agent" ]
}
}
}
Start opencode:
You will see the following error:
Error: Configuration is invalid at ~/.config/opencode/opencode.json
↳ Invalid input mcp.engram
Note
❯ opencode --version
1.2.27
❯ engram --version
engram 1.10.1
✅ Expected Behavior
❯ opencode mcp list
┌ MCP Servers
│
● ✓ engram connected
│ engram mcp --tools=agent
│
└ 1 server(s)
❌ Actual Behavior
❯ opencode
Error: Configuration is invalid at ~/.config/opencode/opencode.json
↳ Invalid input mcp.engram
Operating System
macOS
Engram Version
1.10.1
Agent / Client
OpenCode
📋 Relevant Logs
💡 Additional Context
No response
📋 Pre-flight Checks
status:approvedbefore a PR can be opened📝 Bug Description
engram --helpinstructs the user to add the following block toopencode.json:{ "mcp": { "engram": { "type": "stdio", "command": "engram", "args": ["mcp", "--tools=agent"] } } }This produces the following error @ opencode:
Using the following syntax seems to go through, opencode opens without complaining:
{ "mcp": { "engram": { "type": "local", "command": ["engram", "mcp", "--tools=agent"], "enabled": true } }🔄 Steps to Reproduce
engram --helpinopencode.json:{ "mcp": { "engram": { "type": "stdio", "command": "engram", "args": ["mcp", "--tools=agent"] } } }❯ opencodeYou will see the following error:
Note
✅ Expected Behavior
❌ Actual Behavior
Operating System
macOS
Engram Version
1.10.1
Agent / Client
OpenCode
📋 Relevant Logs
💡 Additional Context
No response