Full documentation: docs/
An MCP server that turns a project directory into a queryable semantic knowledge base. Indexes markdown documentation, TypeScript/JavaScript source code, and all project files into interconnected graph structures. Supports multi-project operation, workspaces, access control, and real-time updates.
| Graph | Storage | Description |
|---|---|---|
| DocGraph | docs.json |
Markdown chunks with cross-file links and code block extraction |
| CodeGraph | code.json |
AST symbols (functions, classes, interfaces) via tree-sitter |
| KnowledgeGraph | knowledge.json |
User/LLM-created notes with typed relations |
| FileIndexGraph | file-index.json |
All project files with metadata and directory hierarchy |
| TaskGraph | tasks.json |
Tasks with kanban workflow, priorities, assignees |
| SkillGraph | skills.json |
Reusable recipes with steps, triggers, usage tracking |
See docs/graphs-overview.md for data models, node IDs, and edge types.
| Group | Count | Condition |
|---|---|---|
| Context | 1 | always |
| Docs + Code blocks + Cross-graph | 10 | docs enabled |
| Code | 5 | code enabled |
| File index | 3 | always |
| Knowledge | 12 | always |
| Tasks | 17 | always |
| Epics | 8 | task graph enabled |
| Skills | 14 | always |
See docs/api-mcp.md for schemas and docs/mcp-tools-guide.md for usage guide.
- Hybrid search: BM25 + vector cosine, fused via RRF, BFS graph expansion — docs/search.md
- Embeddings: local ONNX (Xenova/bge-m3 default) or remote HTTP proxy — docs/embeddings.md
- File mirror:
.notes/,.tasks/,.skills/markdown files with reverse import — docs/file-mirror.md - Cross-graph links: phantom proxy nodes connecting any graph to any graph — docs/graphs-overview.md
- Auth: password login (JWT cookies) + API keys (Bearer) — docs/authentication.md
- ACL: 4-level chain (graph → project → workspace → server → default) — docs/authentication.md
- REST API: Express with Zod validation — docs/api-rest.md
- WebSocket: real-time push events — docs/api-websocket.md
- Web UI: React 19 + MUI 7 (FSD architecture) — docs/ui-architecture.md
- Multi-project: one process, multiple projects — docs/cli.md
- Workspaces: shared knowledge/tasks/skills across projects — docs/configuration.md
- Team:
.team/directory for task assignees — docs/team.md - Docker: multi-platform image (amd64 + arm64) — docs/docker.md
All config via graph-memory.yaml. See docs/configuration.md and graph-memory.yaml.example.
graphmemory serve --config graph-memory.yaml # HTTP server (primary)
graphmemory index --config graph-memory.yaml -p X # index + exit
graphmemory users add --config graph-memory.yaml # add userSee docs/cli.md for full reference.