MCP Guarded GitHub Tools
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GITHUB_TOKEN | No | A fine-grained GitHub personal access token, read from the environment only. Leave it out entirely for read-only use on public repos (60 requests an hour). | |
| MCP_GUARD_CONFIG | No | Path to a small JSON config file (e.g. examples/config.example.json) containing commentAllowlist, maxCommentLength, dryRun, auditLogPath and apiBaseUrl. With no config the server can read and nothing else (empty allowlist). | |
| MCP_GUARD_DRY_RUN | No | Set to false to turn off dry-run mode (default is true). | |
| MCP_GUARD_AUDIT_LOG | No | Path to the audit log (default is ./audit.jsonl). |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_issuesB | List issues (not pull requests) in a repository. |
| get_issueB | Get one issue with its body (clipped to 4000 characters). |
| list_pull_requestsC | List pull requests in a repository. |
| get_pull_requestA | Get one pull request with diff stats: commits, changed files, additions, deletions and a per-file breakdown (first 50 files). |
| search_issuesA | Search issues or pull requests across GitHub with GitHub search syntax. Pass owner and repo to scope it to one repository. |
| add_issue_commentA | Add a comment to an issue or pull request. Only works on allowlisted repositories (none configured), max 2000 characters. The server is in DRY-RUN mode: nothing is posted, you get back what would have been sent. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 6 tools
Each tool maps to a distinct resource+action pair: list/get for issues, list/get for pull requests, a global search, and a comment write. The only near-overlap is search_issues versus the list tools, but the description makes the distinction clear (GitHub search syntax, optional owner/repo scoping) rather than leaving boundaries vague.
Every name follows the same snake_case verb_noun pattern (list_issues, get_issue, list_pull_requests, get_pull_request, search_issues, add_issue_comment). Resource nouns are singular for single-item getters and plural for collections, which is a small but consistent and readable convention.
Six tools is a tight, well-scoped surface for a guarded, mostly read-only GitHub helper, and no single tool feels redundant. Each entry earns its place: two resource families with list+get, one search, one gated write.
Read coverage for issues and PRs is solid, but the write/lifecycle side is largely absent: no create/update/close issue, no PR review or comment retrieval, no repo or code search, and the only mutation (add_issue_comment) is non-functional since the allowlist is empty and it runs in dry-run. Agents can inspect but will hit dead ends for most state-changing or review-oriented workflows.