MCP Tool Reference
July 3, 2026 ยท View on GitHub
The @martinloop/mcp package exposes one primary coding execution entrypoint plus planning, inspection, run-control, and review helpers.
Planning and Execution
| Tool | Purpose |
|---|---|
martin_doctor | Check local MartinLoop and agent readiness. |
martin_plan | Outline scope, verification, and budget posture before spending a run. |
martin_preflight | Validate a proposed run contract before execution. |
martin_run | Execute a governed coding run. MartinLoop auto-runs the matching readiness checks and only stops when preflight finds a real blocker. |
Status and Run Control
| Tool | Purpose |
|---|---|
martin_status | Summarize live or recent run status. |
martin_logs | Read recent run-control receipts and workflow events. |
martin_pause | Request that a running loop pause at a safe boundary. |
martin_cancel | Cancel a running loop and capture the control receipt. |
martin_continue | Continue a paused loop with the recorded run context. |
Inspection and Evidence
| Tool | Purpose |
|---|---|
martin_inspect | Inspect a persisted loop record. |
martin_list_runs | List saved run records. |
martin_triage_runs | Rank saved runs by urgency and missing evidence. |
martin_get_run | Read one run by ID. |
martin_get_attempt | Read one attempt from a run. |
martin_get_verification_results | Read persisted verifier evidence. |
martin_run_dossier | Produce a compact run dossier. |
martin_dossier | Alias-first dossier surface for host-friendly receipts. |
martin_eval | Grade the run for verifier posture, regression risk, and reviewability. |
Review Helpers
| Tool | Purpose |
|---|---|
martin_pr_summary | Produce a review-ready summary from the run receipts. |
martin_create_pr | Create a PR when the host explicitly wants GitHub mutation. |
martin_review_pr | Review an existing PR with MartinLoop evidence context. |
Resources
martin://server/healthmartin://runs/recentmartin://runs/triagemartin://runs/latestmartin://runs/latest/summarymartin://runs/latest/receiptmartin://runs/latest/proof-cardmartin://runs/latest/budget-statusmartin://runs/latest/verifier-evidencemartin://runs/latest/rollback-evidencemartin://policies/currentmartin://repo/risk-mapmartin://verifiers/resultsmartin://agent/next-stepmartin://guides/mcp-usagemartin://guides/agent-startmartin://guides/command-mapmartin://guides/ide-onboardingmartin://guides/operating-rulesmartin://guides/publish-readiness
Resource Templates
martin://runs/{loopId}martin://runs/{loopId}/dossiermartin://runs/{loopId}/attempts/{attemptIndex}martin://runs/{loopId}/verification
Prompts
martin_startmartin_preflightmartin_triagemartin_resumemartin_provemartin_release_checkmartin_governed_coding_kickoffmartin_debug_failed_runmartin_publish_readiness_reviewmartin_triage_run_storesafe_bug_fixwrite_tests_firstsmall_refactorsecurity_reviewpr_reviewrelease_check
Profile Notes
minimalis the safest default profile.diagnosticadds deeper run-store and evaluation helpers.full-localaddsmartin_runplus run-control helpers for local operators.github-reviewadds PR-oriented helpers when the host explicitly needs them.
The 0.2.7 package line also adds guide resources meant for hosts that want MartinLoop to feel built in rather than bolted on. Start with martin://agent/next-step, martin://guides/command-map, and martin://guides/operating-rules before you open full run JSON.
For installation and host setup, see MCP setup. For platform commitments, see MCP compatibility.