| Field | Value |
|---|---|
| Name | @graphmemory/server |
| Registry | https://www.npmjs.com/package/@graphmemory/server |
| License | Elastic License 2.0 (ELv2) |
| Node.js | >= 22 |
npm install -g @graphmemory/serverOr use npx without installing:
cd /path/to/my-project
npx @graphmemory/server serveAfter global installation, the graphmemory command is available:
# Zero-config: use current directory as project
cd /path/to/my-project
graphmemory serve
# With config file
graphmemory serve --config graph-memory.yaml
graphmemory index --config graph-memory.yaml --project my-app
graphmemory users add --config graph-memory.yamlSee CLI for full command reference.
The npm package includes:
dist/— compiled server + UIREADME.md
Published files are defined in package.json:
{
"files": ["dist/", "README.md"],
"bin": {
"graphmemory": "dist/cli/index.js"
}
}Published automatically via GitHub Actions on version tags (v*):
# .github/workflows/npm.yml
on:
push:
tags: ['v*']Workflow:
- Checkout code
- Setup Node.js 24
npm ci(server + UI deps)npm run build(server + UI)npm publish(to npmjs.org)
npm run build # Build server + UI
npm publish # Publish to npmgit clone https://github.com/graph-memory/graphmemory.git
cd graphmemory
npm install
cd ui && npm install && cd ..
npm run buildnpm run dev # tsc --watch (server)
npm run cli:dev # Run CLI without build (tsx)
cd ui && npm run dev # Vite dev server on :5173Start the server:
npx @graphmemory/server serve --config graph-memory.yamlConnect MCP client to http://localhost:3000/mcp/{projectId}.
Version is in package.json. To release:
npm version patch # or minor, major
git push --tags # Triggers CI: npm publish + Docker build