Agentic SDLC MCP

v1.11.0
io.github.SakuraCianna/agentic-sdlc-mcp Checked 5 hours ago Published 1 month ago

Agentic 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…

ParameterTypeDescription
includeAgentInstructionsbooleanInclude summaries of agent instruction files (AGENTS.md, CLAUDE.md) if present at the repo root.
includeGovernancebooleanInclude lightweight governance signals (currently: whether a CODEOWNERS file exists). For full branch protection details, use branch_protection_status.
includeOpenIssuesbooleanInclude a list of recent open issues (up to 20).
includeOpenPRsbooleanInclude a list of open pull requests (up to 20).
includePackageJsonbooleanInclude a package.json summary, detected package manager, tech stack, and common scripts.
includePolicybooleanInclude the validated .agentic-sdlc.yml policy summary, rule IDs, digest, and source ref/SHA.
includeReadmebooleanInclude a truncated README summary.
includeWorkflowsbooleanInclude `.github/workflows/*.yml` file names (names only, not permissions -- use workflow_permissions_audit for that).
issueLimitintegerMax number of open issues to fetch when includeOpenIssues is true. Default: 20, max: 100.
maxInstructionCharsintegerMax characters per agent instruction file summary before truncation. Default: 1000.
maxReadmeCharsintegerMax README characters before truncation. Default: 3000.
ownerstringGitHub owner (org or user). Falls back to GITHUB_OWNER env var.
prLimitintegerMax number of open PRs to fetch when includeOpenPRs is true. Default: 20, max: 100.
repostringGitHub 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…

ParameterTypeDescription
goal *stringThe user goal or feature request to plan around.
acceptanceCriteriaarrayAcceptance criteria the implementation must satisfy.
constraintsarrayTechnical or business constraints.
ownerstringGitHub owner. Falls back to GITHUB_OWNER.
repostringGitHub repo. Falls back to GITHUB_REPO.
workTypestringExplicit 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…

ParameterTypeDescription
issues *arrayArray of issues to create (1-50).
dryRunbooleanIf true (default), preview issues without creating them.
ownerstringGitHub owner. Falls back to GITHUB_OWNER.
repostringGitHub repo. Falls back to GITHUB_REPO.
titlePrefixstringOptional 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…

ParameterTypeDescription
issueNumber *integerThe GitHub issue number.
includeDependenciesbooleanInclude bounded official sub-issue, blocked-by, blocking, and cross-reference evidence.
includeRecentPRsbooleanInclude recent merged PRs touching related files.
includeRelatedFilesbooleanAttempt to identify related files from issue body keywords.
ownerstringGitHub owner. Falls back to GITHUB_OWNER.
repostringGitHub repo. Falls back to GITHUB_REPO.
riskLevelstringExplicit minimum risk level. Repository policy may raise but never lower it.
workTypestringExplicit 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.

ParameterTypeDescription
blockingLabelsarrayExact, case-insensitive PR labels that block the gate. Pass [] to disable.
ownerstringGitHub owner. Falls back to GITHUB_OWNER.
pullNumberintegerPR number. Takes precedence over ref when provided.
refstringGit ref (branch name, commit SHA). Ignored if pullNumber is set.
repostringGitHub 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.

ParameterTypeDescription
pullNumber *integerThe pull request number to summarise.
ownerstringGitHub owner. Falls back to GITHUB_OWNER.
repostringGitHub 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…

ParameterTypeDescription
pullNumber *integerThe pull request number to review.
checkOwnershipbooleanCheck 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.
ownerstringGitHub owner. Falls back to GITHUB_OWNER.
repostringGitHub repo. Falls back to GITHUB_REPO.
standardstringReview standard: 'basic', 'strict', or 'security-focused'.
workTypestringOptional 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.

ParameterTypeDescription
includeCodeScanningbooleanInclude Code Scanning alerts. Requires security_events scope.
includeDependabotbooleanInclude Dependabot alerts. Requires vulnerability_alerts scope.
includeSecretScanningbooleanInclude Secret Scanning alerts. Requires secret_scanning_alerts scope.
ownerstringGitHub owner. Falls back to GITHUB_OWNER.
repostringGitHub 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.

ParameterTypeDescription
baseRefstringDeprecated compatibility field; currently ignored.
headRefstringBranch, tag, or commit SHA to release. Defaults to default branch.
ownerstringGitHub owner. Falls back to GITHUB_OWNER.
pullNumberintegerIf provided, checks the PR's head commit CI status.
repostringGitHub repo. Falls back to GITHUB_REPO.
rollbackPlanEvidenceobjectCaller-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 (…

ParameterTypeDescription
completedActionsarrayOptional caller-authored completed actions. Kept unverified.
currentStatusstringOptional caller-authored work status. Kept unverified.
decisionsarrayOptional caller-authored decisions. Kept unverified.
goalstringOptional caller-authored goal. Kept unverified.
issueNumberintegerIssue being worked on (if applicable).
nextStepsarrayOrdered list of next steps for the incoming agent.
nonGoalsarrayOptional caller-authored non-goals. Kept unverified.
ownerstringGitHub owner. Falls back to GITHUB_OWNER.
pullNumberintegerPR being worked on (if applicable).
releaseRefstringRelease ref being worked on (if applicable).
repostringGitHub 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.

ParameterTypeDescription
branchstringBranch to inspect. Falls back to the repository's default branch.
ownerstringGitHub owner. Falls back to GITHUB_OWNER.
repostringGitHub 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…

ParameterTypeDescription
ownerstringGitHub owner. Falls back to GITHUB_OWNER.
refstringBranch, tag, or SHA to read workflow files from. Falls back to the repository's default branch.
repostringGitHub 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.

ParameterTypeDescription
subject *Exactly one Issue, pull request, or release ref to collect.
callerAssertionsarrayOptional caller-authored statements. Always recorded as unverified.
ownerstringGitHub owner. Falls back to GITHUB_OWNER.
repostringGitHub repo. Falls back to GITHUB_REPO.