MCP tools

All 37 Model Context Protocol tools exposed by diffing mcp.

Launch:

diffing mcp
diffing mcp --repo /absolute/path/to/repository

Client snippet:

{
  "mcpServers": {
    "diffing": {
      "command": "diffing",
      "args": ["mcp"]
    }
  }
}

Successful calls return readable text plus schema-validated structuredContent. Count verified against src/mcp.ts registerTool (37 tools).

Session

ToolPurpose
review_session_statusInspect repo binding and active session; use nextAction first
start_review_sessionIdempotently start/reuse loopback web session; never replaces user sessions

Diff inspection

Prefer bounded tools over get_diff for large trees.

ToolPurpose
get_diffFull patch (use sparingly)
diff_summaryHigh-level change summary
diff_filesPaged file list
diff_hunksHunks for a file
diff_sliceExact row window with budgets
diff_searchSearch within the diff

Comments & handoff

ToolPurpose
create_commentInline finding (path, side, line/range, body, optional severity)
await_reviewSync wait for human Send to agent
list_commentsSnapshot threads
reply_to_commentAgent reply
resolve_comment / unresolve_commentLifecycle
edit_comment / delete_commentMutate thread
edit_reply / delete_replyMutate reply
apply_suggestionApply ```suggestion fence
resolve_all_commentsBulk resolve
report_progressLive toast
get_review_historyMulti-round history

Plan review

ToolPurpose
submit_planSubmit markdown (async park default)
await_plan_reviewSync wait for verdict
list_plansAll plans
get_planCurrent plan + comments as XML/data
get_plan_versionsVersion metadata
get_plan_versionHistorical body
reply_to_plan_commentReply
resolve_plan_commentResolve thread

GitHub PR

ToolPurpose
gh_overviewPR overview
gh_list_threadsThreads
gh_list_reviewsReviews
gh_list_draft_commentsLocal drafts
gh_create_draft_commentCreate draft
gh_refreshRe-fetch remote state
gh_submit_reviewPublish review (explicit user auth)

Await semantics

await_review / await_plan_review return status: "released" | "timeout". Timeout includes disposition: "park" and nextActionend the turn, do not silent-loop.

ModeWhenAction
Async (default)Human may take a whileShare URL; park
SyncHuman reviewing nowOne await (~570s); on timeout park

Prompts & resource

  • Prompt review_local_changes
  • Prompt submit_plan_for_review
  • Resource diffing://agent-guide