Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 91
  • 34k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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-mcp

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install remote-mcp in Claude Code

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 →

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.

remote-mcp Install

Add to stack

Loading.