Skip to content

MCP tools

Meshive registers project, workflow, gate, and issue tools on its MCP server. Tool responses are JSON payloads returned as text content.

Lists projects visible to the token. Start here to discover project ids.

Creates a workspace project. Inputs:

  • name: display name.
  • key: optional one- or two-character badge key.
  • color: optional hex color.
  • defaultBranch: optional base branch; defaults to main.

The returned projectId is the project slug used by web routes and the rest of the MCP tools.

Lists tasks in a project with status and progress counts.

Input:

  • projectId: project id from list_projects.

Creates a task as a DAG of steps.

Inputs:

  • projectId: project id from list_projects.
  • title: task title.
  • description: optional task detail.
  • branch: optional branch for the task.
  • steps: at least one step.

Step inputs:

  • id: local id unique within this task, such as plan.
  • category: free-form label such as Plan, Implement, Test, Verify, Docs, or Human approval.
  • isGate: optional boolean. Set to true when this step waits for human approval.
  • gatePrompt: optional prompt shown to the operator for a gate step.
  • title: step title.
  • description: optional step detail.
  • dependsOn: local ids of upstream steps; defaults to an empty list.
  • objective: optional goal for a non-gate step. If omitted, Meshive falls back to the step description or title.
  • instructions: optional agent instructions.
  • acceptanceCriteria: optional completion criteria; defaults to an empty list.
  • expectedArtifactKind: optional plan_doc, diff, verification, test_report, doc, or log.

The response includes the assigned task id and local-step-id to Meshive-step-id mapping.

Returns a task’s full step graph, including step category, isGate, status, dependencies, gate state, and run state.

Input:

  • taskId: task key such as WEB-7.

Moves a task to a board column.

Inputs:

  • taskId: task key.
  • state: candidate, queued, running, awaiting_decision, done, wont_do, or failed.
  • note: optional activity note.

Returns pending steps whose dependencies are done, plus already-running steps. Gate steps appear when they need a human decision.

Input:

  • taskId: task key.

Returns the step contract: objective, instructions, upstream context artifacts, expected artifact kind, and acceptance criteria.

Input:

  • stepId: step key such as WEB-7.2.

Returns null for gate steps because gates are human work.

Marks a non-gate step as running before work begins. It fails when the step is unknown, already done, a gate, outside token scope, or blocked by unfinished dependencies.

Input:

  • stepId: step key.

Marks a non-gate step done and optionally attaches an artifact.

Inputs:

  • stepId: step key.
  • artifactKind: optional artifact kind.
  • artifactTitle: optional artifact title.
  • artifactBody: optional artifact body in markdown or text.

Completing a step readies downstream steps when all their dependencies are done. If the completed step produced review material, attach it as the artifact before a downstream gate is requested.

Puts a gate step into awaiting_gate so an operator can approve or reject it in the Inbox and task detail pane.

Input:

  • stepId: gate step key.

Returns the gate step status, decision, note, and prompt.

Input:

  • stepId: gate step key.

Gate decisions are approved or rejected. A pending gate reports status: "awaiting_gate" and decision: null.

Lists issues in a project with status, priority, and linked task counts.

Input:

  • projectId: project id from list_projects.

Gets one issue, including description, status, priority, and linked tasks.

Input:

  • issueId: issue key such as WEB#12.

Files a new issue in a project.

Inputs:

  • projectId: project id.
  • title: issue title.
  • description: optional detail.
  • priority: optional none, urgent, high, medium, or low; defaults to none.

Updates an issue’s priority, title, description, or manual status. If the issue is linked to tasks, its status is derived from linked task board state and cannot be set directly.

Inputs:

  • issueId: issue key.
  • title: optional title.
  • description: optional description.
  • status: optional backlog, todo, in_progress, in_review, done, or canceled.
  • priority: optional priority.

Links a task to an issue it resolves. The operation is idempotent.

Inputs:

  • issueId: issue key.
  • taskId: task key.

Removes a task link from an issue.

Inputs:

  • issueId: issue key.
  • taskId: task key.