Skip to main content
Glama

RepoMind Bridge

一个 MCP 服务器,它把你口述的任务交给你的编码代理——以你实际说出来的话来交付,而不是交给一个整理过的标题。

你在远离键盘的手机上发现了一个 bug。你把它说出来。之后你打开仓库,Claude Code、Cursor 或 Codex 已经知道你要的是什么,它接起这个任务,并在工作完成时把它关闭。

phone (dictate) ──► RepoMind ──► GitHub issue ──► this bridge ──► your agent

任务以带 repomind-task 标签的 GitHub issue 形式传递。无需部署服务器,也无需为什么付钱:GitHub 就是邮筒。

安装

git clone https://github.com/idanidev/repomind-bridge.git
cd repomind-bridge
npm install
npm run build

身份验证

不需要把 token 写进配置文件。如果你已经登录 GitHub CLI,桥梁会直接使用这些凭据:

gh auth login

否则,将 GITHUB_TOKEN 设置为具有 repo 权限的 token:

export GITHUB_TOKEN=...

两者同时存在时,GITHUB_TOKEN 优先。如果 GitHub 拒绝它,桥梁会再次解析并重试一次——MCP 服务器会持续运行数天,而 gh 会在它底层轮换自己的 token。

让你的代理指向它

Claude Code —— 加到 ~/.claude.json:

{
  "mcpServers": {
    "repomind": {
      "command": "node",
      "args": ["/absolute/path/to/repomind-bridge/dist/index.js"]
    }
  }
}

Cursor —— 在 .cursor/mcp.json 中使用同一个块。Codex —— 在 .codex/config.toml 中。

Related MCP server: Agentic MCP Server

工具

工具

作用

list_tasks

获取此仓库捕获到的所有内容。在问接下来要做什么之前,先调用它。

get_task

获取单个任务的完整信息,包括 rawInput 和评讨论证书评论线程。

start_task

将其标记为进行中——在手机上可见——并返回完整上下文。

add_note

向该线程发布一条笔记,笔记会到达开发者的手机。

ask_user

将其标记为阻塞,并询问一个具体的问题。不要等待答案。

complete_task

关闭该 issue。如果有 PR,附上 PR 链接。

get_task_image

获取任务捕获时附加的截图。

rawInput 就是规范

title 是清理后的标签。rawInput 是开发者真正口述的内容。当两者看起来不一致时,rawInput 优先——因为它是开发者当时真实含义的唯一记录。

截图永远不会离开机器

get_task_image 从 RepoMind 应用程序的本地数据库读取图片,而不是从 GitHub 读取。

把截图提交到仓库会导致仓库永远变大,而且在私有仓库里图片甚至无法正常呈现:GitHub 不会为读者验证图片 URL 的权限。如果为了让图片显示而把仓库公开,那么就会公布经常包含个人数据的 bug 截图。

所以不会上传任何内容到任何地方。图片本来就在这台机器上,由 iCloud 同步过;桥梁只负责读取并传过来。因此,这个工具只在安装了 Mac 应用时才能工作。

会话简报

src/brief.ts 可以作为 SessionStart 钩子运行,这样代理在开始的时候就已经知道等待它的是什么。当没有 token、没有网络或没有任务时,它保持安静——一个在飞机上只会大声失败的钩子,比没有钩子更糟。

需要一个

任务捕获需要 RepoMind iOS/macOS 应用,还需要一个 GitHub 账号。Node 18+。

许可证

MIT

Maintenance

ActivitySlowing
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • -
    license
    B
    quality
    Not graded
    maintenance
    Enables AI-driven orchestration of GitHub development workflows including automated issue analysis, code generation, code review, and PR creation through multiple specialized agents. Integrates with GitHub Actions to automate the complete development process from issue to pull request.
    7
    -
  • A
    license
    Not graded
    quality
    A
    maintenance
    Provides persistent memory and autonomous task execution for AI coding agents, enabling them to store and recall project context, guidelines, and handle issue resolution from GitHub.
    86 PyPI
    98
    AGPL 3.0