MCP Catalogs
首页guild screenshot

guild

by mathomhaus·190·综合分 51

基于 Go 的 MCP 服务器,为 AI 编码代理提供共享上下文和任务协调,支持混合搜索功能。

developer-toolsai-llmproductivity
28
Forks
29
活跃 Issue
本月
最近提交
2 天前
收录于

概述

Guild 是专为多代理编码环境设计的高级 MCP 服务器。它使用本地 SQLite 存储维护跨 AI 代理会话的持久状态,实现不同 AI 客户端之间的无缝交接。服务器基于任务系统实现原子声明机制,防止冲突,确保并行代理可以安全地在同一代码库上工作。其混合搜索结合了 BM25 关键词匹配和向量相似性,通过倒数排名融合,使代理能够精确查找术语并在知识档案中找到语义相关信息。

试试问 AI

装完之后,这里有 5 个你可以让 AI 做的事:

:多个 AI 编码代理在同一项目上的协调工作
:跨不同 AI 客户端会话的知识保留
:具有任务依赖和原子声明的并行开发
:哪些 AI 客户端与 Guild 兼容?
:Guild 如何处理多个代理在同一项目上的工作?

什么时候选它

当您需要在多个AI编程代理间维护上下文并避免跨不同MCP客户端的重复工作时,选择Guild。

什么时候不要选它

如果您需要基于云的协作功能,或者偏好能够跨多台机器工作而非局限于单台机器的解决方案,请不要选择Guild。

此 server 暴露的工具

从 README 抽取出 7 个工具
  • guild_session_start

    Start a new session and load project context including oath, last brief, and top quest

  • guild_quest_accept

    Accept a specific quest with atomic claim to prevent collision with other agents

  • guild_lore_appraise

    Search the knowledge archive using hybrid keyword and semantic search before researching

  • guild_lore_inscribe

    Add durable knowledge to the lore archive for future agents to discover

  • guild_quest_journal

    Record notes and progress for the current quest (temporary storage)

  • guild_quest_brief

    Write a handoff note for the next agent or session

  • guild_quest_fulfill

    Complete a quest and cascade unblock dependent tasks

可对比工具

mcp-memgptmcp-filesystemmcp-sqlitemcp-promptfoo

安装

安装选项

**推荐(包含语义检索):**

curl -fsSL https://github.com/mathomhaus/guild/releases/latest/download/install.sh | sh
guild --version

**通过 Homebrew:**

brew install mathomhaus/tap/guild

**从源码安装:**

git clone https://github.com/mathomhaus/guild
cd guild
make install   # 包含语义检索资源

项目设置

cd ~/projects/myapp
guild init  # 交互式设置过程

Claude Desktop 配置

添加到 Claude Desktop 的 config.json:

"mcpServers": {
  "guild": {
    "command": "guild",
    "args": ["serve"]
  }
}

FAQ

哪些 AI 客户端与 Guild 兼容?
Guild 与任何支持 MCP 协议的 AI 客户端兼容,包括 Claude Code、Codex、Cursor 等。无论使用哪种客户端,服务器都充当中央协调中心。
Guild 如何处理多个代理在同一项目上的工作?
Guild 通过任务上的原子声明来防止冲突。当代理接受任务时,该任务会被锁定给该代理,直到完成。系统还会跟踪任务之间的依赖关系,在满足先决条件时自动解除阻塞。

guild 对比

GitHub →

最后更新于 · 由 README + GitHub 公开数据自动生成。