claude mcp add gbrain -- gbrain serveThat's it. Claude Code spawns gbrain serve as a stdio subprocess. No server, no
tunnel, no token needed. Works with both PGLite and Supabase engines.
If you have GBrain running on a server with a public tunnel (see ngrok-tunnel recipe):
claude mcp add gbrain -t http \
https://YOUR-DOMAIN.ngrok.app/mcp \
-H "Authorization: Bearer YOUR_TOKEN"Replace YOUR-DOMAIN with your ngrok domain and YOUR_TOKEN with a token
from gbrain auth create "claude-code".
In Claude Code, try:
search for [any topic in your brain]
You should see results from your GBrain knowledge base.
claude mcp remove gbrain