ibmkevin

github-mcp-server

Community ibmkevin
Updated

MCP server exposing GitHub utility tools: search repos, list issues, read file contents

github-mcp-server

A lightweight Model Context Protocol (MCP) server that exposes three GitHub utility tools to AI agents (such as IBM Bob).

Tools

Tool Description
search_repositories Search GitHub repos by keyword — returns name, description, URL, stars, forks, language
list_issues List issues for any public (or accessible private) repo — filter by state and labels
read_file_contents Read the raw text of any file in a repo — specify an optional branch/tag/commit ref

Requirements

Installation

git clone https://github.com/kevinshim/github-mcp-server.git
cd github-mcp-server
npm install
npm run build

Usage

Start the server manually (for testing):

GITHUB_TOKEN=ghp_your_token node build/index.js

Register with IBM Bob

Add the following to your Bob mcp.json (global: ~/.bob/mcp.json, or workspace: .bob/mcp.json):

{
  "mcpServers": {
    "github-mcp-server": {
      "command": "node",
      "args": ["/absolute/path/to/github-mcp-server/build/index.js"],
      "env": {
        "GITHUB_TOKEN": "ghp_your_token_here"
      }
    }
  }
}

Replace /absolute/path/to/github-mcp-server with the actual path on your machine.

Example prompts (inside Bob)

Search for TypeScript MCP server repositories with more than 100 stars.

List the open bug issues in IBM/galaxium-travels.

Read the contents of src/index.ts from my-org/my-repo on branch main.

Project structure

github-mcp-server/
├── src/
│   └── index.ts        # Server implementation
├── build/              # Compiled output (generated by npm run build)
├── package.json
├── tsconfig.json
└── README.md

License

MIT

MCP Server · Populars

MCP Server · New

    lyc403223157-source

    Knowledge Inbox

    Local-first knowledge ingestion for AI agents and Obsidian

    ipiton

    agent-memory-mcp

    MCP server that gives AI agents persistent memory with semantic search

    Community ipiton
    dialog-tools

    Dialog MCP Server

    Turn Reddit's chaos into structured insights with full citations. MCP server for competitive analysis, customer discovery, and market research. Zero-setup hosted solution with semantic search across 20,000+ subreddits.

    Community dialog-tools
    Bevel-Software

    hexis

    Git-backed skills, tools & context for AI agents

    Community Bevel-Software
    jonashertner

    OpenCaseLaw

    Open Swiss legal corpus + MCP server: 1M+ court decisions (1875–today), 21k laws, 10M-edge citation graph, 42 MCP tools. CC0 data, MIT code. Live at mcp.opencaselaw.ch

    Community jonashertner