Brain MCP Server
by seritalienio.github.seritalien/brain-protocolv0.3.3
Verifiable Memory-as-a-Service for AI Agents — MCP server with local SQLite or cloud mode
context tax
queued
security
queued
cold start
queued
freshness
Stale8mo ago
Install Brain MCP server
Install in Claude Code
claude mcp add brain -e BRAIN_API_KEY='<brain-api-key>' -- npx -y @brain-protocol/mcpInstall in Cursor
{
"mcpServers": {
"brain": {
"command": "npx",
"args": [
"-y",
"@brain-protocol/mcp"
],
"env": {
"BRAIN_API_KEY": "<brain-api-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"brain": {
"command": "npx",
"args": [
"-y",
"@brain-protocol/mcp"
],
"env": {
"BRAIN_API_KEY": "<brain-api-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"brain": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@brain-protocol/mcp"
],
"env": {
"BRAIN_API_KEY": "<brain-api-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"brain": {
"command": "npx",
"args": [
"-y",
"@brain-protocol/mcp"
],
"env": {
"BRAIN_API_KEY": "<brain-api-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| BRAIN_API_URL | — | — | Cloud mode API URL (e.g., https://brain.api.vauban.tech). When unset, uses local SQLite. |
| BRAIN_API_KEY | — | yes | API key for cloud mode authentication (sent as X-API-Key header) |
| BRAIN_DB_PATH | — | — | Override path for the local SQLite database file |
Freshness
Stale — last maintenance signal 8mo ago. The newest of the signals below sets the band.
Last commit (default branch)
no data · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-02-15 · 8mo ago · official registry · v0.3.3
FAQ
›How do I install the Brain MCP server in Claude Code?
Run: claude mcp add brain -e BRAIN_API_KEY='<brain-api-key>' -- npx -y @brain-protocol/mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Brain require an API key?
Yes. It expects BRAIN_API_KEY, of which 1 is a secret.
›Can I use Brain as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Brain in the official MCP registry?
Yes, as io.github.seritalien/brain-protocol.
Alternatives to Brain
Other database MCP servers.