gthb
Copies the issues (with comments, labels, milestones and assignees) and READMEs of chosen GitHub repositories into a local read-only store using a fine-grained read-only token, then serves them to agents offline: listing, showing, searching and building context on issues, showing repository and document details, and searching across everything in the local copy — plus an api group that proxies read-only GitHub API operations with file contents, diffs, secrets and download links stripped out. It never writes to GitHub and avoids spending the API rate limit on every question.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
gthb: your GitHub issues for AI agents
gthb copies the issues and the README of the GitHub repositories you choose into a local store, with the issues'
comments, labels, milestones and assignees, so you and your agent (Claude Code, Codex or any agent that speaks MCP)
find them in one command, offline, without spending GitHub's rate limit on every question.
Read-only. It never writes to GitHub, and a fine-grained read-only token is all it asks for.
You choose the repositories.
gthb work repos add octo-org/app, thengthb work sync.Search and lists from the copy.
issues list|show|search|context,repos show,documentsfor the READMEs, andsearch allinwcatacross your other tools.No code. It copies what people write about the work, not the code. The
apigroup leaves out every operation that returns file contents, the README or LICENSE text, archives, gists, logs, webhooks, Actions variables, code search, CODEOWNERS errors, check-run annotations or Copilot Space resources, and takes diffs (patch,diff_hunk), a check run's report text, secrets and download links out of every other answer. The README's text reaches only your local copy.
Pull requests, reviews, commits and project boards come in later versions.
Why gthb
The token stays in the system keyring, and every command names the profile it uses.
One profile reads one owner's repositories, as a fine-grained token does; a second owner is a second profile.
Every request is tested against a strict fake of GitHub built from GitHub's own API description: no test reaches GitHub.
Related MCP server: Simple Code Review Assistant
Quick start
pnpm install
pnpm build
node dist/bin/gthb.js doctorOnce it is on npm: npm install -g @wirecat/github-cli, then gthb doctor. Every command that uses an account
starts with a profile, a name you choose: gthb personal config show.
Sign in once with gthb work session start. It shows how to make a fine-grained read-only token, asks for it,
checks it with GitHub and keeps it in the keyring. Then choose the repositories and copy them:
gthb work repos add octo-org/app
gthb work sync
gthb work issues search login tokenUse it with your agent
gthb personal mcp add claude-code
gthb skill installgthb personal mcp check shows the tools your agent gets. mcp add refuses a profile whose tools may write
until you review its permissions and pass --allow-writes. gthb personal mcp config prints the setup for
any other MCP client.
gthb only reads GitHub, so an agent over MCP can change nothing there. To keep it from the raw API too, refuse
the group: gthb personal config set permissions.api deny.
What it can do
docs/commands.md lists every command, and --help after any of them shows its flags.
Settings and permissions
gthb personal config show prints the profile's settings. See docs/configuration.md.
Security
See docs/security.md, and SECURITY.md to report a problem.
When something goes wrong
Run gthb doctor and see docs/troubleshooting.md. Report a bug on
GitHub.
Development
Started from cli-template. Its design is in docs/dev/DESIGN.md, and the working rules are in AGENTS.md. Published as @wirecat/github-cli.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Connect AI assistants to your GitHub-hosted Obsidian vault to seamlessly access, search, and analy…
Code intelligence for LLMs. Analyze, search, and retrieve code from any public git repository.
Operate GitHub from your AI assistant: repos, PRs, issues, Actions. Previews and read-only mode.
Git-backed platform for skills, tools, and context for AI agents
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceSummarizes GitHub discussions, issues, and pull requests by storing data locally for fast, token-efficient responses.66 npm78MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI models to fetch GitHub repository information, read file contents, and search local documentation.-
- AlicenseAqualityCmaintenanceOrganizes, categorizes, and syncs GitHub starred repositories with AI agents, enabling offline conceptual search, health auditing, and tech-stack recommendations.171MIT
- AlicenseAqualityBmaintenanceEnables AI coding agents to read GitHub repositories, files, commits, issues, pull requests, releases, Actions, and search results through 18 read-only MCP tools. It reuses existing credentials, routes around unreliable networks, and caches responses on disk to stay within rate limits.441,017 npmMIT