Alaya MCP Server
by securityroninio.github.SecurityRonin/alaya-mcpv0.4.7
Neuroscience-inspired local agent memory that stores episodes, consolidates knowledge over time and builds a personal knowledge graph with semantic recall.
context tax
queued
security
queued
cold start
queued
freshness
Maintained3mo ago
Install Alaya MCP server
Install in Claude Code
claude mcp add alaya -e ALAYA_LLM_API_KEY='<alaya-llm-api-key>' -- npx -y alaya-mcpInstall in Cursor
{
"mcpServers": {
"alaya": {
"command": "npx",
"args": [
"-y",
"alaya-mcp"
],
"env": {
"ALAYA_LLM_API_KEY": "<alaya-llm-api-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"alaya": {
"command": "npx",
"args": [
"-y",
"alaya-mcp"
],
"env": {
"ALAYA_LLM_API_KEY": "<alaya-llm-api-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"alaya": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"alaya-mcp"
],
"env": {
"ALAYA_LLM_API_KEY": "<alaya-llm-api-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"alaya": {
"command": "npx",
"args": [
"-y",
"alaya-mcp"
],
"env": {
"ALAYA_LLM_API_KEY": "<alaya-llm-api-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| ALAYA_LLM_API_KEY | — | yes | API key for auto-consolidation (enables LLM-powered knowledge extraction) |
| ALAYA_LLM_API_URL | — | — | OpenAI-compatible chat completions endpoint |
| ALAYA_LLM_MODEL | — | — | Model name (e.g. gpt-4o-mini, haiku, gemini-flash) |
| ALAYA_DB | — | — | Path to SQLite database |
Freshness
Maintained — last maintenance signal 3mo ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-07-16 · 3mo ago · GitHub
Latest release
2026-04-18 · 6mo ago · GitHub · v0.4.8
Package published
no data · npm/PyPI
Registry entry updated
2026-03-27 · 7mo ago · official registry · v0.4.7
FAQ
›How do I install the Alaya MCP server in Claude Code?
Run: claude mcp add alaya -e ALAYA_LLM_API_KEY='<alaya-llm-api-key>' -- npx -y alaya-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Alaya require an API key?
Yes. It expects ALAYA_LLM_API_KEY, of which 1 is a secret.
›Can I use Alaya as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Alaya in the official MCP registry?
Yes, as io.github.SecurityRonin/alaya-mcp.
Alternatives to Alaya
Other notes & knowledge MCP servers.