secondbrain-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., "@secondbrain-mcpwhat are my next actions?"
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.
secondbrain-mcp
One server. One connector. Every Claude client.
There is no chat UI to build. A custom connector is configured once, on your account, at claude.ai → Customize → Connectors → "+" → Add custom connector. From then on it is available in Claude Desktop, claude.ai, Cowork and the iOS and Android apps. Same server, same vault, same tools everywhere.
Claude connects to this remote MCP server from Anthropic's cloud, so the
server must be on the public internet with real TLS. Deploy target:
https://brain.lous.info on the shared Hetzner host. Platform services are
owned by hetzner-infra; this repo deploys only the app plus nginx /
observability drop-ins (same pattern as Padel Vibe / Unseen Servant).
Routes
route | who calls it | auth |
| Claude, every client |
|
| optional browser view | optional nginx basic auth |
| GitHub webhook (optional) |
|
| Docker / CI healthcheck | none |
Related MCP server: Obsidian Everywhere
Auth
Two secrets, two jobs — do not mix them:
Env | Role |
| Dedicated bearer for the Claude connector (not a GitHub PAT) |
| Fine-scoped PAT for HTTPS clone/pull/push of the vault |
No GitHub OAuth. In the connector UI, set request header
Authorization = Bearer <MCP_AUTH_TOKEN>.
How it works
phone browser ─┐ ┌─ shared nginx :443 ─┐
├── https ───────────┤ ├── secondbrain-mcp:8000
Claude cloud ──┘ └─────────────────────┘ │
├─ /vault (git clone)
│ ▲
│ │ pull every 5 min
github.com/.../SecondBrain
▲
Obsidian Git │ auto-commit
laptopThe container never touches your laptop. GitHub is the sync bus.
Deploy (Hetzner)
# one-time on the server
sudo mkdir -p /opt/secondbrain/deploy/nginx
sudo chown -R deploy:deploy /opt/secondbrain
cp .env.example /opt/secondbrain/deploy/.env # fill secrets
chmod 600 /opt/secondbrain/deploy/.envPush to main builds ghcr.io/<owner>/secondbrain-mcp, SSHs to Hetzner,
installs the nginx vhost into /opt/hetzner/deploy/nginx/conf.d/, syncs
observability drop-ins, and health-checks https://brain.lous.info/health.
GitHub Environment Hetzner: secret HETZNER_SSH_KEY, vars
HETZNER_HOST, HETZNER_USER (same as the other apps).
Local
cp .env.example .env # set VAULT_GITHUB_PAT + MCP_AUTH_TOKEN
docker compose -f docker-compose.dev.yml up -d --build
curl -s localhost:8770/healthTools
Reads: search_vault, get_note, neighbors
Lenses: next_actions, renewals, annual_cost, open_unknowns,
stale_facts, check_graph
Writes: capture, answer_unknown
Every write is pull --rebase → edit → check_graph.py → commit → push, and
rolls back if the validator reports dangling links.
Known limits
answer_unknowndoes string surgery on frontmatter; fine for current vault shapes, not exotic YAML.renewalsneeds notes withrenewal_datepopulated.
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 Servers
- Alicense-qualityBmaintenanceConnects claude.ai to a private GitHub repo of markdown files as a personal second brain, providing guarded read and write tools for knowledge management.15MIT
- AlicenseAqualityAmaintenanceEnables Claude clients to interact with an Obsidian vault as a knowledge graph, supporting full-text search, backlink traversal, neighborhood exploration, and note creation/append.391,3142MIT
- Alicense-qualityBmaintenanceEnables Claude to search, read, write, and manage a local markdown vault through 8 tools, turning your notes into an AI-accessible knowledge base.3AGPL 3.0
- Alicense-qualityDmaintenanceEnables Claude to read, write, search, and manage an Obsidian vault with tools for notes, tags, folders, and full-text search.13MIT
Related MCP Connectors
Connect AI assistants to your GitHub-hosted Obsidian vault to seamlessly access, search, and analy…
Search and reason over your Obsidian-style Markdown vault, right from ChatGPT.
Read and write your Fresh Jots notes from Claude, Cursor, and any MCP client.
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/TomLous/secondbrain-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server