Remogram
v0.2.0-beta.4SCM & forge boundary MCP: normalized, typed JSON from attributed Gitea, GitLab, and GitHub providers
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
doctor
Read-only provider readiness diagnostics for config, remote trust, auth, capabilities, and checks.
| Parameter | Type | Description |
|---|---|---|
live | boolean | When true, perform a bounded live forge API reachability probe |
provider_capabilities
Structured provider capability facts for commands, auth, checks, host binding, pagination, and write support.
| Parameter | Type | Description |
|---|---|---|
repo | string | Override forge repo as owner/name on the same host |
repo_status
Forge repo status facts (auth, capabilities, default branch).
| Parameter | Type | Description |
|---|---|---|
repo | string | Override forge repo as owner/name on the same host |
ref_compare
Compare two refs with exact SHAs and ahead/behind counts.
| Parameter | Type | Description |
|---|---|---|
base * | string | Base ref |
head * | string | Head ref |
repo | string | Override forge repo as owner/name on the same host |
ref_inventory
List repository refs with SHAs, default branch hint, and optional ancestry hints.
| Parameter | Type | Description |
|---|---|---|
repo | string | Override forge repo as owner/name on the same host |
cr_inventory
Aggregate open change requests with checks and merge-plan facts into a semantic-diff slice.
| Parameter | Type | Description |
|---|---|---|
cursor | string | Opaque cursor from prior cr_inventory next_cursor |
limit | integer | Max open CR entries (default 3) |
slice_ref | string | Optional slice ref label for consumers |
sort | string | Open-list slice sort preset (default number_asc) |
issue_inventory
Aggregate open issues into a semantic-diff inventory slice with pagination cursors.
| Parameter | Type | Description |
|---|---|---|
cursor | string | Opaque cursor from prior issue_inventory next_cursor |
limit | integer | Max open issue entries (default 3) |
slice_ref | string | Optional slice ref label for consumers |
sort | string | Open-list slice sort preset (default number_asc) |
cr_open
Open a change request (pull request) on the configured forge.
| Parameter | Type | Description |
|---|---|---|
base * | string | Base branch ref |
head * | string | Head branch ref |
title * | string | Change request title |
actor_id | string | Caller actor id; requires session_id when set |
body | string | Optional change request body |
body_file | string | Path to body file (mutually exclusive with body); use - for stdin |
dedupe_key | string | Durable cross-process dedupe key (24h XDG store) |
idempotency | string | Idempotency scan mode when forge open-pull scan is incomplete |
idempotency_key | string | Optional agent idempotency key for retry-safe writes |
repo | string | Override forge repo as owner/name on the same host |
session_id | string | Caller session id; requires actor_id when set (untrusted correlation only) |
status_set
Set a commit status (check context) on the configured forge.
| Parameter | Type | Description |
|---|---|---|
context * | string | Status context name |
sha * | string | 40-character commit SHA |
state * | string | Status state |
actor_id | string | Caller actor id; requires session_id when set |
description | string | Optional status description |
idempotency_key | string | Optional agent idempotency key for retry-safe writes |
note | string | Additional attestation note |
proof_hash | string | Attestation proof hash (sha256:...) |
proof_url | string | Attestation proof URL |
session_id | string | Caller session id; requires actor_id when set (untrusted correlation only) |
target_url | string | Optional target URL for the status |
verifier | string | Verifier identity label |
issue_open
Open a forge issue on the configured repository (Gitea v1).
| Parameter | Type | Description |
|---|---|---|
title * | string | Issue title |
actor_id | string | Caller actor id; requires session_id when set |
body | string | Optional issue body (inline cap; use body_file for larger bodies) |
body_file | string | Path to body file for bodies above inline cap (mutually exclusive with body); use - for stdin |
idempotency_key | string | Optional agent idempotency key for retry-safe writes |
session_id | string | Caller session id; requires actor_id when set (untrusted correlation only) |
issue_close
Close an open forge issue on the configured repository.
| Parameter | Type | Description |
|---|---|---|
number * | integer | |
actor_id | string | Caller actor id; requires session_id when set |
idempotency_key | string | |
session_id | string | Caller session id; requires actor_id when set (untrusted correlation only) |
issue_comment
Post a comment on a forge issue.
| Parameter | Type | Description |
|---|---|---|
number * | integer | |
actor_id | string | Caller actor id; requires session_id when set |
body | string | |
body_file | string | |
idempotency_key | string | |
session_id | string | Caller session id; requires actor_id when set (untrusted correlation only) |
issue_view
Issue metadata facts with optional linked change request snapshot.
| Parameter | Type | Description |
|---|---|---|
number * | integer |
issue_comments
Issue comments (sanitized bodies, truncation-aware).
| Parameter | Type | Description |
|---|---|---|
number * | integer |
pr_status
PR metadata and mergeability facts.
| Parameter | Type | Description |
|---|---|---|
number * | integer |
pr_checks
CI/check conclusions for a PR number or git ref.
merge_plan
Merge readiness facts: mergeability, checks, blockers.
| Parameter | Type | Description |
|---|---|---|
number * | integer | |
allowed_paths | array |
whoami
Authenticated forge identity facts (login, can_write, token scope/expiry signals).
branch_protection
Branch protection policy facts: required status contexts, protected rules, approvals signal.
| Parameter | Type | Description |
|---|---|---|
branch_ref * | string |
cr_files
Changed file paths for a change request (bounded, truncation-aware).
| Parameter | Type | Description |
|---|---|---|
number * | integer |
cr_comments
Review comments for a change request (sanitized bodies, truncation-aware).
| Parameter | Type | Description |
|---|---|---|
number * | integer |
cr_body
Change request description body with close_keywords helper.
| Parameter | Type | Description |
|---|---|---|
number * | integer |
cr_edit
Update change request title and/or body on the configured forge.
| Parameter | Type | Description |
|---|---|---|
number * | integer | |
actor_id | string | Caller actor id; requires session_id when set |
body | string | |
body_file | string | |
idempotency_key | string | |
session_id | string | Caller session id; requires actor_id when set (untrusted correlation only) |
title | string |
cr_close
Close an open change request on the configured forge without merging.
| Parameter | Type | Description |
|---|---|---|
number * | integer | |
actor_id | string | Caller actor id; requires session_id when set |
idempotency_key | string | |
session_id | string | Caller session id; requires actor_id when set (untrusted correlation only) |
forge_changes
Forge activity events since an observed_at boundary (PR lifecycle, head SHA moves, check conclusions).
| Parameter | Type | Description |
|---|---|---|
cursor | string | Opaque cursor from prior forge_changes next_cursor |
include_issues | boolean | Include issue open/close lifecycle events |
limit | integer | Events per page (default 64) |
log_path | string | Override forge event log path |
since | string | ISO-8601 observed_at boundary (required on first page) |
source | string | Event source preference |
forge_queue_snapshot
Composed forge queue snapshot (repo status, CR slice, merge summaries).
| Parameter | Type | Description |
|---|---|---|
base_ref | string | |
cr_limit | integer | |
include_issues | boolean | |
include_refs | boolean | |
integration_ref | string |
observer_snapshot
Deprecated alias for forge_queue_snapshot — prefer forge_queue_snapshot.
| Parameter | Type | Description |
|---|---|---|
cr_limit | integer | |
include_issues | boolean | |
include_refs | boolean | |
integration_ref | string |
semantic_diff
Composed semantic diff since a time or git ref boundary.
forge_log_ingest
Ingest a Gitea webhook JSON payload into the local forge event log.
| Parameter | Type | Description |
|---|---|---|
file | string | |
log_path | string | |
stdin | boolean |
forge_log_read
Read normalized events from the local forge event log.
| Parameter | Type | Description |
|---|---|---|
since * | string | |
limit | integer | |
log_path | string |
attestation_read
Read commit status attestation bindings for a SHA.
| Parameter | Type | Description |
|---|---|---|
sha * | string | |
context | string |
verify_bind
Create a verify_bind packet bound to a target SHA and optional proof metadata.
| Parameter | Type | Description |
|---|---|---|
target_sha * | string | 40-character verified target SHA |
note | string | Optional verification notes |
proof_url | string | Verification proof URL |
verifier | string | Verifier identity or lane label |
review_bundle
Create a review_bundle packet for reviewed head/base, decision, and summary facts.
| Parameter | Type | Description |
|---|---|---|
number * | integer | |
decision | string | |
reviewed_base_sha | string | |
reviewed_head_sha | string | |
summary | string |
issue_bundle
Create an issue_bundle packet for issue lifecycle and linked review context.
| Parameter | Type | Description |
|---|---|---|
issue_number * | integer | |
linked_pr | integer | |
state | string | |
title | string | |
url | string |
merge_execute
Execute a forge merge for an open change request after SHA-bound preflight.
| Parameter | Type | Description |
|---|---|---|
expected_base_sha * | string | Expected base SHA (40 hex chars) |
expected_head_sha * | string | Expected head SHA (40 hex chars) |
number * | integer | |
actor_id | string | Caller actor id; requires session_id when set |
method | string | Merge method (v1: merge only) |
session_id | string | Caller session id; requires actor_id when set (untrusted correlation only) |
sync_plan
Local vs remote sync facts and divergent-remote blockers.
| Parameter | Type | Description |
|---|---|---|
remote | string |
publish_plan
Plan branch publication to the configured git remote before opening a change request.
| Parameter | Type | Description |
|---|---|---|
head * | string | Local branch name to publish |
remote | string | Git remote (must match configured config.remote) |
publish_execute
Push a local branch to the configured git remote (requires publish_branch write_commands).
| Parameter | Type | Description |
|---|---|---|
head * | string | Local branch name to publish |
remote | string | Git remote (must match configured config.remote) |
command_contract_export
Read command contract metadata for all commands or one command key.
| Parameter | Type | Description |
|---|---|---|
command | string | Optional command key, for example "issue inventory" |
plugin_boundary
Read forge plugin boundary metadata (emit surfaces, denied claims, contract export linkage).