Skip to content

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

Closed

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.

Activity

  1. woshilaohei commented on Jun 14, 2026

    @woshilaohei

    Sorry you're hitting this - MCP connection issues are the worst.

    If you need a working MCP memory server right now as a workaround, MindCore Memory MCP works with OpenCode / Claude Desktop / Cursor out of the box: https://github.com/woshilaohei/mindcore-memory-mcp

    • pip install mindcore-memory ? add to MCP config ? done
    • No Docker, no Qdrant, no API keys - pure Python, runs locally
    • Hybrid BM25+FAISS with circuit breaker (doesn't crash if embedding fails)
    • 132/132 tests, MIT licensed

    Won't fix agentmemory's OpenCode plugin, but might unblock you today if you just need memory working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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