-
Notifications
You must be signed in to change notification settings - Fork 158
Open
Labels
bugSomething isn't workingSomething isn't workingstatus:needs-reviewNeeds maintainer reviewNeeds maintainer review
Description
📋 Pre-flight Checks
- I have searched existing issues and this is not a duplicate
- I understand this issue needs
status:approvedbefore a PR can be opened
📝 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.engramUsing 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 --helpinopencode.json:
{
"mcp": {
"engram": {
"type": "stdio",
"command": "engram",
"args": ["mcp", "--tools=agent"]
}
}
}- Start opencode:
❯ opencodeYou will see the following error:
Error: Configuration is invalid at ~/.config/opencode/opencode.json
↳ Invalid input mcp.engramNote
❯ 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.engramOperating System
macOS
Engram Version
1.10.1
Agent / Client
OpenCode
📋 Relevant Logs
💡 Additional Context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingstatus:needs-reviewNeeds maintainer reviewNeeds maintainer review