graphmemory
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@graphmemorysearch for notes about deployment"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
graphmemory
An MCP server that builds a semantic graph memory from a project directory. Indexes markdown docs, TypeScript/JavaScript source code, and all project files into graph structures, then exposes them as 70 MCP tools + REST API + Web UI.

Quick start
npm install -g @graphmemory/server
cd /path/to/my-project
graphmemory serveThat's it. No config file needed — the current directory becomes your project. Open http://localhost:3000 for the web UI.
The embedding model (~560 MB) downloads on first startup and is cached at ~/.graph-memory/models/.
Connect an MCP client
Claude Code:
claude mcp add --transport http --scope project graph-memory http://localhost:3000/mcp/my-projectClaude Desktop — add via Settings > Connectors, enter the URL:
http://localhost:3000/mcp/my-projectCursor / Windsurf / other clients — enter the URL directly in settings:
http://localhost:3000/mcp/my-projectThe project ID is your directory name. Multiple clients can connect simultaneously.
With a config file
For multi-project setups, custom embedding models, auth, or workspaces — create graph-memory.yaml:
projects:
my-app:
projectDir: "/path/to/my-app"
docs-site:
projectDir: "/path/to/docs"
graphs:
code:
enabled: falsegraphmemory serve --config graph-memory.yamlSee docs/configuration.md for full reference and graph-memory.yaml.example for all options.
Docker
docker run -d \
--name graph-memory \
-p 3000:3000 \
-v $(pwd)/graph-memory.yaml:/data/config/graph-memory.yaml:ro \
-v /path/to/my-app:/data/projects/my-app:ro \
-v graph-memory-models:/data/models \
ghcr.io/graph-memory/graphmemory-serverDocker Compose:
services:
graph-memory:
image: ghcr.io/graph-memory/graphmemory-server
ports:
- "3000:3000"
volumes:
- ./graph-memory.yaml:/data/config/graph-memory.yaml:ro
- /path/to/my-app:/data/projects/my-app
- models:/data/models
restart: unless-stopped
depends_on:
redis:
condition: service_healthy
redis:
image: redis:7-alpine
restart: unless-stopped
volumes:
- redis-data:/data
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 10s
timeout: 3s
retries: 3
volumes:
models:
redis-data:Redis is optional. Remove the
redisservice anddepends_onif you don't need shared session store or embedding cache.
See docs/docker.md for details.
Related MCP server: repo-graphrag-mcp
What it does
Feature | Description |
Docs indexing | Parses markdown into heading-based chunks with cross-file links and code block extraction |
Code indexing | Extracts AST symbols (functions, classes, interfaces) via tree-sitter |
File index | Indexes all project files with metadata, language detection, directory hierarchy |
Knowledge graph | Persistent notes and facts with typed relations and cross-graph links |
Task management | Kanban workflow with priorities, assignees, and cross-graph context |
Skills | Reusable recipes with steps, triggers, and usage tracking |
Hybrid search | BM25 keyword + vector cosine similarity with BFS graph expansion |
Real-time | File watching + WebSocket push to UI |
Multi-project | One process manages multiple projects from a single config |
Workspaces | Share knowledge/tasks/skills across related projects |
Auth & ACL | Password login (JWT), API keys, OAuth 2.0 (PKCE), 4-level access control |
70 MCP tools
Group | Tools |
Context |
|
Docs |
|
Code |
|
Files |
|
Knowledge |
|
Tasks |
|
Epics |
|
Skills |
|
Web UI
Dashboard, Knowledge (notes CRUD), Tasks (kanban board with drag-drop), Skills (recipes), Docs browser, Code browser (symbols, edges, source), Files browser, Prompts (AI prompt generator), Search (cross-graph), Tools (MCP explorer), Help.
Light/dark theme. Real-time WebSocket updates. Login page when auth is configured.
Authentication
users:
alice:
name: "Alice"
email: "alice@example.com"
apiKey: "mgm-key-abc123"
passwordHash: "$scrypt$65536$..." # generated by: graphmemory users add
server:
jwtSecret: "your-secret"
defaultAccess: rw
redis: # optional: session store + embedding cache
enabled: true
url: "redis://localhost:6379"UI login: email + password → JWT cookies (httpOnly, SameSite=Strict)
API access:
Authorization: Bearer <apiKey>OAuth 2.0: Authorization Code + PKCE (S256) with frontend consent page at
/ui/auth/authorize; also supports client credentials and refresh tokensOAuth endpoints:
/api/oauth/userinfo,/api/oauth/introspect,/api/oauth/revoke,/api/oauth/end-sessionACL: graph > project > workspace > server > defaultAccess (
deny/r/rw)Redis (optional): when
server.redisis configured, used for OAuth session store and embedding cache
Development
npm run dev # tsc --watch (backend)
cd ui && npm run dev # Vite on :5173, proxies /api → :3000
npm test # 1809 tests across 45 suitesDocumentation
Full documentation is in docs/:
Concepts: docs indexing, code indexing, tasks, skills, knowledge, file index
Architecture: system architecture, graphs overview, search algorithms, embeddings
API: REST API, MCP tools guide, WebSocket
Operations: CLI, configuration, Docker, npm
Security: authentication, security
UI: architecture, features, patterns
Development: testing, API patterns
Contributing
Contributions are welcome! See CONTRIBUTING.md for guidelines.
For security vulnerabilities, see SECURITY.md.
License
Elastic License 2.0 (ELv2) — free to use, modify, and self-host. Not permitted to offer as a managed/hosted service.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/graph-memory/graphmemory'
If you have feedback or need assistance with the MCP directory API, please join our Discord server