pr-council-mcp

v0.6.3
pr-council-mcp Checked 23 hours ago Published 1 month ago

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

ParameterTypeDescription
pr_url *stringFull HTTPS pull-request URL on an allowed GitHub host.
aggregation_modelOptional per-operation aggregation-model override; omit to use [pr_review.models].
baseline_operation_idOptional prior completed operation to use as the follow-up baseline.
deliberation_modelOptional per-operation deliberation-model override; omit to use [pr_review.models].
iterationsintegerRefinement iterations per reviewer model.
local_source_pathLocal 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_severityOptional per-operation publication threshold; findings below it are shown in the preview but never posted. Omit to use [pr_review].min_severity.
modestringAuto-detect an earlier published review, force initial review, or require follow-up.
modelsOptional per-operation override containing non-empty quality and security reviewer-model lists; omit to use [pr_review.models].
review_contextOptional finalized context items supplied by the calling agent.
source_modestringUse 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.

ParameterTypeDescription
operation_id *stringOpaque 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.

ParameterTypeDescription
operation_id *stringOpaque 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.

ParameterTypeDescription
operation_id *stringOpaque operation ID for the reviewed preview.
payload_hash *stringPayload hash returned by pr_council_preview.
revision *integerRevision returned by pr_council_preview.

pr_council_cancel Cancel a PR review

Cooperatively cancel one owned review unless publication has already begun.

ParameterTypeDescription
operation_id *stringOpaque operation ID returned by pr_council_start.