Myco Brain is a self-hosted, open-source (Apache-2.0) memory layer and MCP server for AI agents. Cross-session recall with a deterministic write path and source-backed answers (brain_why), on your own Postgres, no API keys to start. 11 brain_* tools; keyless semantic search via local Ollama.
Server Config
{
"mcpServers": {
"myco-brain": {
"command": "npx",
"args": [
"-y",
"@mycobrain/mcp-server"
],
"env": {
"DATABASE_URL": "postgresql://brain:brain@localhost:5432/brain",
"BRAIN_WORKSPACE_ID": "00000000-0000-0000-0000-000000000001",
"BRAIN_API_KEY": "brain_00000000-0000-0000-0000-000000000001_00000000-0000-0000-0000-0000000000a1_localdev"
}
}
}
}