Skip to content

OpenCode can't connect to agentmemory's mcp server anymore #936

Description

@vitalimi

OpenCode can't connect to agentmemory's mcp server anymore.
OpenCode 1.17.6

agentmemory status

◆ Connected — v0.9.27 at http://localhost:3111

◇ agentmemory ──────────────────────────────────────────────────────────────╮
│ │
│ Health: ✓ healthy │
│ Sessions: 0 │
│ Observations: 0 │
│ Memories: 0 │
│ Graph: 0 nodes, 0 edges │
│ Circuit: closed │
│ Heap: 30 MB │
│ Uptime: 2791s │
│ Viewer: http://localhost:3113
│ │
│ Provider: ✓ llm │
│ Embeddings: ✓ embeddings │
│ Flags: │
│ ✓ GRAPH_EXTRACTION_ENABLED Knowledge graph extraction │
│ ✓ CONSOLIDATION_ENABLED Memory consolidation │
│ ✓ AGENTMEMORY_AUTO_COMPRESS LLM-powered observation compression │
│ ✓ AGENTMEMORY_INJECT_CONTEXT In-conversation context injection │
│ │
├────────────────────────────────────────────────────────────────────────────╯

Opencode /status:
agentmemory MCP server -32000: Connection closed

Viewer is available on http://localhost:3113/#dashboard

agentmemory doctor

◇ server: 8/9 passing ──────────────────────────────────────────────────╮
│ │
│ ✓ Server reachable │
│ ✓ Health status │
│ ✓ LLM provider │
│ ✓ Embedding provider │
│ ✓ Knowledge graph extraction │
│ ✓ Memory consolidation │
│ ✓ LLM-powered observation compression │
│ ✓ In-conversation context injection │
│ ✗ Knowledge graph populated │
│ Graph is empty. Run a session with GRAPH_EXTRACTION_ENABLED=true. │
│ │
├────────────────────────────────────────────────────────────────────────╯

◆ env-missing ✓

◆ no-llm-provider-key ✓ (found: OPENAI_API_KEY, MINIMAX_API_KEY)

◆ engine-version-mismatch ✓ (0.11.2 (pinned 0.11.2))

◆ viewer-unreachable ✓

◆ stale-pidfile ✓ (pid is alive)

◆ env-placeholder-keys ✓

◆ iii-on-path-not-local-bin ✓

└ All diagnostics passing. agentmemory is healthy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions