Bring your GFT (Git for Thought) white-box thinking map to any AI agent. 把你的思维脉络接给任何 agent。
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent — or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag — we're steadily working through the catalog.
💡 Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
把你在 GFT(Git for Thought) 确认过的思维脉络接给任何 AI agent—— Claude Code、Cursor,或任何支持 MCP 的工具。
用它们的 token,走 GFT 的规则。 对话发生在你的 agent 里,思考资产沉淀在你的图上。
装完重启,你会得到:
/gft:list、/gft:login —— 程序直答,秒回、零 token(UserPromptSubmit hook 拦截,不经过模型)/gft:link 图名、/gft:save —— 把图接进对话 / 把新判断存回图(AI 命令)claude mcp add把这段加进你的 MCP 配置文件(Claude Code:.mcp.json;Cursor:.cursor/mcp.json):
配置零凭证、所有人相同——登录在下一步,凭证只落在你本机 ~/.gft-mcp/。
需要 Node.js ≥ 20。配完重启你的 agent 生效。
对 agent 说「登录 GFT」(或用 /gft:login 命令)——它会跑:
浏览器自动打开 GFT 授权页 → 点一下「授权接入」→ 完成。 密码不经过任何对话或终端;agent 拿到的是独立凭证,你浏览器里的登录不受影响。
还没有 GFT 账号?先去 gitforthought.com 聊一段、生成第一张思维脉络。
装好后你的 agent 自动获得四个命令(MCP prompts,Claude Code 里也可用 /gft:* 短名):
| 命令 | 干什么 |
|---|---|
list | 列出你的思维脉络(名字·条数·各线新鲜度) |
link | 把当前对话链接到一张图(之后读写默认走它) |
save | 把本场对话的新判断增量存回图 |
login | 检查凭证 / 发起网页授权 |
不用命令也行,直接说人话:
「列一下我的 GFT 脉络」「带上『产品定位』那张图」「把刚才聊的存进脉络」
查名单、看图这类纯程序动作可以完全绕开 AI——终端直跑:
Claude Code 用户的妙用:在输入框用 ! 前缀跑(如 ! npx gft-mcp read 产品定位),
输出直接进入对话上下文——等于零 token 完成"链接"。
(save 没有零 AI 通道——从对话抽取判断本来就是模型的工作。)
写入规则由 GFT 端校验把关:只收用户真说过的判断、旧节点不可改写、时序不可倒挂——出格的提交会被打回并说明原因。
| 现象 | 处理 |
|---|---|
| 提示未登录 / 登录失效 | 说「登录 GFT」或跑 npx gft-mcp --login-web |
| 浏览器没自动打开 | 手动访问命令输出里的 URL |
| agent 里看不到 gft server | 配置后要重启 agent;检查 npx -y gft-mcp 在终端能否启动 |
| 提示还没有脉络 | 先去 gitforthought.com 生成第一张图 |
| 自检 | npx gft-mcp --check --list(终端直跑,零 AI) |
read(for_update) 下发,由你的 agent 用自己的模型执行node selftest.mjs(78 条,零网络零 API)localhost:3000);GFT_WEB_URL / GFT_SUPABASE_URL / GFT_SUPABASE_ANON_KEY 环境变量可覆盖一切默认值map.mjs 的 isOpen() 必须同步 GFT 画布口径,先跑判据MIT License · gitforthought.com
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/gft-mcp-2)<a href="https://allmcps.com/mcp/gft-mcp-2"><img src="https://allmcps.com/api/badge/gft-mcp-2?style=directory" alt="Gft Mcp on AllMCPs" /></a>