pr-council-mcp
v0.6.3Standalone local MCP server for durable, multi-model pull-request reviews over stdio.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
pr_council_start Start a PR review
Queue a durable, comment-only PR review and return its operation handle. The calling agent gathers and edits arbitrary context in normal conversation, then supplies the finalized snapshot here. Poll with ``pr_council_get``. This tool never posts to GitHub.
| Parameter | Type | Description |
|---|---|---|
pr_url * | string | Full HTTPS pull-request URL on an allowed GitHub host. |
aggregation_model | Optional per-operation aggregation-model override; omit to use [pr_review.models]. | |
baseline_operation_id | Optional prior completed operation to use as the follow-up baseline. | |
deliberation_model | Optional per-operation deliberation-model override; omit to use [pr_review.models]. | |
iterations | integer | Refinement iterations per reviewer model. |
local_source_path | Local repository root for source_mode=local. Relative paths resolve from the server working directory, must remain beneath it, and default to '.'. The caller must keep this live checkout stable until… | |
min_severity | Optional per-operation publication threshold; findings below it are shown in the preview but never posted. Omit to use [pr_review].min_severity. | |
mode | string | Auto-detect an earlier published review, force initial review, or require follow-up. |
models | Optional per-operation override containing non-empty quality and security reviewer-model lists; omit to use [pr_review.models]. | |
review_context | Optional finalized context items supplied by the calling agent. | |
source_mode | string | Use a server-managed checkout or an existing clean local checkout. |
pr_council_get Get a PR review
Return durable status, progress, errors, and completion data for one owned review.
| Parameter | Type | Description |
|---|---|---|
operation_id * | string | Opaque operation ID returned by pr_council_start. |
pr_council_preview Preview a PR review
Return the exact revision-bound summary and inline comments without posting them. When ``suppression_note`` is set, show it with ``suppressed_findings`` to the human: those findings fell below ``min_severity`` and are never posted.
| Parameter | Type | Description |
|---|---|---|
operation_id * | string | Opaque operation ID returned by pr_council_start. |
pr_council_commit Commit a PR review
Commit exactly one reviewed preview as inline comments and a COMMENT-only summary. Call only after presenting the preview and receiving approval in normal conversation or through the MCP client's tool-call authorization policy.
| Parameter | Type | Description |
|---|---|---|
operation_id * | string | Opaque operation ID for the reviewed preview. |
payload_hash * | string | Payload hash returned by pr_council_preview. |
revision * | integer | Revision returned by pr_council_preview. |
pr_council_cancel Cancel a PR review
Cooperatively cancel one owned review unless publication has already begun.
| Parameter | Type | Description |
|---|---|---|
operation_id * | string | Opaque operation ID returned by pr_council_start. |