
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 分