
Security News
White House Authorizes Private Companies to Conduct Offensive Cyber Operations
A new federal program will let vetted U.S. cybersecurity firms help investigate and disrupt foreign cybercrime groups under government direction.
@abhishekmcp/github
Advanced tools
MCP server for GitHub — search repos/code/issues, read repos/issues/PRs/files, and create issues, authenticated via OAuth device flow or a token, from any MCP client.
A GitHub MCP server: search, browse, and act on GitHub from any MCP
client. Authenticates via OAuth device flow (real OAuth, no hosted callback) or a token. Pure
JavaScript (@octokit/rest), no native dependencies.
GitHub ships an official, much larger MCP server. This is a focused, learning-oriented build that does auth/secrets handling cleanly.
Auth: github_login (device flow), github_logout, whoami
Search: search_repos, search_code, search_issues
Read: get_repo, list_issues, get_issue, list_pull_requests, get_pull_request,
get_file_contents, list_notifications, rate_limit
Write (omitted when GITHUB_READONLY=1): create_issue, add_issue_comment
Responses are trimmed to the useful fields to stay token-efficient.
Resolved in this order (nothing is required at startup):
GITHUB_TOKEN (or GITHUB_PERSONAL_ACCESS_TOKEN). A Personal Access Token; simplest path.github_login, stored at ~/.config/mcp-github/auth.json (0600), auto-refreshed when possible.github_login" message.Device flow needs a public OAuth-App client id (no secret):
export GITHUB_CLIENT_ID=<client id>.github_login → open the printed URL, enter the code, then run github_login again to finish.Tokens are cached locally with 0600 permissions and are never logged.
| Variable | Effect |
|---|---|
GITHUB_TOKEN / GITHUB_PERSONAL_ACCESS_TOKEN | Use this PAT (skips OAuth). |
GITHUB_CLIENT_ID | OAuth App client id for the device-flow login. |
GITHUB_READONLY | 1/true → only read + auth tools are registered. |
# Claude Code (plugin): /plugin marketplace add Abhishekkumar2021/mcp-suite → /plugin install github
# Claude Code (manual):
claude mcp add github --env GITHUB_TOKEN=<pat> -- npx -y @abhishekmcp/github
{
"mcpServers": {
"github": { "command": "npx", "args": ["-y", "@abhishekmcp/github"], "env": { "GITHUB_TOKEN": "<pat>" } }
}
}
MIT
FAQs
MCP server for GitHub — search repos/code/issues, read repos/issues/PRs/files, and create issues, authenticated via OAuth device flow or a token, from any MCP client.
We found that @abhishekmcp/github demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
A new federal program will let vetted U.S. cybersecurity firms help investigate and disrupt foreign cybercrime groups under government direction.

Research
/Security News
The campaign amassed more than 75,000 installs by targeting Russian-speaking users seeking access to blocked services.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.