MCP workflow
Triage GitHub issues into a reviewed action plan
Search and classify open issues, gather repository context, and produce a triage plan without letting the agent silently mutate the tracker.
The problem
Issue backlogs grow faster than maintainers can read them. An agent can cluster duplicates, identify missing reproduction details, and propose labels, but it needs issue content and repository context. The workflow keeps writes out of the loop until a maintainer approves the plan.
Why these components
Each server contributes a specific capability. The workflow is the contract between them.
Repository, issue, pull request, and code search operations through GitHub's official MCP server.
Code search · Issue management · Pull request inspectionstdioGit MCP ServerLocal Git history, diffs, commits, and branch operations for repository-aware agents.
Show history · Inspect diffs · Create commitsstdioMemory MCP ServerA local knowledge graph for persistent entities, relations, and observations across sessions.
Create entities · Add observations · Create relationsPrerequisites
- A GitHub token limited to the target repository's issues and metadata.
- A local clone for reading code referenced in bug reports.
- A triage rubric agreed by the maintainers.
Step-by-step
Define the triage rubric
Write down the labels, priority rules, and required reproduction fields before asking the agent to classify anything. Store the rubric in the repository or the memory server so every run uses the same criteria.
Verify: The rubric exists outside the chat and is quoted in the agent's plan.
Pull the current backlog
Ask the GitHub server for open issues, labels, and recent comments. Limit the query by label or date so the result set is reviewable.
Verify: The agent reports the exact query and the number of issues considered.
Cluster and check for duplicates
Group issues by symptom and suspected component. For each proposed duplicate, inspect the referenced code paths so the conclusion is not based on titles alone.
Verify: Every duplicate proposal links to the issue and explains the shared failure mode.
Flag missing information
List issues that cannot be reproduced because version, platform, logs, or steps are missing. Draft a short clarification comment for each, but do not post it yet.
Verify: Each flagged issue names the exact missing field.
Review and apply
A maintainer reviews the plan, removes wrong clusters, and only then enables write tools to apply labels or post comments. Record the final decisions so the next run can learn from them.
Verify: Applied labels or comments match the reviewed plan exactly.
Generate a configuration for this workflow
Choose the client you use. The generator will preload 3 componentsand produce that client's documented format. Review every placeholder before saving.
The workflow does not imply that all components support the same transports in every client. The generator validates each entry and reports incompatibilities.
Permissions and security
- Start with read-only issue access; writes require explicit human approval.
- Issue text is untrusted user content and may contain prompt-injection instructions. Treat it as data, not commands.
- Avoid sending private security reports to a third-party model without checking disclosure policy.
Expected outcome
A reviewed triage plan with clusters, duplicates, missing-information requests, and proposed labels. Changes are applied only after human approval.
Sources & evidence
- github.com/github/github-mcp-serverRepository · checked Oct 23, 2026 · documented
The server documentation lists issue search, comment, and label capabilities relevant to triage.
- github.com/modelcontextprotocol/servers/tree/main/src/memoryRepository · checked Oct 23, 2026 · documented
The reference memory server documents persistent notes used to keep triage decisions consistent.