remote-mcp
Skill by garrytan
Publishes the user's own gbrain over MCP so other devices, desktop apps and cloud agents can reach it. It is for users who want their brain reachable remotely without moving the data.
Install remote-mcp
Built from the published package, never by AI.
git clone --depth 1 https://github.com/garrytan/gbrain /tmp/gbrain && mkdir -p ~/.claude/skills && cp -r /tmp/gbrain/skills/remote-mcp ~/.claude/skills/remote-mcpRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/garrytan/gbrain /tmp/gbrain && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/gbrain/skills/remote-mcp ~/.gemini/antigravity-cli/skills/remote-mcpAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill publishes a user's own gbrain over MCP so other devices, desktop apps and cloud agents can reach it. The command gbrain mcp expose installs and signs in Tailscale, publishes the running gbrain serve --http on the tailnet over HTTPS, keeps the server alive as a user service, and returns the MCP URL. Tailnet-only access is the default, and Funnel is used only when a client runs in a vendor cloud.
After publishing, the skill registers one least-privilege client per consumer, using memory-writer or memory-reader profiles. For each client it chooses native OAuth/PKCE or a private machine handoff, then verifies the connection inside the intended harness. The skill asks for consent before host changes and keeps tokens and credentials out of chat.
Written from the project's SKILL.md and checked against it.
What it can do
- Tailnet publishingPublishes the local gbrain server on the tailnet over HTTPS, tailnet-only by default.
- Funnel for cloud agentsUses --funnel so vendor-cloud agents can reach the same name over public HTTPS.
- Persistent serviceKeeps the server running as a user service and hands back the MCP URL.
- Scoped client accessRegisters one client per consumer with memory-writer or memory-reader profiles.
- Connection verificationChecks the connection inside the intended client harness after registration.
What you need
- A Tailscale account to sign in
- A gbrain install on the machine that holds the brain
- A macOS or Linux host
- HTTPS certificates and MagicDNS enabled in the tailnet
- The Funnel capability on the node for cloud agents
Try asking
- Use my brain over MCP from my phone.
- Put my brain on Tailscale so my laptop can reach it.
- Connect Claude Desktop to my brain with read-only access.
Good to know
- Funnel makes the endpoint publicly reachable, protected by gbrain auth and scoped grants.
- Must run on the brain host. A thin client without a brain cannot use it.
- On a PGLite brain the running server owns the single-writer lock.
- Tailnet-only access for cloud agents is advanced, unverified and not automated.
Security check
C- Asks for administrator rights (sudo)In
skills/remote-mcp/SKILL.md:`sudo
Checked automatically: skills/remote-mcp/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md29 KB -
routing-eval.jsonl1 KB
Alternatives to remote-mcp
All alternatives →Set up and diagnose a local agentmemory installation. It covers MCP connections, environment variables, ports, auth and feature flags, and is for users getting started or checking a connection.
Analyzes a Karpathy-pattern LLM wiki and builds an interactive knowledge graph with entities, implicit links and topic clusters. Built for people who maintain LLM-generated markdown wikis.
Saves and loads timestamped reports for AI assistants, with keyword routing for fast lookup. It also runs an Actionability Gate that checks report links before delivery. Intended for morning briefings, meeting digests and research reports.
Removes a personal fact, preference, relationship detail, topic or past event from Muse's active memory. It also stops existing copies and automations from bringing it back.
Git Context Controller (GCC) is a skill that stores agent memory as a versioned file system under .GCC/. It suits multi-step projects that need milestone tracking, branching and context recovery across sessions.
Guides an evidence-first reading of a book, article, PDF or document set. Built for readers who want claims, evidence and recall rather than a short summary.
Compare with agentmemory-config, understand-knowledge or reports
remote-mcp: common questions
Is my brain exposed to the public internet by default?
No. The default is tailnet-only HTTPS, and Funnel is used only when a cloud agent must reach the brain.
Which clients can connect to the published brain?
The skill lists Claude Desktop, Claude Code, Codex and opencode on other devices, plus cloud agents such as Grok Bot, Muse, ChatGPT, Claude.ai and Perplexity. Cloud agents need Funnel.
Does this move my data off my computer?
No. The skill says it publishes the brain where it already runs on the user's computer, without moving the data.
How do I install remote-mcp?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is remote-mcp free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is remote-mcp safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade C (asks for administrator rights (sudo)). Review the code before you install. How grades work.
What are alternatives to remote-mcp?
Similar skills: agentmemory-config, understand-knowledge, reports, forget.
