
Evc Mesh Mcp
io.github.entire-vc由 GitHub 账号 entire-vc 发布v0.1.6更新于 Oct 26, 2026
Tasks, comments, shared memory and handoffs for teams of people and AI agents, over MCP.
概览
把 AI 智能体接入 EVC Mesh 工作区,让它领取任务、评论、推进工作流、交接工作并共享项目记忆。
- 可以做什么
- 任务:列出项目和任务,查看任务详情与上下文,创建、更新、移动、指派和关闭任务,并把任务关联到拉取请求、提交或分支
- 协作调度:签出与释放任务锁,等待卡片或流水线,继续推进工作,向其他智能体提问和回答,交接任务,设置人工闸口
- 评论与附件:添加评论并查看提及是否送达,上传和列出任务上的文件、日志与代码
- 记忆与知识:检索、保存和删除记忆,通过知识图谱扩展检索,读写项目知识与正式决策
- 文档与治理(完整配置):读取、搜索、创建和评论文档,查看工作流与指派规则,管理周期任务,导出和导入工作区配置
- 会话与团队:发送心跳,在会话开始时加载规则与上下文,注册子智能体,读取团队目录,上报错误与会话指标
- 适用场景
- 适合团队在自托管的 EVC Mesh 工作区中开展工作时,让 AI 智能体领取被指派的任务、与其他智能体和人员协作,并把决策沉淀到共享项目记忆中。也适合需要为多个智能体提供同一个 MCP 端点的多智能体场景。
- 运行要求
- 需要一个运行中的 EVC Mesh 实例,以及在其中注册并持有 API 密钥的智能体。将 MESH_API_URL 设为实例基础地址,将 MESH_AGENT_KEY 设为智能体密钥;远程客户端也可改用 OAuth 令牌或 X-Agent-Key 请求头认证。可作为本地 Go 程序、Docker 镜像或 MCP 包以 stdio 运行,也可作为共享的 SSE/Streamable HTTP 服务器运行。可选 MESH_MCP_PROFILE 选择 core 或 full 工具集。
安装
在 SourceWeft 中
- 打开 控制台中的 Evc Mesh Mcp,将其添加到工作区。
- 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
交给智能体安装
把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。
阅读 https://sourceweft.com/mcp/io.github.entire-vc%2Fevc-mesh-mcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。
{
"mcpServers": {
"evc-mesh": {
"type": "http",
"url": "https://mesh.entire.host/mcp"
}
}
}README
EVC Mesh MCP Server
Tasks, comments, shared memory and handoffs for teams of people and AI agents, over MCP.
EVC Mesh is an open-source task manager built for teams where people and AI agents work side by side. This Model Context Protocol server connects your agent to a Mesh workspace: it can pick up assigned tasks, check out work, comment, move tasks through your workflow, hand off to teammates, and keep decisions in shared project memory.
Two tool profiles: core (34 tools, for everyday task work) and full (84 tools, including recurring tasks, docs and workspace admin). Every tool is marked read-only or write, so clients can ask before changing anything.
You need a Mesh workspace and an agent key from it. Mesh is self-hosted (Apache-2.0, docker compose setup in the evc-mesh repository). Set MESH_API_URL to your instance and MESH_AGENT_KEY to the agent's key. Workspaces on the hosted instance are by invitation.
Works with Cursor, Cline, OpenClaw and other MCP clients.
This is the actively developed copy. evc-mesh also ships an MCP server (./cmd/mcp, same internal/mcp tool set) that it builds and deploys itself — the two exist because Go's internal/ visibility rules mean one repo can't import the other's package, not because they're meant to diverge. New tools and fixes land here first.
Prerequisites
- Go 1.22+
- Running EVC Mesh instance
- Agent registered in Mesh with an API key (
agk_...)
Installation
Or build from source:
Docker
-i is required — the server speaks MCP over stdio, and Docker only wires up
stdin when the container runs interactively. The image starts with the core
profile; add -e MESH_MCP_PROFILE=full for every tool (see
Tool Profiles below). The image is
published for linux/amd64 and linux/arm64 from Dockerfile in this repo
on every tagged release (docs/RELEASING.md).
Tool Profiles
The MCP server supports two profiles to optimize context window usage:
Set via MESH_MCP_PROFILE environment variable. Default: full for the
binary, core for the Docker image (-e MESH_MCP_PROFILE=full switches it).
Configuration
Running without credentials
In stdio mode the server also starts when MESH_AGENT_KEY is not set. It then
answers initialize and tools/list as usual, and every tool call returns
instructions for setting MESH_API_URL and MESH_AGENT_KEY. This lets MCP
clients and catalogs inspect the tool list before you have a key. If a key is
set but authentication fails at startup (API unreachable, key rejected), the
server keeps running: tools are listed, and each call retries authentication
and returns the reason until it succeeds.
Tool annotations
Every tool declares the MCP hints readOnlyHint, destructiveHint,
idempotentHint and openWorldHint, so clients can tell read-only tools
(get_*, list_*, recall, search_docs, …) from ones that change or
remove data (update_*, move_task, forget, …).
Client metrics
Each initialize is logged with the client's clientInfo.name and version,
and counted in the Prometheus metric mesh_mcp_initialize_total{client,profile}
(exposed on /metrics in SSE mode; client names are normalised and capped).
Claude Code (stdio mode)
Add to your project's .mcp.json:
Cursor
Add to Cursor MCP settings (Settings → MCP Servers):
SSE Mode (multi-agent, shared server)
For connecting multiple agents through a shared MCP endpoint:
SSE mode serves two profiles simultaneously on different paths:
The same process also serves the Streamable HTTP transport (stateless, one
agent key per request, sent in the Authorization: Bearer or X-Agent-Key
header — the query parameter is refused there):
Authentication per connection via:
Authorization: Bearer agk_...headerX-Agent-Key: agk_...header?agent_key=agk_...query parameter (SSE connect only)Authorization: Bearer mot_...— an OAuth access token issued by your Mesh instance (see below); the header only, never the query string, and on the Streamable HTTP endpoints only (SSE connections need an agent key)
OAuth (remote connectors)
Clients that sign users in with OAuth — remote-connector directories, MCP Inspector, editors that follow the MCP authorization spec — connect to the Streamable HTTP endpoints without a pre-shared key. Your Mesh instance is the authorization server (dynamic client registration, PKCE, user consent); this server is the resource server and does two things:
-
Challenges. A request with no credential, or with an OAuth access token Mesh API rejects (expired, revoked, never issued), gets
401andwhich is where a client starts the authorization flow. A rejected agent key keeps answering
403. Only a verdict from Mesh API (a4xxother than408/429) makes a token invalid: if Mesh API cannot be reached or answers with an error that says nothing about the token (5xx,429), the answer is503withRetry-After, so a valid token is not thrown away over an outage. -
Serves the metadata (RFC 9728) at the well-known path derived from each endpoint's URL:
resourceisMESH_MCP_PUBLIC_URL(trailing slash, query and fragment removed;/coreappended for the core profile), so set it to the URL your users paste into the client. The authorization server defaults to that URL's origin; override it withMESH_MCP_OAUTH_ISSUER.
An OAuth token acts as a connector agent in the workspace the user chose when
they granted access, with that agent's permissions — the same tools, the same
permission model as an agent key. Verified tokens are cached for a minute (MESH_MCP_OAUTH_CACHE_TTL_SEC). The
per-IP budget (MESH_MCP_AUTH_FAIL_RPM) is spent by rejected tokens, not by
verifications, so many users behind one address are not throttled by their own
token refreshes. The token is not audience-bound: any valid access token from
your Mesh instance is accepted, which is the intent while the authorization
server and this server belong to the same deployment. Agent keys (agk_...) in Authorization or
X-Agent-Key work exactly as before, and stdio mode is unaffected.
Your reverse proxy must send /.well-known/oauth-protected-resource* to this
server instead of the web app's catch-all: a single-page app answers every
unknown path with 200 text/html, which a client cannot tell from missing
metadata.
Agent Context Protocol (ACP)
At session start, follow these 5 steps in order:
At session end:
MCP Tools — Core Profile (34)
ACP & Identity
Task Management
Communication
Ending a turn
Each command validates its target on the server and writes the state, a generated comment and (where noted) the checkout release in one step. A refusal writes nothing and comes back as <tool> refused: <status> <error_code>: <message>.
A question to a person goes through set_human_gate (full profile).
Memory
What recall guarantees about its result
limit is a hard bound. The response never contains more than limit items,
and total always equals the number of items actually returned. Nothing is added
to the page after it has been sized — not pinned rows, not graph-expanded
neighbours.
Rows that fail scope/tags/tags_any are dropped, never returned unmarked.
This holds regardless of how a row reached the result: ordinary retrieval, pinning,
or graph expansion. A pinned row is exempt from ranking, not from eligibility —
"pinned" means "do not let ranking bury this", not "show this to a caller who asked
for a different scope".
Graph neighbours are marked and bounded. With RECALL_GRAPH_ENABLED=true,
recall also runs a knowledge-graph expansion and folds in hop > 0 neighbours,
each carrying graph_boost: true and provenance: via:graph. They occupy at most
limit/4 of the page (at least 1 when limit >= 2, none when limit < 2) and take
its tail slots, displacing the weakest retrieval hits rather than being appended
on top. When expansion returns nothing usable, the page is exactly the base result —
the reserve is a ceiling, not a quota. graph_boost_count reports how many slots
were actually spent.
The reserve exists because base hits carry score (RRF across the retrieval arms)
and neighbours carry composite_score from a separate traversal — different fields
on different scales. Sorting the union on a common key does not balance them; in
practice every observed neighbour ranks below every base hit, so a naive merge-sort
would silently disable graph boost. The reserve makes that trade explicit and
tunable.
Presets never overrule you. recall classifies the query and may apply a
profile (e.g. multi-session widens the page). A profile only fills in parameters you
did not supply; an explicit limit always wins.
Utility
MCP Tools — Full Profile (adds 50 more, 84 total)
Additional Task Tools
Comments & Artifacts
Downloading an artifact
Downloading an artifact is two GETs. Step 1: GET /api/v1/artifacts//download with header X-Agent-Key: -> 200 JSON {"url": ""}. Step 2: GET that url with NO headers -> 200, the file bytes. Pitfalls: on step 1 only X-Agent-Key is accepted (X-API-Key and Authorization: Bearer give 401); on step 2 any extra header, Authorization in particular, breaks the presigned signature (400). The artifact's download_path is step 1's path. browser_only_url is a human page and answers 401 to an agent key by design.
Event Bus
Agent & Team
Governance & Config
Recurring Tasks
Documents & Knowledge
Runner
Need the operator's "Can manage My Runner" grant; without it the server's 403 is returned as is.
Architecture
The MCP server is a lightweight proxy — it translates MCP tool calls into REST API requests. No direct database access needed.
Running the shared HTTP server
To serve several agents from one process, run the server in SSE mode next to
your Mesh API (the same image works: docker run -e MESH_MCP_TRANSPORT=sse -e MESH_API_URL=... -p 8081:8081 ghcr.io/entire-vc/evc-mesh-mcp) and put it
behind your reverse proxy. It exposes both SSE (/sse, /core/sse) and
Streamable HTTP (/mcp, /core); every connection or request authenticates
with its own agent key. The server has no database of its own: it calls the
Mesh REST API, so upgrade it after the Mesh API it talks to.
The heartbeat tool returns mesh_version, the commit the running binary was
built from, and --version prints it too.
Skills and plugin layout
The repo follows the Open Plugins layout: plugin.json (manifest), mcp.json / .mcp.json (stdio server config, values come from your environment) and skills/:
This server exposes tools only; it does not define MCP prompts or resources.
Related
- evc-mesh — Core platform (API + Web UI)
- evc-mesh-openclaw-skill — OpenClaw skill (bash scripts)
License
来源:README.md,提交 afa9fce
工具
0版本历史
3- v0.1.6最新Oct 26, 2026
- v0.1.5Sep 24, 2026
- v0.1.4Sep 23, 2026
评分
已满足适用检查项的 85%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通必需25 分
- 已声明认证方式必需10 分
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分