Agent♥︎Age
Catalog

io.github.skylarng89/cogmemory-mcp

Official

by skylarng89 · TypeScript

CogMemory MCP Server — Unified context subsystems for AI coding agents

io.github.skylarng89/cogmemory-mcp (MCP Server)

CogMemory MCP Server is a Model Context Protocol (MCP) server that provides four context subsystems for AI coding agents: Memory, a Knowledge Graph, Specs for long-form documents, and a Code Graph for static structure and execution traces. It uses SQLite storage via better-sqlite3, with one .db file per scope.

🛠️ Key Features

  • Memory subsystem (decisions, conventions, errors, active context, changelog, plan, tasks, sessions)
  • Knowledge Graph subsystem (entities, relations, observations)
  • Specs subsystem for long-form documents (PRD/SRS), optionally linked to a KG entity
  • Code Graph subsystem (static structural graph, named execution traces, AI-generated annotations)
  • SQLite storage via better-sqlite3; one .db per scope

🚀 Use Cases

  • Manage agent memory including tasks, sessions, and active context
  • Represent entities and relationships via a Knowledge Graph
  • Attach PRD/SRS-style specifications to agent workflows, optionally tied to KG entities
  • Capture code structure plus named execution traces and annotations

⚡ Developer Benefits

  • Unified MCP-based access to context subsystems (memory, KG, specs, code graph)
  • Scope-based persistence using SQLite .db files

⚠️ Limitations

  • Source material does not describe available MCP tools or any operational constraints beyond SQLite storage and per-scope .db files.

Topics

agent-memoryagentic-aillmmcpmcp-servermcp-toolsmemory