跳到主要内容

案例库

自建 MCP 注册为 Grok Bot 自定义连接器,经 Cloudflare Tunnel 触达本机 Mac,工作在专用分支、只在本机批准

A self-built MCP registered as a Grok Bot custom connector, reaching the Mac through a Cloudflare Tunnel, with work on a dedicated branch and approvals only from the Mac

X, @masahirochaen, 2026-11-09

编程与仓库 全文核对建议先读

打开原文

https://x.com/masahirochaen/status/2119488747293266272

场景

想只用 Grok Bot 完成工作,同时让它能碰本机 Mac 的本地文件夹并联动 Claude Code

Wanted to finish work through Grok Bot alone while letting it touch local folders on the Mac and work with Claude Code

他们怎么做

把自建 MCP 注册为 Grok Bot 的自定义连接器;Mac 通过 Cloudflare Tunnel 安全接入;作业一律在专用分支进行,批准只能从本人的 Mac 发出;可用 AGENTS.md 和 Skill

Register a self-built MCP server as a Grok Bot custom connector; connect the Mac safely through a Cloudflare Tunnel; all work happens on a dedicated branch and approvals can only come from the owner's Mac; AGENTS.md and skills work too

可以拿走的做法

「远程能干活、批准留在本机」的分工;专用分支隔离;先读后写的权限递进
Remote work with approvals kept on the local machine; dedicated-branch isolation; read access before write access

结果与限度

帖子只列结构、无配置细节;回复区有人质疑自建 MCP 的安全性、Mac 宕机即停摆,也有人指出离开 Mac 时审批会积压;有回复建议先给只读文件夹、AGENTS.md 写明「不删、不发」。

The post lists the structure only, without configuration details; replies question self-built MCP security and the single-Mac failure point, note approvals pile up while away from the Mac, and suggest starting with a read-only folder and writing 'never delete, never send' into AGENTS.md.

来源

平台
X
作者
@masahirochaen
日期
2026-11-09 01:54 Asia/Taipei (UTC+8)
日期依据
案例库画布,采集截止 2026-11-11 09:26 Asia/Taipei
时间窗
近7天 案例字段「近7天」相对采集截止 2026-11-11 09:26 Asia/Taipei,不是相对打开页面的今天
原分类
一手实践/本机连接与安全

这条证据标签是什么意思

全文核对

来源已经读过(帖子、文章或字幕)。这只说明原文被读过,不代表本站复现了作者的结果。

标签不是评分。全文核对只表示来源被读过,不表示结果已被复现。

同场景的其他案例

非官方社区项目,与 xAI 没有隶属关系,也未获 xAI 认可或背书。没有注册。做法和数字属于原作者。