brain-mcp
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., "@brain-mcpsearch my knowledge base for MCP server setup"
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.
brain-mcp
Experimental MCP server wrapping brain-cli's
brain.py (personal knowledge DB at ~/brain.db, or $BRAIN_DB) as 6 MCP
tools: brain_save, brain_search, brain_get, brain_context,
brain_link, brain_feedback. Built with FastMCP.
brain.py itself is not modified. All adaptation (stdout-capture guard,
Namespace synthesis, error shaping) lives in brain_mcp/adapter.py and
brain_mcp/server.py.
Status: local prototype, both transports smoke-tested manually. No auth, no deployment yet — see brain-cli for the underlying CLI and schema.
Setup
Clone this repo next to brain-cli (the pyproject.toml path-depends on
../brain-cli):
git clone https://github.com/victorsabino/brain-cli.git
git clone https://github.com/victorsabino/brain-mcp.git
cd brain-mcp && uv syncRelated MCP server: thebrain-mcp-server
Run
# stdio (default)
uv run --directory . brain-mcp
# or, for the inspector:
fastmcp dev brain_mcp/server.py
# streamable-http
BRAIN_MCP_TRANSPORT=http BRAIN_MCP_HOST=127.0.0.1 BRAIN_MCP_PORT=8000 \
uv run --directory . brain-mcp
# serves at http://127.0.0.1:8000/mcpBRAIN_DB overrides the default ~/brain.db — set it before starting the
server.
Out of scope (CLI-only, not exposed as MCP tools)
migrate, reindex, consolidate, delete, update, invalidate, harvest, review, reconcile, anchor, artifact, secrets, block, doctor, stats, recent, history, tags.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
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.
Related MCP Connectors
MCP server for querying BrainKB, a knowledge base for neuroscience knowledge graphs.
Personal knowledge base MCP server with semantic search, auto-categorization, metadata extraction
Personal assistant MCP server with search, execute, packages, jobs, secrets, and integrations.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceLocal MCP server for indexing personal knowledge into SQLite with hybrid search, chunk-level citations, memory tools, and agent orchestration.4MIT
- FlicenseNot gradedqualityDmaintenanceWraps TheBrain knowledge graph as an MCP server, enabling AI assistants to search, create, and manage thoughts, links, and notes via natural language.5-
- AlicenseNot gradedqualityCmaintenanceA lightweight personal knowledge base MCP server that lets clients store, search, organize, and summarize research notes from a local JSON file.MIT
- AlicenseNot gradedqualityAmaintenanceMCP server that turns a Markdown folder (e.g. Obsidian vault) into a second brain, capturing readings and ideas, connecting them as concepts, and resurfacing related notes on demand.244MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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/victorsabino/brain-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server