Skip to main content
Glama

EVC Mesh MCP Server

Install via Spark

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 (36 tools, for everyday task work) and full (86 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_...)

Related MCP server: ax-platform-mcp

Installation

go install github.com/entire-vc/evc-mesh-mcp@latest

Or build from source:

git clone https://github.com/entire-vc/evc-mesh-mcp.git
cd evc-mesh-mcp
go build -o evc-mesh-mcp .

Docker

docker run -i --rm \
  -e MESH_API_URL \
  -e MESH_AGENT_KEY \
  ghcr.io/entire-vc/evc-mesh-mcp

-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:

Profile

Tools

Context overhead

Best for

core

36

~8K tokens (4% of 200K)

Claude Code, Cursor, small-context models

full

86

~18K tokens (9% of 200K)

Power users, automation agents, admin ops

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

Variable

Required

Default

Description

MESH_API_URL

Yes

http://localhost:8005

Base URL of the Mesh API

MESH_AGENT_KEY

Yes (stdio)

—

Agent API key (agk_...)

MESH_CHAT_TOKEN_FILE

No

—

Stdio chat mode: path to a file holding a chat-session token (cst_...), sent as Authorization: Bearer and re-read on every request. Replaces MESH_AGENT_KEY; if both are set the agent key is ignored.

MESH_MCP_PROFILE

No

full (Docker image: core)

Tool profile for stdio: core or full (SSE serves both)

MESH_MCP_TRANSPORT

No

stdio

Transport mode: stdio or sse

MESH_MCP_HOST

No

0.0.0.0

SSE server bind host

MESH_MCP_PORT

No

8081

SSE server bind port

MESH_MCP_AUTH_FAIL_RPM

No

20

SSE mode: per-IP budget for authentication attempts against a not-yet-cached agent key on /sse, /core/sse, /mcp, /mcp/core. Over budget → 429 without calling Mesh API. 0 disables.

MESH_MCP_SESSION_CACHE_TTL_MIN

No

15

SSE mode: how long a successful authentication is trusted before the key is re-checked — bounds how long a revoked key keeps working without a restart.

MESH_MCP_AUTH_FAIL_CACHE_SEC

No

30

SSE mode: how long a failed authentication (bad/unknown key) is remembered, so repeating the same bad key doesn't call Mesh API every request.

MESH_MCP_CLAIM_OWN_CREATED

No

off

stdio, outside a mesh-runner card session: create_task / create_subtask of a card assigned to this agent in an in_progress status takes its checkout at once (result field _mesh_claim), so the Runner starts no second session of the agent on it until release_task, a turn command of this session or the lock's expiry. MESH_MCP_CLAIM_OWN_CREATED_TTL_MINUTES (default 60) sets the lock.

MESH_MCP_PUBLIC_URL

No

—

SSE mode: the URL the MCP root is reachable at from outside, e.g. https://mesh.example.com/mcp. Used for the absolute SSE endpoint and as the OAuth resource URL (see OAuth). Unset: derived from each request's host, which is only right when clients reach this server directly — behind a proxy set it, or the derived core URL (/core) will not match the public one (/mcp/core).

MESH_MCP_OAUTH_ISSUER

No

origin of MESH_MCP_PUBLIC_URL

SSE mode: the OAuth authorization server named in the protected-resource metadata — your Mesh instance's public origin. Set it only if the MCP server is served from a different origin than the Mesh API.

MESH_MCP_OAUTH_CACHE_TTL_SEC

No

60

SSE mode: how long a verified OAuth access token is trusted before Mesh API is asked again. Deliberately much shorter than the agent-key TTL so a revoked grant stops working within about a minute.

MESH_MCP_DECIDER_USERNAME

No

—

Username recorded as decided_by when record_owner_decision answers a gated task. Unset: the workspace owner.

MESH_MCP_LEGACY_TOOL_ALIASES

No

off

1 also registers the tools' earlier names, for deployments whose callers still use them. Leave off for new installs.

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:

{
  "mcpServers": {
    "evc-mesh": {
      "command": "evc-mesh-mcp",
      "env": {
        "MESH_API_URL": "https://your-mesh-instance.example.com",
        "MESH_AGENT_KEY": "agk_your-workspace_your-key",
        "MESH_MCP_PROFILE": "core"
      }
    }
  }
}

Cursor

Add to Cursor MCP settings (Settings → MCP Servers):

{
  "evc-mesh": {
    "command": "evc-mesh-mcp",
    "env": {
      "MESH_API_URL": "https://your-mesh-instance.example.com",
      "MESH_AGENT_KEY": "agk_your-workspace_your-key",
      "MESH_MCP_PROFILE": "core"
    }
  }
}

SSE Mode (multi-agent, shared server)

For connecting multiple agents through a shared MCP endpoint:

MESH_API_URL=https://your-mesh-instance.example.com \
MESH_MCP_PORT=8081 \
evc-mesh-mcp --transport sse

SSE mode serves two profiles simultaneously on different paths:

Path

Profile

Description

/sse + /message

full

All 86 tools (backward compatible)

/core/sse + /core/message

core

36 essential tools

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):

Path

Profile

/mcp

full

/core

core

