Github

io.github.davidweb3-ctrlPublished by GitHub account davidweb3-ctrlv1.0.0Updated Oct 24, 2026

GitHub MCP Server - List PRs, issues, repo info, and search code

VerifiedSTDIODesktop onlyWeb Search & ScrapingDeveloper Tools

Overview

AI-generated overview

A local MCP server that lets an AI assistant read GitHub repositories: list and view pull requests and issues, get repo info, and search code.

What you can do
List and view pull requests, with filters for state, head and base branch, sorting and paging, and optionally include the diff of a single PR. List and view issues, filtering by state, labels, assignee and creator, and optionally include comments. Get repository information and statistics for a given owner and repo. Search code across GitHub using GitHub code search syntax, with sorting and paging.
When to use it
Useful when you want an assistant to look up GitHub activity while working: reviewing open pull requests, reading an issue thread, checking repository metadata, or finding code examples across GitHub. It is read-only, so it suits inspection and research rather than making changes to repositories.
Requirements
Runs as a local process via npm (npx or a global install). Requires a GitHub Personal Access Token supplied in the GITHUB_TOKEN environment variable, and network access to the GitHub API.
Before you install
The server needs a GitHub Personal Access Token in GITHUB_TOKEN; scope it as narrowly as possible, since its permissions govern what the assistant can reach. Queries and results are sent to the GitHub API. The listed tools only read data, but the token itself is a credential to protect.

Installation

In SourceWeft

  1. Open Github in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

GitHub MCP Server

[npm version] [License: MIT]

A Model Context Protocol (MCP) server for GitHub operations. This server enables AI assistants to interact with GitHub repositories through a standardized interface.

Features

  • 🔍 List & View Pull Requests - Browse PRs with filtering options
  • 📋 List & View Issues - Access issues with labels, assignees, and comments
  • 📊 Repository Info - Get repository statistics and metadata
  • 🔎 Code Search - Search code across GitHub repositories

Installation

bash
npm install -g @bountyclaw/mcp-github-server

Configuration

Set your GitHub token as an environment variable:

bash
export GITHUB_TOKEN=your_github_token_here

Or pass it when creating the client programmatically.

Usage with Claude Code

Add to your Claude Code MCP settings:

json
{  "mcpServers": {    "github": {      "command": "npx",      "args": ["-y", "@bountyclaw/mcp-github-server"],      "env": {        "GITHUB_TOKEN": "your_github_token_here"      }    }  }}

Available Tools

1. github_pr_list

List pull requests for a repository.

Input:

  • owner (string, required): Repository owner
  • repo (string, required): Repository name
  • state (enum, optional): Filter by state (open, closed, all)
  • head (string, optional): Filter by head branch
  • base (string, optional): Filter by base branch
  • sort (enum, optional): Sort field
  • direction (enum, optional): Sort direction
  • per_page (number, optional): Results per page (max 100)
  • page (number, optional): Page number

2. github_pr_view

View details of a specific pull request.

Input:

  • owner (string, required): Repository owner
  • repo (string, required): Repository name
  • pull_number (number, required): PR number
  • include_diff (boolean, optional): Include diff content

3. github_issue_list

List issues for a repository.

Input:

  • owner (string, required): Repository owner
  • repo (string, required): Repository name
  • state (enum, optional): Filter by state
  • labels (string, optional): Comma-separated label names
  • assignee (string, optional): Filter by assignee
  • creator (string, optional): Filter by creator
  • sort (enum, optional): Sort field
  • direction (enum, optional): Sort direction
  • per_page (number, optional): Results per page
  • page (number, optional): Page number

4. github_issue_view

View details of a specific issue.

Input:

  • owner (string, required): Repository owner
  • repo (string, required): Repository name
  • issue_number (number, required): Issue number
  • include_comments (boolean, optional): Include comments

5. github_repo_info

Get repository information and statistics.

Input:

  • owner (string, required): Repository owner
  • repo (string, required): Repository name

6. github_search_code

Search code across GitHub.

Input:

  • query (string, required): Search query (GitHub code search syntax)
  • sort (enum, optional): Sort field (indexed, best-match)
  • order (enum, optional): Sort order
  • per_page (number, optional): Results per page
  • page (number, optional): Page number

Example Queries

"List open PRs in facebook/react""Show me issue #123 in microsoft/vscode""Get info about the kubernetes/kubernetes repo""Search for 'useEffect' in TypeScript files"

Development

bash
# Install dependenciesnpm install
# Buildnpm run build
# Run testsnpm test
# Run tests with coveragenpm run test:coverage
# Lintnpm run lint
# Formatnpm run format

Testing

The project includes comprehensive unit tests with 90%+ coverage:

  • GitHub API client tests
  • Tool handler tests for all 6 tools
  • Error handling tests
  • Input validation tests
bash
npm test

License

MIT License - see LICENSE file for details.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.


Built with 🦞 by BountyClaw

Source: README.md at commit 361f6bc

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v1.0.0LatestSep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts