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 notes for project ideas"
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
MCP server exposing the Brain wiki to other agents: read/search + append-only writes.
Run locally (stdio)
Register at user scope so it's available in every Claude Code session:
{
"mcpServers": {
"brain": {
"command": "brain-mcp",
"env": {
"BRAIN_ROOT": "/Users/shanzer/Documents/Brain",
"BRAIN_MANIFEST": "/Users/shanzer/source/brain/brain-mcp.config.json"
}
}
}
}
BRAIN_MANIFESTmust be an absolute path tobrain-mcp.config.jsonin this repo — the manifest lives in the project directory, not inside the vault.
Stdio smoke test
cd ~/source/brain
printf '%s\n%s\n' \
'{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"smoke","version":"0"}}}' \
'{"jsonrpc":"2.0","id":2,"method":"tools/list","params":{}}' \
| BRAIN_ROOT="/Users/shanzer/Documents/Brain" \
BRAIN_MANIFEST="/Users/shanzer/source/brain/brain-mcp.config.json" \
brain-mcpExpected: two JSON-RPC responses; the second lists 8 tools.
Related MCP server: llm-wiki-kiss
Run as a network service (HTTP)
BRAIN_TRANSPORT=http BRAIN_PORT=3005 \
BRAIN_TOKEN=… BRAIN_ALLOWED_HOSTS=localhost,yoyodyne.local \
BRAIN_ROOT=/path/to/synced/Brain \
BRAIN_MANIFEST=/path/to/brain-mcp/brain-mcp.config.json \
brain-mcpSmoke test:
curl -s localhost:3005/healthRemote client stanza:
{ "mcpServers": { "brain": { "url": "http://storm.local:3005/mcp",
"headers": { "Authorization": "Bearer <token>" } } } }Tools
brain_search,brain_read,brain_map,brain_pending(read)brain_submit_source,brain_append_journal,brain_add_note,brain_deposit(append/create-only)
brain_append_journal — entry placement
brain_append_journal inserts a timestamped bullet directly under the chosen ## Section
heading — after any existing bullets in that section, immediately before the next ##
heading (or EOF for the last section). The entry shape is:
- YYYY-MM-DD HH:MM — your content hereDownstream journal-processing agents should expect entries nested under their section
headings (## Work, ## Personal, ## Notes & Ideas), not as labeled blocks at end of
file.
Graph view (HTTP transport only)
GET /graph— full wikilink graph as JSON ({nodes, edges, stats}), gated by the same allowlist + bearer token as/mcp. Nodes are every.mdpage; unresolved[[targets]]appear asghost: truenodes; attachment embeds are skipped.GET /graph/view— self-contained Obsidian-style interactive viewer (static/graph.html). Allowlist-gated only; the page prompts for the bearer token (stored in that browser's localStorage) and fetches/graphsame-origin.
curl -s -H "Authorization: Bearer <token>" localhost:3005/graph | jq .stats
open http://localhost:3005/graph/viewDeposit registry
Edit brain-mcp.config.json and restart to add targets. See the design spec.
launchd (macOS background service)
A plist template lives at docs/launchd/com.brain-mcp.plist. To install:
cp docs/launchd/com.brain-mcp.plist ~/Library/LaunchAgents/
# Edit the copy: replace REPLACE_WITH_NODE_PATH with the output of `which node`
# (e.g. an nvm path or /opt/homebrew/bin/node) and REPLACE_WITH_TOKEN with your bearer token.
chmod 600 ~/Library/LaunchAgents/com.brain-mcp.plist # file holds the token
launchctl load ~/Library/LaunchAgents/com.brain-mcp.plistSecurity: the plist holds
BRAIN_TOKENin plaintext —chmod 600is required. Never commit a filled-in token. The template ships withREPLACE_WITH_TOKEN.
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.
Latest Blog Posts
- 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/shanzer/brain-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server