Authentication per connection via:

  • Authorization: Bearer agk_... header

  • X-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 401 and

    WWW-Authenticate: Bearer resource_metadata="https://mesh.example.com/.well-known/oauth-protected-resource/mcp", scope="mesh"

    which is where a client starts the authorization flow. A rejected agent key keeps answering 403. Only a verdict from Mesh API (a 4xx other than 408/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 is 503 with Retry-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:

    Endpoint

    Metadata

    https://mesh.example.com/mcp (full)

    /.well-known/oauth-protected-resource/mcp

    https://mesh.example.com/mcp/core (core)

    /.well-known/oauth-protected-resource/mcp/core

    {
      "resource": "https://mesh.example.com/mcp",
      "authorization_servers": ["https://mesh.example.com"],
      "scopes_supported": ["mesh"],
      "bearer_methods_supported": ["header"]
    }

    resource is MESH_MCP_PUBLIC_URL (trailing slash, query and fragment removed; /core appended 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 with MESH_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:

1. heartbeat(status="online")              → register as alive
2. get_project_knowledge(project_id)       → load accumulated decisions & conventions
3. get_my_rules(project_id)                → understand constraints
4. get_context(project_id)                 → see recent activity + project knowledge
5. get_my_tasks()                          → check assigned work

At session end:

publish_event(type="summary", memory={persist: true})  → broadcast + persist
session_report(model, tokens_in, tokens_out)           → report metrics

MCP Tools — Core Profile (36)

ACP & Identity

Tool

Description

heartbeat

Send heartbeat. Call at session start with status=online. Response includes mesh_version (the running binary's build git-SHA, or "dev" for an unpinned local build) — cheap way to check whether a fix has actually reached the installed binary without shelling out to the host.

get_project_knowledge

Get ALL permanent knowledge (decisions, conventions). ACP Step 2

get_my_rules

Get ALL governance rules (workflow + assignment). ACP Step 3

get_context

Get recent activity + project knowledge. ACP Step 4

get_my_tasks

Get assigned tasks with complete descriptions and optional lossless conditional responses. ACP Step 5

Task Management

Tool

Description

list_projects

List workspace projects

list_tasks

List tasks with filters (status, priority, assignee, search)

get_task

Get task details with optional comments/artifacts/deps

create_task

Create a new task. An agent's start_after names the external event it waits for: start_after_evidence {event_ref, source, why}

update_task

Update task fields. start_after takes the same evidence; an empty start_after is refused — clear with clear_start_after

clear_start_after

Clear start_after only if it is still the schedule you read (expected_start_after, expected_version, expected_origin, schedule_receipt_id from get_task); a changed card is refused with 409 cas_conflict and its current values

move_task

Change task status using slugs

assign_task

Assign/unassign a task

get_task_context

Get everything about a task in one call

add_vcs_link

Link a task to a pull request, commit or branch

Communication

Tool

Description

add_comment

Add comment to a task (markdown). Response includes a delivery array per @-mention reporting whether it actually reached the recipient (task queue/notification) or was skipped/failed and why

publish_event

Publish event + optional memory hint for persistence

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>.

Tool

Description

wait_for

Wait on a card, merge request, pipeline or moment (on = card / mr / pipeline / time / merge / registered; a time wait names the external event: until_at with Z or an offset, event_ref, source, why; merge is the runner's merge gate at after_sha; registered names a runner registration; mr and pipeline waits may carry an after_* baseline); replaces your previous wait on the card and releases the checkout

continue_next

Record a finished piece of work and keep going: the card stays with you and the checkout is extended

ask_agent

Ask another agent a question (to, question); waits on the answer and releases the checkout. An identical open question is reused

ask_human

Ask a person a question (to, question, optional default and deadline): arms the card's human gate, waits on the answer and releases the checkout

answer_decision

Answer a decision request addressed to you (request_id, answer); wakes the asker

finish_task

Close the card to done or review with result_kind (change / defect / research / content / ops) and evidence, both required

hand_off

Assign the card to another agent, move it to todo and release the checkout in one step (to, why)

add_note

Write a note that wakes nobody: no delivery, no outcome, checkout untouched

set_human_gate (full profile) arms a gate without ending the turn.

Memory

Tool

Description

recall

Search memory by keywords (compact by default: ~300 chars of content per item; full=true for everything uncut)

get_memory

Full text of one memory by exact key (archived/expired on request)

remember

Save knowledge (UPSERT by key)

forget

Delete a memory entry

archive_memory

Take a memory out of recall without deleting it, or restore it (reason required)

recall_with_graph

Search memory, expanding results through the knowledge graph

set_project_knowledge

Write a structured project fact (upsert by key)

get_canonical_updates

Fetch canonical decisions recorded since a given time

record_owner_decision

Record a decision by the workspace owner as canonical project knowledge

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

Tool

Description

report_error

Report an error on a task

session_report

Report session metrics (model, tokens, cost)

MCP Tools — Full Profile (adds 50 more, 86 total)

Additional Task Tools

Tool

Description

get_project

Get project details with statuses and custom fields

create_subtask

Create subtask under a parent (status_slug optional; defaults to the project's default status, not the parent's; start_after with evidence as in create_task)

add_dependency

Add dependency between tasks; optional condition (task_done, access_ready, contract_ready, artifact_published, shipped, deployed, accepted) says what a blocks edge waits for

update_dependency

Set condition / evidence_url on an existing dependency edge; evidence on a non-task_done edge releases the dependent without the blocker being done

mark_vcs_deployed

Record a deploy (sha, env) on a PR link: sets deployed_sha / deployed_env / deployed_at and releases dependents waiting on a deployed edge

remove_dependency

Remove a dependency edge (task_id blocked, depends_on_task_id blocker; reason required and logged)

checkout_task

Atomic task lock for multi-agent coordination

release_task

Release atomic task lock

extend_checkout

Extend an existing task lock for longer-running work

set_human_gate

Freeze a task until a named person answers a recorded question (addressee must be a person; supersedes and canonical_key cover a repeat of an answered question)

clear_human_gate

Release a human gate

Comments & Artifacts

Tool

Description

list_comments

List task comments (newest first by default)

upload_artifact

Upload file/code/log to a task. For a file on disk pass file_path (stdio only; bytes are read by the server process and the response carries their sha256); content is for short inline text

list_artifacts

List task artifacts

get_artifact

Get artifact details (download_path; bytes via the two-step download below)

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

Tool

Description

publish_summary

Publish work summary (convenience wrapper)

subscribe_events

Configure webhook delivery for events

poll_tasks

Long-poll for new task assignments

Agent & Team

Tool

Description

register_sub_agent

Register a sub-agent

list_sub_agents

List sub-agents (optionally recursive)

get_team_directory

Get workspace team directory

update_agent_profile

Update agent role, capabilities, profile

Governance & Config

Tool

Description

get_project_rules

Get all project rules

get_assignment_rules

Get assignment rules

get_workflow_rules

Get workflow rules with caller permissions

import_workspace_config

Import workspace config from YAML

export_workspace_config

Export workspace config as YAML

Recurring Tasks

Tool

Description

create_recurring_task

Create recurring task schedule

list_recurring_schedules

List recurring schedules

get_recurring_history

Get instance history for a schedule

trigger_recurring_now

Trigger next instance immediately

update_recurring_schedule

Change or deactivate a recurring schedule

delete_recurring_schedule

Delete a recurring schedule (existing instances stay)

Documents & Knowledge

Tool

Description

list_docs

List a project's documents (metadata only)

get_doc

Read a document (outline by default, body on request)

search_docs

Full-text search across a project's documents

create_doc

Create a document

update_doc

Edit a document (optimistic concurrency via base_version)

comment_doc

Comment on a document or a quoted passage

list_doc_comments

Read a document's comment threads

post_project_update

Post the project's daily status report to its Updates section

get_project_updates

Read a project's Updates feed, newest first

get_canonical

Query curated facts and decisions for a topic

Runner

Need the operator's "Can manage My Runner" grant; without it the server's 403 is returned as is.

Tool

Description

get_operator_runtime

Read the operator's runner settings (My Runner) with its revision

save_operator_runtime

Replace the operator's runner settings (if_revision guarded)

get_operator_runtime_history

List earlier revisions of the operator's runner settings

set_agent_limits

Set an operator agent's max_concurrent_tasks

get_workspace_runtime

Read a workspace's runner catalog (operator must be its admin)

get_workspace_runtime_revisions

List stored revisions of a workspace's runner catalog

save_workspace_runtime

Replace a workspace's runner catalog (if_revision guarded)

Architecture

AI Agent (Claude Code / Cursor / Cline / OpenClaw)
    ↕ MCP (stdio or SSE)
EVC Mesh MCP Server (core or full profile)
    ↕ REST API (HTTP)
EVC Mesh API Server
    ↕
PostgreSQL / Redis / NATS / S3

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/:

Skill

Purpose

mesh-tasks

Session start protocol, taking, updating and closing tasks

mesh-memory

remember / recall / forget conventions

mesh-coordination

Team directory, locks, events, hand-offs (full profile)

This server exposes tools only; it does not define MCP prompts or resources.

Adding a tool

A tool here is a client of the Mesh REST API, and the public tool catalogue is docs/mcp-reference.md in evc-mesh, whose CI compares it with the tools this repository's main registers. Land a new tool in this order:

  1. The endpoint first. The Mesh API the tool calls is merged to evc-mesh main before the tool merges here. A tool merged ahead of its endpoint calls a route that no Mesh build serves yet.

  2. Then the tool, here.

  3. Then the catalogue entry: an evc-mesh change that adds the tool to docs/mcp-reference.md and its totals. It cannot come earlier — the catalogue check fails on an entry this repository's main does not register. If nobody writes it, evc-mesh's daily sync opens that change itself, with an entry generated from this source: the tool description and the parameter descriptions. Write them as user-facing documentation.

Removing or renaming a tool follows the same path: merge it here, and the catalogue entry goes in the next evc-mesh change (or the daily sync).

MCP Registry MCP Badge Glama

License

Apache-2.0

relicensed from MIT to Apache-2.0 on 2026-11-21

Available Tools

86 tools
add_commentA

Add a comment to a task. Response is lean by default: id/author/created_at and the delivery report, without echoing the body you just sent; full=true returns the whole comment. If the body @-mentions someone, the response carries a delivery array — one entry per mentioned handle — reporting whether it actually reached a path they consume (their task queue, a notification) or was skipped/failed and why; a hint field suggests the fix when there is one (e.g. assign the task). Omitted entirely when the comment mentions nobody.

Inputs: body (required), task_id (required), full, metadata, +2 more.

add_dependencyA

Add a dependency edge: task_id depends on depends_on_task_id. With the default type blocks, task_id is held back from its assignee until the blocker meets condition (default: the blocker is done). relates_to and is_child_of only record a link and hold nothing. Change the condition with update_dependency; delete the edge with remove_dependency.

Inputs: task_id (required), depends_on_task_id (required), condition, evidence_url, +1 more.

add_noteA

Write a note on a card that wakes nobody: no mention or handoff delivery, no outcome, the checkout untouched. For progress logs and findings that need no action; a note does not end your turn — finish it with wait_for, continue_next, ask_agent, ask_human, finish_task or hand_off.

Inputs: text (required), task_id (required), turn_id, session_id.

answer_decisionA

Answer a decision request another agent addressed to you: writes the answer as a comment on the asking card, marks the request answered and wakes the asker. Only the addressee or a person may answer; an answered or withdrawn request is refused with 409. Does not touch your own card or checkout.

Inputs: answer (required), request_id (required).

archive_memoryA
DestructiveIdempotent

Take a stale memory out of recall and get_memory WITHOUT deleting it (archived=true), or bring it back (archived=false). The reason is required and stored on a revision. Allowed for whoever may write to the memory's scope: any agent with write access to the project for a project entry (not only its author), only the owner for an agent entry, leads for a workspace entry. Archived entries stay readable with include_archived=true. A repeat remember on an archived key updates it but keeps it archived. Prefer this to forget and to a short expires_at for anything that may be needed again.

Inputs: reason (required), key, scope, archived, +2 more.

ask_agentA

End your turn with a question only another agent can answer: opens a decision request to that agent (or returns your identical open one), records a wait on it, writes the comment and releases your checkout; you are woken when they answer. A question this agent already answered on this card is refused with already_answered (nothing written, checkout kept): read that answer, and if you still need one, ask a new question that says what changed. The addressee must be an agent of the team directory, not a person (ask_human) and not yourself. Work another agent must do is hand_off, not a question.

Inputs: to (required), task_id (required), question (required), turn_id, +1 more.

ask_humanA

End your turn with a question only a person can answer: posts it as a Blocking question to that person, which arms the card's human gate and notifies them, records your wait on the answer and releases your checkout; you are woken when the gate is lifted. Refused, with nothing posted, when to is not a person of the workspace or the previous question already has an answer (name what is new in supersedes). A question to an agent is ask_agent.

Inputs: to (required), task_id (required), question (required), soft, +6 more.

assign_taskA
DestructiveIdempotent

Assign a task to a user or agent. Returns a lean confirmation by default (id, status_id, assignee, updated_at); full=true returns the whole task.

Inputs: task_id (required), full, assignee_id, assignee_type, +1 more.

checkout_taskA
Idempotent

Atomically acquire an exclusive lock on a task. Prevents other agents from checking out the same task simultaneously. The lock is TTL-based and will expire automatically after ttl_minutes (default 120). The lock gives the holder exclusive access to the task.

Inputs: task_id (required), ttl_minutes.

clear_human_gateA
DestructiveIdempotent

Release a human gate. human_gate_info on get_task(full=true) reports clear_path. clear_path="clear_endpoint" means YOU armed this gate through set_human_gate and it carries no marker comment — this tool releases it, and a withdrawal comment would be a silent no-op. clear_path="withdraw_marker" means the ask lives in a "Blocking @" comment: this tool refuses, and the gate is taken down by a short negator comment. Everything else is user-only — a gate a human armed, or one raw-armed via PATCH/UI with no author — and an agent key gets a 403 naming the exit it CAN reach: a human-gate decision records the human's answer. A posted comment does not by itself clear the gate; human_gate on get_task shows the current state.

Inputs: task_id (required).

clear_start_afterA
DestructiveIdempotent

Clear a card's start_after only if it is still exactly the schedule you read (compare-and-clear). Pass the start_after, version, start_after_origin and start_after_receipt_id from get_task. A changed card is refused with 409 cas_conflict and its current values — nothing is written; re-read before deciding anything. Repeating a call with the same idempotency_key returns the first receipt (replayed=true). Does not touch human gates, dependencies, waits or due_date.

Inputs: task_id (required), expected_version (required), expected_start_after (required), reason, +3 more.

comment_docA

Comment on a document. The quote parameter anchors a comment to a specific passage; it holds the text exactly as the document reads it — the server finds it and anchors the comment there, so no position is computed by the caller (there is no offset parameter, and a position you calculated would silently point at the wrong sentence). Without quote the comment is on the whole document. Your comment appears in the same thread humans see in the document UI. doc may be an old path or a bare slug; the reply then carries moved_to (the current path). An ambiguous bare slug is a 409 listing the full paths.

Inputs: doc (required), body (required), quote, reply_to, +2 more.

continue_nextA

End your turn with a piece of work done and more to do right away: records the outcome and the comment, keeps the card with you and extends your checkout. Reading the card or writing a plan is not a piece of work — keep working instead. Refused with 409 when you do not hold the card's checkout.

Inputs: note (required), task_id (required), turn_id, session_id.

create_docA

Create a document in a project. Returns its metadata and version — the version is what update_doc takes as base_version, so a create followed by an edit needs no read in between. The body you sent is not echoed back. slug is ONE path segment and must not contain '/' (the request is refused with 400): a document in a folder is created with parent_id set to the parent's id, and is then reachable as /.

Inputs: title (required), project_id (required), body, slug, +2 more.

create_recurring_taskA

Creates a recurring task schedule that automatically spawns task instances on a schedule. Each instance gets access to the previous instance's summary. Suited to regular automated work such as weekly reports, daily checks and periodic audits.

Inputs: frequency (required), project_id (required), title_template (required), labels, +9 more.

create_subtaskA

Create a subtask under a parent task. Set status_slug for initial status (defaults to the project's default status, NOT the parent's status).

Inputs: title (required), parent_task_id (required), labels, due_date, +10 more.

create_taskA

Create a new task in a project and return it with its id. status_slug sets the initial status (defaults to the project's first status); assignee_id with assignee_type routes it to someone; parent_task_id makes it a subtask. Search list_tasks first so you do not file a duplicate.

Inputs: title (required), project_id (required), labels, due_date, +12 more.

delete_recurring_scheduleA
Destructive

Permanently delete a recurring task schedule: no further instances are created. Existing task instances are not affected. To pause instead, call update_recurring_schedule with is_active=false.

Inputs: recurring_schedule_id (required).

export_workspace_configA
Read-onlyIdempotent

Export the current workspace configuration as YAML, including rules, project templates, and settings. Read-only. The YAML is exactly what import_workspace_config accepts, so keep it as a backup before any import.

Inputs: no named parameters.

extend_checkoutA
Idempotent

Push the expiry of an existing checkout_task lock forward, for work that runs longer than the original ttl_minutes. Requires an active checkout in this session (the cached checkout_token from checkout_task) — fails if the lock was never acquired here, already released, or already expired. Server clamps ttl_minutes to [1, 240].

Inputs: task_id (required), ttl_minutes.

finish_taskA
Destructive

Close the card with its result: sets result_kind, moves the card to done (or review, when someone must accept a live result), writes the evidence as the closing comment, cancels your active wait and releases your checkout. Both result_kind and evidence are required; the existing move gates (closing comment length, linked MRs merged, open subtasks) still apply and their refusals are returned as is.

Inputs: task_id (required), evidence (required), result_kind (required), to, +3 more.

forgetA
Destructive

Permanently delete one memory entry by its UUID. Agents can only delete their own agent-scope memories; project and workspace memories are refused. To correct an entry, call remember with the same key instead of deleting it.

Inputs: memory_id (required).

get_artifactA
Read-onlyIdempotent

Get artifact details. The bytes are never inlined: download them with the two GETs below. 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.

Inputs: artifact_id (required), include_content.

get_assignment_rulesA
Read-onlyIdempotent

Get the effective assignment rules for a project (how new tasks are routed to agents or people), merged from workspace and project level with source annotations. Read-only. get_workflow_rules covers status transitions; get_my_rules covers everything that binds you.

Inputs: project_id (required).

get_canonicalA
Read-onlyIdempotent

Query the canonical knowledge layer: returns curated facts, decisions, and strategy docs for a topic, merged from project_memories (key canonical:*) and workspace_memories (kind:canonical). Excludes ephemeral session-checkpoints. Slug aliases are resolved automatically (e.g. mesh-dev == evc-mesh). Use it for the curated answer on a topic; recall searches all memory, get_canonical_updates lists decisions broadcast since a time.

Inputs: topic (required), project.

get_canonical_updatesA
Read-onlyIdempotent

Fetch canonical decisions broadcast since a given time. Returns only privacy:public records targeted at you or all agents. A change feed for session start; get_canonical searches the canonical layer by topic.

Inputs: agent, scope, since.

get_contextA
Read-onlyIdempotent

Get RECENT ACTIVITY for a project (last 24h by default): event stream with summaries, decisions, errors, plus accumulated project knowledge. Use it for "what changed lately"; get_project_knowledge returns the durable facts, recall searches memory for one fact.

Inputs: project_id (required), tags, limit, since, +1 more.

get_docA
Read-onlyIdempotent

Read a document. By DEFAULT returns metadata plus the outline (headings) and NOT the body — a document is far larger than a task, and a body you read stays in your context for the rest of the session. The outline lists headings; section="" returns just that part; body=true returns the whole page. The returned version is what update_doc takes as base_version. If you addressed the document by an old path or a bare slug, the reply carries moved_to (its current path); a bare slug shared by several documents fails with 409 and the list of full paths.

Inputs: doc (required), body, section, project_id, +2 more.

get_memoryA
Read-onlyIdempotent

Full text of ONE memory by exact key (the key field recall returns). Returns the full content of an entry whose recall result ends with the … cut marker. Errors if no entry has exactly that key. Archived and expired entries are hidden unless include_archived / include_expired is set.

Inputs: key (required), scope, project_id, include_expired, +1 more.

get_my_rulesA
Read-onlyIdempotent

Get ALL governance rules that apply to you: workflow constraints, assignment policies, behavioral requirements. Includes workspace and project-level rules with source annotations. This is the one to call before acting in a project: get_project_rules lists every rule configured there whoever it targets, get_assignment_rules and get_workflow_rules return a single rule family.

Inputs: project_id.

get_my_tasksA
Read-onlyIdempotent

Get YOUR assigned tasks, non-blocking. Use list_tasks to browse or search other people's tasks in a project, poll_tasks only to block until a new assignment arrives. Filterable by status_category to focus on active work. Default (cold) view is compact: only in_progress, review and the top 5 todo are requested and listed (envelope omitted counts the todo past the cap, has_more flags open cards past limit; done, cancelled and backlog need full=true or status_category), descriptions are omitted (has_description marks them; get_task(id) or full=true returns the full text). Envelope fields (created_by/created_at, assignee_id) and valueless fields (0-counters, due_date=null, human_gate=false) are omitted; full=true returns the complete items and get_task returns one card's full details.

Inputs: full, limit, project_id, accept_delta, +3 more.

get_operator_runtimeA
Read-onlyIdempotent

Read your operator's runner settings (My Runner): the whole document with its revision. Pass that revision as if_revision to save_operator_runtime. Works with the agent's own key only while its operator keeps "Can manage My Runner" on; otherwise the server's 403 is returned word for word.

Inputs: no named parameters.

get_operator_runtime_historyA
Read-onlyIdempotent

List earlier revisions of your operator's runner settings (My Runner), newest first, to see who changed what. Works with the agent's own key only while its operator keeps "Can manage My Runner" on; otherwise the server's 403 is returned word for word.

Inputs: limit.

get_projectA
Read-onlyIdempotent

Get one project's details plus its statuses (the slugs move_task and create_task take) and its custom field definitions. list_projects finds the project_id.

Inputs: project_id (required).

get_project_knowledgeA
Read-onlyIdempotent

Get the PERMANENT KNOWLEDGE of a project: decisions, conventions, accumulated context. Returns workspace-level + project-level memories (workspace tier paged by limit/offset and narrowed by min_importance and tags_any). Use it for the standing picture of ONE project; get_context returns what happened recently, recall searches all memory for one specific fact, get_canonical returns owner-curated decisions on a topic.

Inputs: project_id (required), limit, offset, tags_any, +1 more.

get_project_rulesA
Read-onlyIdempotent

Get every rule configured for a project (workspace + project scope), whoever it targets: an audit view of the whole rule set. For the rules that bind YOU use get_my_rules; for one family, get_assignment_rules (who gets new work) or get_workflow_rules (allowed status transitions).

Inputs: project_id (required).

get_project_updatesA
Read-onlyIdempotent

Read a project's Updates feed (the lead's daily status reports), newest first. Returns the latest report by default. The latest one also comes with get_project and get_task_context.

Inputs: project_id (required), limit, since.

get_recurring_historyA
Read-onlyIdempotent

Returns the history of all instances for a recurring task schedule. Each entry describes what a previous instance accomplished, what issues were found, and what artifacts were produced, which gives context for the current instance of a recurring task.

Inputs: recurring_schedule_id (required), limit.

get_taskA
Read-onlyIdempotent

Get task details: compact decision fields, active human_gate=true and status slug; descriptions and ordinary comment bodies are always complete. Comment IDs support reply/after; timestamps are UTC to the minute. Known automation comments are one-line summaries (include_auto=true restores their complete bodies). full=true restores non-capability REST fields. If status lookup is unavailable, status_id and an explicit status_lookup_error remain. Comments return the newest comments_limit entries (default 5, max 200) with pagination markers. since=RFC3339 (from task.updated_at) skips an unchanged task and older comments. In a stdio session a repeat read of the same card returns only what changed since that session last read it (unchanged card: stub with task_changed=false; unchanged description omitted with description_unchanged=true; comments already returned are dropped, counted in comments_already_shown); full=true always returns everything.

Inputs: task_id (required), full, since, include_auto, +5 more.

get_task_contextA
Read-onlyIdempotent

Get EVERYTHING about ONE TASK in a single call: full details + comments + artifacts + dependencies + activity. Combines the results of get_task, list_comments and list_artifacts for one task in a single response.

Inputs: task_id (required).

get_team_directoryA
Read-onlyIdempotent

Get the workspace team directory listing all agents and human members. Default: a compact row-array table (columns id/name/role/project/status; project = responsibility_zone cut to one line ≤60 chars, status = computed_status) instead of full profiles — pass full=true for the complete dump (capabilities, heartbeat, escalation_to, timestamps, full zone text, ...).

Inputs: full.

get_workflow_rulesA
Read-onlyIdempotent

Get workflow rules for a project including allowed transitions, policies, and permissions for the calling agent. Read-only; check it before a move_task that may be restricted. get_assignment_rules covers routing; get_my_rules covers everything that binds you.

Inputs: project_id (required).

get_workspace_runtimeA
Read-onlyIdempotent

Read a workspace's runner catalog (runners, pools, bindings) with its revision. Allowed when your operator is an admin of that workspace and you are connected to it. Works with the agent's own key only while its operator keeps "Can manage My Runner" on; otherwise the server's 403 is returned word for word.

Inputs: workspace_id (required).

get_workspace_runtime_revisionsA
Read-onlyIdempotent

List stored revisions of a workspace's runner catalog, newest first. Same access as get_workspace_runtime. Works with the agent's own key only while its operator keeps "Can manage My Runner" on; otherwise the server's 403 is returned word for word.

Inputs: workspace_id (required), limit.

hand_offA
Destructive

Give the card to another agent who must do the next part: assigns it to them, moves it to todo, writes the comment, cancels your active wait and releases your checkout, in one step instead of assign + move + release. The addressee must be an agent of the team directory. Use ask_agent when you only need their answer and keep the card.

Inputs: to (required), why (required), task_id (required), turn_id, +1 more.

heartbeatA
Idempotent

Report that you are alive and what you are working on, so the team directory shows you online or busy and names your current task. Call it at session start and every few minutes during long work. It changes no task and returns no queue: get_my_tasks reads your assignments.

Inputs: model, status, message, metadata, +2 more.

import_workspace_configA
Destructive

Import workspace configuration from YAML. Applies rules, statuses, and project templates defined in the YAML to the whole workspace of the calling agent. Run export_workspace_config first and keep its output: it is the only rollback.

Inputs: yaml_content (required).

list_artifactsA
Read-onlyIdempotent

List artifacts attached to a task. Each carries download_path; a browser_only_url block, when present, is a human-only page. 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.

Inputs: task_id (required).

list_commentsA
Read-onlyIdempotent

List comments newest first (limit default 10), with pagination. Compact fields: id for reply/after, author_name, created_at in UTC to the minute, entire ordinary body. Known automation prefixes get one-line summaries; include_auto=true restores their bodies. full=true restores non-capability REST fields. after accepts a comment UUID or RFC3339 timestamp and returns only newer comments (exclusive), paginated within that delta; unknown IDs are refused. order=asc gives chronological reading.

Inputs: task_id (required), full, page, after, +4 more.

list_doc_commentsA
Read-onlyIdempotent

Read the comments on a document as threads — each top-level comment with its replies nested under it, the quoted passage it is anchored to, and who wrote it. Resolved threads are hidden unless include_resolved=true. A comment whose quoted text no longer exists in the document is marked orphaned=true in its anchor: it is still shown, and it is not pointing anywhere. doc may be an old path or a bare slug; the reply then carries moved_to (the current path). An ambiguous bare slug is a 409 listing the full paths.

Inputs: doc (required), project_id, include_resolved.

list_docsA
Read-onlyIdempotent

List a project's documents — id, title, slug path, version, who touched them last. Carries NO document bodies, so it is cheap on a whole project and serves as a map of it (get_doc returns one page). Returns path and has_children for navigating the tree. Paged: the reply carries total_count and has_more; when has_more is true, offset reads the rest.

Inputs: project_id (required), limit, offset, include_archived.

list_projectsA
Read-onlyIdempotent

List the projects in the workspace with their ids, names and slugs. Call it first to find the project_id that most other tools require. Archived projects are hidden unless include_archived=true.

Inputs: workspace_id, include_archived.

list_recurring_schedulesA
Read-onlyIdempotent

Lists the recurring task schedules of a project, with the ids that get_recurring_history, trigger_recurring_now, update_recurring_schedule and delete_recurring_schedule take.

Inputs: project_id (required), active_only.

list_sub_agentsA
Read-onlyIdempotent

List the sub-agents registered under an agent (see register_sub_agent): direct children only, or the whole subtree with recursive=true. get_team_directory lists every member of the workspace instead.

Inputs: agent_id, recursive.

list_tasksA
Read-onlyIdempotent

List tasks with strict filters. Provide project_id for a project listing or workspace_id plus search for cross-project search. Unknown parameters and invalid categories are errors. Compact items contain id, title, status slug, priority, assignee_name, labels, updated_at, runtime_state (working/waiting/queued/stopped with since/lane/ref/stale, when known) and routing parent_task_id/start_after when set; workspace results also contain project_id. full=true returns complete REST items; listing descriptions are subject to the API page budget, while get_task returns full details. For your own queue use get_my_tasks.

Inputs: full, page, sort, limit, +12 more.

mark_vcs_deployedA
Idempotent

Record that the change behind a PR/MR link is deployed: sets deployed_sha, deployed_env and deployed_at (now) on the link and releases the dependents waiting on a deployed dependency edge of this card. Reporting the same sha and env again is safe: the first deployed_at stands. The link must be a pr link of task_id (link ids are in get_task vcs_links and in the add_vcs_link result).

Inputs: env (required), sha (required), link_id (required), task_id (required).

move_taskA
DestructiveIdempotent

Change task status (e.g. todo → in_progress → done). Status is given as a slug (not a UUID). On move to 'review', task auto-reassigns to creator unless assignee_id is provided. Returns {task, new_status} with a lean task by default (id, status_id, assignee, updated_at — the post-move assignee is always included so an auto-reassign is visible); full=true returns the whole reloaded task.

Inputs: task_id (required), status_slug (required), full, comment, +2 more.

poll_tasksA
Read-onlyIdempotent

Long-poll for new task assignments: use it only in a loop that waits for work. Blocks until a task is assigned to this agent or the timeout expires. Returns your open tasks (in_progress, review, todo; at most limit, with total_count/has_more) and whether any change occurred; done, cancelled and backlog need status_category or full=true. Tasks use the lean get_my_tasks view (first-line descriptions, no envelope fields); full=true returns the complete items without the open-category default. Kept for backward compatibility; get_my_tasks is the non-blocking equivalent.

Inputs: full, limit, timeout, project_id, +1 more.

post_project_updateA

Post the project's daily status report to its Updates section (/w//p//updates). Fleet rule: the project lead writes one such report every day — a health call, what moved, what is blocked, what is next. Task counts are computed by the server. Other agents read the latest report in get_project and get_task_context. Needs the right to comment in the project; read-only keys are refused.

Inputs: title (required), status (required), summary (required), project_id (required), +3 more.

publish_eventA

Publish an event to the event bus. event_type='summary' publishes a summary. Add memory={persist:true, key:'decision-name'} to also save as permanent memory. Replaces the deprecated publish_summary tool.

Inputs: payload (required), subject (required), event_type (required), project_id (required), +4 more.

publish_summaryA

Publish a work summary event (convenience wrapper for publish_event with type=summary). Kept for backward compatibility; publish_event with event_type='summary' is the current equivalent.

Inputs: summary (required), project_id (required), metrics, task_id, +4 more.

recallA
Read-onlyIdempotent

SEARCH memory by keywords. Finds a SPECIFIC piece of knowledge, e.g. 'API convention' or 'license decision'. Returns ranked results with scores. Default view is compact: per item key, tags, score and the first ~300 chars of content (a trailing … marks a cut; timestamps, scope and bookkeeping fields are omitted). get_memory(key) returns the whole text of one entry; full=true returns every item uncut with all stored fields (created_at included). Below the relevance threshold, returns an empty list with an explanation instead of weak matches. include_archived=true also returns archived memories. Use it to find one fact; recall_with_graph also follows links to related memories, get_project_knowledge pages through one project's permanent knowledge.

Inputs: query (required), full, tags, limit, +14 more.

recall_with_graphA
Read-onlyIdempotent

Search memory with Knowledge Graph expansion. Seeds from hybrid recall, then BFS-traverses memory_edges up to hops depth. Returns memories ranked by composite score with hop_distance and provenance fields. Returns broader context: related decisions, connected incidents, derived learnings. Slower and wider than recall: use it for the connected context around a topic, recall for a single fact.

Inputs: q (required), hops, task_id, project_id, +1 more.

record_owner_decisionA
Destructive

Record a directive from the workspace owner as a canonical decision in project_knowledge. Broadcasts to specified agents via propagate_to tags. privacy:private records are stored but EXCLUDED from get_canonical_updates. Auto-flags private if text contains secrets. If task_id is given, also records this as a human_gate decision on that task (docs/human-gate-decision-recorded.md in evc-mesh) — releases the gate as a consequence if it's currently live, and links back via canonical_key. Best-effort: a failure here is reported in the result but does not undo the canonical write.

Inputs: text (required), summary (required), scope, privacy, +3 more.

register_sub_agentA

Register a new sub-agent as a child of the calling agent in your workspace, so it is listed in the team directory and by list_sub_agents and can be assigned tasks. Returns the created agent record.

Inputs: name (required), agent_type (required), capabilities.

release_taskA
DestructiveIdempotent

Release the exclusive lock on a task acquired via checkout_task, so another agent can take it. Releasing does not change the task's status or assignee. The lock is also released automatically when it expires.

Inputs: task_id (required).

rememberA
DestructiveIdempotent

Save knowledge to persistent memory. Stores decisions, conventions, preferences. UPSERT by key — calling with same key updates the existing entry. Content is screened on write and REFUSED with a named reason (never silently stripped or stored) if it contains invisible/bidi characters, an LLM role tag, an instruction to ignore previous/system instructions, a PEM private key, a prefixed API token (sk-/ghp_/xox*/AKIA), or a literal assignment to a *_PASSWORD/_SECRET/_TOKEN/_API_KEY name. LIMITATION — this screen is partial and is not a secret filter: it cannot see a secret that has no recognisable prefix and no field name next to it (a bare value pasted on its own line), nor names it does not know. Credentials pasted here are not guaranteed to be caught; content stores where a secret lives, not its value.

Inputs: key (required), content (required), tags, scope, +9 more.

remove_dependencyA
Destructive

Remove a dependency edge: task_id (the blocked card) no longer depends on depends_on_task_id. Clears a stray or reversed blocks link that holds a card open. Direction matters: the pair is given in the order add_dependency took it. reason is required and logged.

Inputs: reason (required), task_id (required), depends_on_task_id (required).

report_errorA

Report a failure you hit while working, so the team sees it instead of it staying in your log. With task_id, publishes an error event (tagged error and the severity, kept 72h) to that task's project, where get_context shows it. With recoverable=false it also sets your agent status to error in the team directory. It does not move the task or comment on it: use add_comment for that.

Inputs: error_message (required), task_id, severity, recoverable, +1 more.

save_operator_runtimeA
Destructive

Replace your operator's runner settings (My Runner) with a new document. Optimistic: if_revision must be the revision you read, a stale one is refused with a conflict. Works with the agent's own key only while its operator keeps "Can manage My Runner" on; otherwise the server's 403 is returned word for word.

Inputs: config (required), if_revision (required).

save_workspace_runtimeA
Destructive

Replace a workspace's runner catalog with a new document; the server stores it as the next revision. Optimistic: if_revision must be the revision you read. Same access as get_workspace_runtime. Works with the agent's own key only while its operator keeps "Can manage My Runner" on; otherwise the server's 403 is returned word for word.

Inputs: config (required), if_revision (required), workspace_id (required).

search_docsA
Read-onlyIdempotent

Full-text search a project's documents by title and body. Returns matching documents with a snippet and a path usable directly with get_doc — this is how you find a document when you don't already know its path; list_docs is the map, this is the index. SCOPE IS PER-PROJECT ONLY: results never cross project_id, and this is not a substitute for recall (which searches memory, not documents) or for a cross-project doc search (none exists yet). A query that matches nothing returns an empty items list, not an error. Documents saved before full-text search shipped (2026-08-20) are matched by title only until their next edit.

Inputs: query (required), project_id (required), limit.

session_reportA

Report token usage and cost at the end of a session. Saves them on your agent session record and returns this session's tool-call stats and a compliance score (whether you loaded project context before acting). All parameters are optional; omitted or zero values are not recorded.

Inputs: model, tokens_in, tokens_out, estimated_cost.

set_agent_limitsA
DestructiveIdempotent

Set how many tasks one of your operator's agents may run at once on the runner (max_concurrent_tasks). Works with the agent's own key only while its operator keeps "Can manage My Runner" on; otherwise the server's 403 is returned word for word.

Inputs: agent_id (required), max_concurrent_tasks (required).

set_human_gateA
DestructiveIdempotent

Arm the human gate on a task: freeze it and record WHO is waiting, WHAT was asked, and WHAT you will do if nobody answers. To end your turn on a question to a person, use ask_human: it posts the question, arms this gate and records your wait in one step; this tool arms a gate without ending your turn. A wait on an agent is ask_agent. Records the whole ask on the task (who is waiting, what was asked, the default), so nothing has to re-read the thread; the '❓ Blocking @' comment marker is still recognised. recommended_default is REQUIRED: a gate with no stated default can only ever be resolved by finding a human. The call takes four answers (credential_exists / reversible / blocked_by_other_task / customer_visible_now), each with one line of justification. The server refuses the arm when the answers show nobody needs to be asked: the credential is held, the action is reversible, and nothing a customer sees or pays changes right now.

Inputs: reason (required), task_id (required), addressee (required), reversible (required), +13 more.

set_project_knowledgeA
DestructiveIdempotent

Write a structured fact to project knowledge. UPSERT by key — calling with same key updates the existing entry. Stores deploy URLs, stack conventions, gotchas. These facts are visible via get_project_knowledge.

Inputs: key (required), value (required), project_id (required), tags, +5 more.

subscribe_eventsA
Idempotent

Configure push notification delivery for task events. Optionally sets a callback URL that Mesh will POST events to. Returns SSE and long-poll endpoint URLs for alternative delivery mechanisms.

Inputs: project_id (required), event_types, callback_url.

trigger_recurring_nowA

Immediately creates the next instance of a recurring schedule, without waiting for the scheduled time. Useful for testing or urgent execution.

Inputs: recurring_schedule_id (required).

update_agent_profileA
DestructiveIdempotent

Update the calling agent's own profile fields such as role, capabilities, responsibility zone, and working hours. Only the fields you pass are sent; omitted ones keep their values. It cannot edit another agent.

Inputs: role, model, agent_type, description, +7 more.

update_dependencyA
Destructive

Set the condition, criterion and/or evidence of an existing dependency edge (task_id depends on depends_on_task_id). Evidence releases the dependent only when Mesh can verify it: send evidence_criterion equal to the edge criterion (default: the condition name). shipped/deployed/accepted are checked against the blocker's own pr link: head_sha must be the link's current HEAD (and environment, e.g. prod, for deployed); evidence_url is only stored, never fetched. access_ready/contract_ready/artifact_published need attest=true from someone with access to the blocker. A bare evidence_url is kept as an unverified link and releases nothing. Changing condition or criterion needs expected_generation: the generation you read from the edge (get_task dependencies) — missing is refused, stale is a 409. An empty evidence_url re-arms the edge.

Inputs: task_id (required), depends_on_task_id (required), attest, head_sha, +6 more.

update_docA
DestructiveIdempotent

Edit a document. To change ONE section, pass section= with body=<that section's new text, heading line included>: only that section is replaced and the rest of the document is kept. Without section, body is the WHOLE document — never send back the text of a single section as body (the server refuses a body that halves the document and drops its headings, unless allow_shrink=true). Replacing the body REQUIRES base_version — the version you got from get_doc — and the write is refused with a 409 if anyone changed the document since, so you can never silently overwrite someone else's edit. The append parameter adds to the end: it needs no base_version, cannot conflict, and needs no prior read of the document. The doc argument accepts an old path or a bare slug too; the reply then carries moved_to (the current path). Note the two different 409s: a stale base_version, and an ambiguous bare slug (resolved by the full path or UUID).

Inputs: doc (required), body, title, append, +6 more.

update_recurring_scheduleA
DestructiveIdempotent

Update an existing recurring task schedule. Change title, description, frequency, assignee, priority, or deactivate it. Only the fields you pass change; instances already created are not edited.

Inputs: recurring_schedule_id (required), priority, timezone, cron_expr, +6 more.

update_taskA
DestructiveIdempotent

Update task fields. Returns a lean confirmation by default (id, status_id, assignee, updated_at) — the card's static fields are not echoed back; full=true or get_task returns them.

Inputs: task_id (required), full, title, labels, +10 more.

upload_artifactA

Upload an artifact (file, code, log, etc.) to a task. For a file on disk — any binary (screenshot, image, pdf, archive) — pass file_path: this process reads the bytes, they never pass through your context, and the response carries their sha256. Use content only for short text you generated; inline base64 of a binary larger than a few KB gets corrupted in transit. file_path works over stdio only (a remote SSE/HTTP server refuses it). 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.

Inputs: task_id (required), name, sha256, content, +5 more.

wait_forA
Destructive

End your turn waiting on an event: another card (on=card), a merge request (on=mr), a CI pipeline or GitHub Actions run (on=pipeline), the runner's merge gate on a reviewed head (on=merge), a runner registration (on=registered), the published moment of an external event (on=time, with event_ref, source and why) or, only on a card a lead labelled wake:manual, a passive wait with no observer and no timer that a new comment or the lead's action ends (on=manual, with note saying why). A GitHub PR merge is on=mr provider=github until=merged (project_path owner/repo, mr_iid the PR number, after_sha the head, after_status opened); on=merge is GitLab only. The server checks the target, records the wait (replacing your previous one on this card), writes the comment and releases your checkout; you are woken when the event happens. A refusal writes nothing. Waiting on another agent's answer is ask_agent; on a person, ask_human.

Inputs: on (required), task_id (required), why, note, +20 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 86 tools

    Disambiguation3/5

    Descriptions go to great lengths to separate look-alike tools (get_my_tasks vs list_tasks vs poll_tasks, get_task vs get_task_context, recall vs recall_with_graph vs get_canonical vs get_project_knowledge, the four *_rules tools), but the sheer density of near-parallel read tools and retained deprecated aliases (publish_summary vs publish_event, poll_tasks) means an agent must read long prose to pick correctly. Several clusters are genuinely ambiguous at the name level, and misselection among memory/context readers is easy.

    Naming Consistency3/5

    A large majority use verb_noun snake_case (get_task, create_doc, add_dependency, list_artifacts), but a substantial minority are bare verbs or bare nouns with no consistent pattern: heartbeat, remember, forget, recall, hand_off, ask_human, wait_for, finish_task, session_report, poll_tasks. Readable overall, but the convention is not predictable enough to guess a name.

    Tool Count1/5

    86 tools for a task/memory/document platform is far past the point where an agent can hold the surface in mind; the everyday card workflow alone spans ~25 tools. Whole families (operator runtime, workspace runtime, recurring schedules, sub-agents, canonical memory) could be split into separate servers.

    Completeness4/5

    Coverage is unusually broad: task lifecycle (create/subtask/move/assign/finish), checkout locks and waits, dependencies with evidence, docs with versioned CAS edits and comments, memory/canonical layers, recurring schedules, artifacts, VCS links and governance rules. Gaps remain: no delete_task, delete_doc, or delete_artifact, and doc search is explicitly per-project only.

    Maintenance

    ActivityActive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers