whitelabel-fleet-mcp
Exposes file, shell, git, and memory tools from a host Mac to remote Claude clients (e.g., iPhone) via HTTPS and Tailscale, enabling full coding capabilities on the go.
README
whitelabel-fleet-mcp
MCP server that exposes the whitelabel fleet to remote Claude clients. Plug your iPhone (or another laptop's Claude Desktop) into this and you get the same coding power you have on the host Mac: read/write files, run shell commands, drive git, read whitelabel-memory.
Why
Coding from a phone usually means SSH + a terminal app — passable but
clunky, and Claude has no idea what the fleet looks like. Model Context
Protocol fixes that: the iOS Claude app speaks MCP as a first-class
client, so once this server is exposed, your phone's Claude can call
list_dir, git_status, run_shell, etc., as native tools.
Architecture
iPhone Claude
↓ HTTPS (Streamable HTTP transport)
Tailscale Serve (or Funnel)
↓
127.0.0.1:8473 ← this server
↓
Fleet tools:
• files read_file, write_file, list_dir, search_code
• shell run_shell
• git git_status, git_diff, git_log, git_commit
• memory read_memory, append_journal
Auth: bearer token in the Authorization header. The token is the
perimeter — guard it like a password.
Setup (local)
cd whitelabel-fleet-mcp
npm install
cp .env.example .env
echo "FLEET_MCP_TOKEN=$(openssl rand -hex 32)" >> .env
npm start
Verify:
curl http://127.0.0.1:8473/healthz
# → {"ok":true,"version":"0.1.0","sessions":0}
Full end-to-end smoke test (boots server, runs every tool, prints results):
FLEET_MCP_TOKEN=$(grep FLEET_MCP_TOKEN .env | cut -d= -f2) \
node scripts/smoke.mjs
Setup (iPhone Claude)
- Install Tailscale on your iPhone and log in to the same tailnet as the host Mac.
- On the host Mac, expose the server over HTTPS:
This prints your tailnet hostname, e.g.bash scripts/serve.shhttps://mac1.tail1234.ts.net/mcp. - In the iPhone Claude app:
- Settings → Connectors → Add custom connector
- URL: the tailnet
/mcpURL from step 2 - Auth: Bearer token → paste your
FLEET_MCP_TOKEN
- Open a new chat. Claude will list the tools it picked up
(
read_file,git_status,run_shell, …). Try: "list the whitelabel-flow repo, then show me the most recent commits."
Setup (start at login)
bash scripts/install-launchd.sh
Installs dev.whitelabel.fleet-mcp as a user LaunchAgent that runs at
login and restarts on crash. Logs at
~/Library/Logs/whitelabel-fleet-mcp/{stdout,stderr}.log.
Uninstall:
launchctl unload ~/Library/LaunchAgents/dev.whitelabel.fleet-mcp.plist
rm ~/Library/LaunchAgents/dev.whitelabel.fleet-mcp.plist
Tools
| Tool | What it does |
|---|---|
read_file |
Read a UTF-8 file (up to 1 MB). |
write_file |
Create or overwrite a file. Makes parent dirs. |
list_dir |
List immediate children of a directory. |
search_code |
rg (or grep -r) across the workspace. |
run_shell |
Execute a shell command via zsh -lc. Capped at 600 s and 200 KB output. |
git_status |
git status --short --branch for any repo. |
git_diff |
Unstaged or staged diff, optionally narrowed to paths. |
git_log |
Last N commits, oneline. |
git_commit |
Stage + commit, with optional push. |
read_memory |
Fetch whitelabel-memory/HANDOFF.md + most-recent journal. |
append_journal |
Drop a new journal entry into whitelabel-memory. |
All file/repo paths must resolve inside WORKSPACE_ROOT (set in .env,
default ~/Documents). Paths outside are rejected.
Security notes
- The bearer token is the only auth. Rotate it if you suspect leakage.
run_shellruns anything — gating is intentional only against Cloudflare/Tailscale-level mishaps, not the authenticated client. If you give the token to a friend they can do anything you can.- Tailscale Serve binds to your tailnet only; Funnel would expose it to the public internet (HTTPS-auth'd by token, not network ACL). Prefer Serve unless you need outside access.
Roadmap
| Version | Adds |
|---|---|
| v0.1 (here) | core tools, bearer auth, Tailscale Serve, LaunchAgent |
| v0.2 | dispatch_to_worker (call whitelabel-orchestrator API to fire long-running jobs on mac1-4) |
| v0.3 | summon_claude_code (spawn a fleet claude -p for heavy refactors) |
| v0.4 | per-tool ACLs (some clients get read-only, some can shell) |
| v1.0 | replaces dispatch.sh entirely as the fleet's RPC layer |
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。