Agentic SDLC MCP
v1.11.0Agentic SDLC governance and security controls for AI coding agents working with GitHub.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
repo_context Get Repository Context
Read baseline context for a GitHub repository, including metadata, README summary, package.json summary, tech stack, common scripts, workflow file names, governance signals, agent instruction file summaries, open issues, and open PRs. Use this tool at the start of any SDLC workflow to understand the codebase before planning or creating work items. Args: - owner (string?): GitHub org or user. Defaults to GITHUB_OWNER env var. - repo (string?): Repository name. Defaults to GITHUB_REPO env var. - includeReadme (boolean): Include truncated README. Default: true. - includePackageJson (boo…
| Parameter | Type | Description |
|---|---|---|
includeAgentInstructions | boolean | Include summaries of agent instruction files (AGENTS.md, CLAUDE.md) if present at the repo root. |
includeGovernance | boolean | Include lightweight governance signals (currently: whether a CODEOWNERS file exists). For full branch protection details, use branch_protection_status. |
includeOpenIssues | boolean | Include a list of recent open issues (up to 20). |
includeOpenPRs | boolean | Include a list of open pull requests (up to 20). |
includePackageJson | boolean | Include a package.json summary, detected package manager, tech stack, and common scripts. |
includePolicy | boolean | Include the validated .agentic-sdlc.yml policy summary, rule IDs, digest, and source ref/SHA. |
includeReadme | boolean | Include a truncated README summary. |
includeWorkflows | boolean | Include `.github/workflows/*.yml` file names (names only, not permissions -- use workflow_permissions_audit for that). |
issueLimit | integer | Max number of open issues to fetch when includeOpenIssues is true. Default: 20, max: 100. |
maxInstructionChars | integer | Max characters per agent instruction file summary before truncation. Default: 1000. |
maxReadmeChars | integer | Max README characters before truncation. Default: 3000. |
owner | string | GitHub owner (org or user). Falls back to GITHUB_OWNER env var. |
prLimit | integer | Max number of open PRs to fetch when includeOpenPRs is true. Default: 20, max: 100. |
repo | string | GitHub repo name. Falls back to GITHUB_REPO env var. |
plan_from_context Generate SDLC Plan from Context
Generate a structured Agentic SDLC plan (Plan->Create->Test->Review->Optimize->Secure) from a goal and repo context. The plan is tailored to a `workType` (docs/feature/bugfix/refactor/security/release/infra) -- e.g. docs tasks do not default to requiring code unit tests, while bugfix tasks always include repro + regression tests. Template-based -- no LLM call needed. Reads basic repo metadata (and the repo's actual label list, to avoid inventing labels that don't exist) to enrich the plan. Args: - goal (string): The user's goal or feature description (required). - owner, repo: Repo coord…
| Parameter | Type | Description |
|---|---|---|
goal * | string | The user goal or feature request to plan around. |
acceptanceCriteria | array | Acceptance criteria the implementation must satisfy. |
constraints | array | Technical or business constraints. |
owner | string | GitHub owner. Falls back to GITHUB_OWNER. |
repo | string | GitHub repo. Falls back to GITHUB_REPO. |
workType | string | Explicit task category: docs, feature, bugfix, refactor, security, release, or infra. If omitted, it is inferred from `goal` + `acceptanceCriteria` -- check the output's `confidence` and `needsClarifi… |
create_issue_set Create GitHub Issue Set
Split an SDLC plan into GitHub issues. Supports dryRun (default TRUE) - preview mode. SAFETY: dryRun defaults to true. You MUST explicitly pass dryRun:false to create issues. Dry-run output is designed to work as a human pre-write confirmation page: it includes a per-issue preview (title/labels/truncated body), warnings for issues missing labels, missing/short bodies, or titles exceeding GitHub's 256-character limit, and the exact repo coordinates that would be written to. Args: - owner, repo: Repository coordinates. - titlePrefix (string?): Prefix for every issue title. - issues (arr…
| Parameter | Type | Description |
|---|---|---|
issues * | array | Array of issues to create (1-50). |
dryRun | boolean | If true (default), preview issues without creating them. |
owner | string | GitHub owner. Falls back to GITHUB_OWNER. |
repo | string | GitHub repo. Falls back to GITHUB_REPO. |
titlePrefix | string | Optional prefix prepended to every issue title. |
prepare_work_item Prepare Work Item Brief
Generate a risk-aware implementation brief for a GitHub issue. The brief combines bounded Issue/comment evidence, repository policy, confirmed package scripts, related paths, and recent PR history to produce explainable risk, defensive requirements, negative scenarios, rollback, observability, and a safe handoff prompt. Args: - owner, repo: Repository coordinates. - issueNumber (number): The issue to prepare. - includeRelatedFiles (boolean): Heuristically list related file paths. Default: false. Explicit paths are checked on the default branch, actual adjacent tests are discovered w…
| Parameter | Type | Description |
|---|---|---|
issueNumber * | integer | The GitHub issue number. |
includeDependencies | boolean | Include bounded official sub-issue, blocked-by, blocking, and cross-reference evidence. |
includeRecentPRs | boolean | Include recent merged PRs touching related files. |
includeRelatedFiles | boolean | Attempt to identify related files from issue body keywords. |
owner | string | GitHub owner. Falls back to GITHUB_OWNER. |
repo | string | GitHub repo. Falls back to GITHUB_REPO. |
riskLevel | string | Explicit minimum risk level. Repository policy may raise but never lower it. |
workType | string | Explicit work type. When omitted, deterministic issue/policy signals are used. |
quality_gate_status Quality Gate Status
Evaluate real merge-gate evidence for a pull request or CI evidence for a git ref. Args: - owner, repo: Repository coordinates. - pullNumber (number?): PR number (preferred); evaluates CI, reviews, policy, labels, and mergeability. - ref (string?): Branch name or commit SHA; evaluates CI only. - blockingLabels (string[]): Exact case-insensitive PR labels that block merging. Pass [] to disable. Returns: A structured evidence packet, blockers, warnings, next actions, and a conservative conclusion.
| Parameter | Type | Description |
|---|---|---|
blockingLabels | array | Exact, case-insensitive PR labels that block the gate. Pass [] to disable. |
owner | string | GitHub owner. Falls back to GITHUB_OWNER. |
pullNumber | integer | PR number. Takes precedence over ref when provided. |
ref | string | Git ref (branch name, commit SHA). Ignored if pullNumber is set. |
repo | string | GitHub repo. Falls back to GITHUB_REPO. |
create_pr_summary Create PR Summary
Generate a structured PR summary from the pull request diff and metadata. The summary includes: change overview, affected files, test coverage signals, risks, review checklist, and release notes draft. Args: - owner, repo: Repository coordinates. - pullNumber (number): The PR to summarise. Returns: Markdown PR summary + structured metadata.
| Parameter | Type | Description |
|---|---|---|
pullNumber * | integer | The pull request number to summarise. |
owner | string | GitHub owner. Falls back to GITHUB_OWNER. |
repo | string | GitHub repo. Falls back to GITHUB_REPO. |
review_pr_against_standard Review PR Against SDLC Standard
Review a pull request against Agentic SDLC standards. Standards: - basic: Core checks (tests, description, draft status, commit count) - strict: basic + large diff detection, missing docs - security-focused: strict + mature secret-scanner CI evidence + supplemental patch heuristics, .env files, lockfile changes, dist files Ownership check (independent of standard, runs when checkOwnership is true and a CODEOWNERS file exists): Matches changed files against .github/CODEOWNERS (or CODEOWNERS / docs/CODEOWNERS), and flags any matched owner who is neither the PR author, a requested rev…
| Parameter | Type | Description |
|---|---|---|
pullNumber * | integer | The pull request number to review. |
checkOwnership | boolean | Check changed files against .github/CODEOWNERS and flag owners who were neither requested nor have reviewed. Requires read access to repo contents and PR reviewers/reviews. |
owner | string | GitHub owner. Falls back to GITHUB_OWNER. |
repo | string | GitHub repo. Falls back to GITHUB_REPO. |
standard | string | Review standard: 'basic', 'strict', or 'security-focused'. |
workType | string | Optional explicit work type. When omitted, it is inferred from PR metadata and paths. |
security_triage Security Triage
Read GitHub security alerts (code scanning, Dependabot, secret scanning) and produce a triage report. Required token scopes: - security_events, or public_repo for public-only repos (Code Scanning) - security_events, or public_repo for public-only repos (Dependabot) - repo or security_events (Secret Scanning) Args: - owner, repo: Repository coordinates. - includeCodeScanning / includeDependabot / includeSecretScanning: Default true. Returns: Alert summary, severity breakdown, recommended fix order, suggested issues.
| Parameter | Type | Description |
|---|---|---|
includeCodeScanning | boolean | Include Code Scanning alerts. Requires security_events scope. |
includeDependabot | boolean | Include Dependabot alerts. Requires vulnerability_alerts scope. |
includeSecretScanning | boolean | Include Secret Scanning alerts. Requires secret_scanning_alerts scope. |
owner | string | GitHub owner. Falls back to GITHUB_OWNER. |
repo | string | GitHub repo. Falls back to GITHUB_REPO. |
release_readiness_check Release Readiness Check
Pre-release assessment: CI status, open bugs, CHANGELOG, release checklist, rollback template. Required token scopes: - repo, or public_repo for public-only repos (checks, issues, and file contents access) Args: - owner, repo: Repository coordinates. - baseRef (string?): Deprecated compatibility field; ignored. - headRef (string?): Branch, tag, or commit SHA to release (defaults to default branch). - pullNumber (number?): Uses the PR head commit for CI status. Returns: isReady flag, blocking issues, CI status, docs check, release checklist, rollback template.
| Parameter | Type | Description |
|---|---|---|
baseRef | string | Deprecated compatibility field; currently ignored. |
headRef | string | Branch, tag, or commit SHA to release. Defaults to default branch. |
owner | string | GitHub owner. Falls back to GITHUB_OWNER. |
pullNumber | integer | If provided, checks the PR's head commit CI status. |
repo | string | GitHub repo. Falls back to GITHUB_REPO. |
rollbackPlanEvidence | object | Caller-provided rollback runbook/reference and whether it was tested. |
agent_handoff_packet Agent Handoff Packet
Generate a compact handoff packet so another AI agent can continue SDLC work. Use when wrapping up a session, before handing off to a specialised agent, or when context is nearing its limit. Args: - owner, repo: Repository coordinates. - issueNumber (number?): Issue being worked on. - pullNumber (number?): PR being worked on. - releaseRef (string?): Release ref being worked on. - currentStatus (string?): Optional caller-authored status; system evidence is used when omitted. - goal / nonGoals / completedActions / decisions: Optional caller-authored handoff context. - nextSteps (…
| Parameter | Type | Description |
|---|---|---|
completedActions | array | Optional caller-authored completed actions. Kept unverified. |
currentStatus | string | Optional caller-authored work status. Kept unverified. |
decisions | array | Optional caller-authored decisions. Kept unverified. |
goal | string | Optional caller-authored goal. Kept unverified. |
issueNumber | integer | Issue being worked on (if applicable). |
nextSteps | array | Ordered list of next steps for the incoming agent. |
nonGoals | array | Optional caller-authored non-goals. Kept unverified. |
owner | string | GitHub owner. Falls back to GITHUB_OWNER. |
pullNumber | integer | PR being worked on (if applicable). |
releaseRef | string | Release ref being worked on (if applicable). |
repo | string | GitHub repo. Falls back to GITHUB_REPO. |
branch_protection_status Branch Protection Status
Read classic branch protection AND repository rulesets for a branch (defaults to the repo's default branch). Required token scope: `repo` (or `public_repo` for public-only repos) with admin/read access to branch protection. Args: - owner, repo: Repository coordinates. - branch: Optional. Falls back to the repository's default branch. Returns: Required reviews / status checks / force-push / deletion settings from both classic protection and rulesets, findings by severity, verification gaps, and a protected/partially_protected/unprotected/unknown conclusion.
| Parameter | Type | Description |
|---|---|---|
branch | string | Branch to inspect. Falls back to the repository's default branch. |
owner | string | GitHub owner. Falls back to GITHUB_OWNER. |
repo | string | GitHub repo. Falls back to GITHUB_REPO. |
workflow_permissions_audit Workflow Permissions Audit
Scan `.github/workflows/*.yml` for `permissions` declarations (top-level and per-job) and flag least-privilege gaps. Required token scope: `repo` (or `public_repo` for public-only repos) with read access to repository contents. Args: - owner, repo: Repository coordinates. - ref: Optional. Branch, tag, or SHA to read workflow files from. Falls back to the repository's default branch. Flags: - No `permissions` declared anywhere in the file (workflow or job level) -- relies on the repo/org default token scope instead of an explicit declaration. - `permissions: write-all` (top-level or…
| Parameter | Type | Description |
|---|---|---|
owner | string | GitHub owner. Falls back to GITHUB_OWNER. |
ref | string | Branch, tag, or SHA to read workflow files from. Falls back to the repository's default branch. |
repo | string | GitHub repo. Falls back to GITHUB_REPO. |
sdlc_evidence_packet SDLC Evidence Packet
Generate a versioned, read-only evidence packet for one Issue, pull request, or release ref. Repository text is treated as untrusted data. Caller assertions remain unverified. Markdown is rendered from the structured packet and high-confidence prompt injection is omitted from the Markdown channel.
| Parameter | Type | Description |
|---|---|---|
subject * | Exactly one Issue, pull request, or release ref to collect. | |
callerAssertions | array | Optional caller-authored statements. Always recorded as unverified. |
owner | string | GitHub owner. Falls back to GITHUB_OWNER. |
repo | string | GitHub repo. Falls back to GITHUB_REPO. |