mcpField
M
Mcp Server Github

Mcp Server Github

Remote
github.com/kogunlowo123Version Control0Updated 29w ago
Repository

About Mcp Server Github

Mcp Server Github exposes GitHub API operations for teams and developers working with repositories and project automation. Its tools cover repository data, issues, pull requests, code search, branches, and Actions workflows.

Key features

  1. 01List repositories
  2. 02Create issues
  3. 03List pull requests
  4. 04Read file contents
  5. 05Search code
  6. 06Manage branches and Actions workflows

Use cases

  1. 01Review repository and pull request information
  2. 02Create issues with labels or assignees
  3. 03Find code across GitHub repositories
  4. 04Inspect workflow runs

MCP support

An MCP server exposing GitHub API tools to MCP clients. It requires a GitHub personal access token in GITHUB_TOKEN.

Configuration

Remote servers need no local install. Pick your client, then copy the config or install in one click.

Endpointhttps://github.com/kogunlowo123/mcp-server-aws
Copy install command
Claude CodeTerminal
Cursor.cursor/mcp.json
VS Code.vscode/mcp.json
Claude Desktopclaude_desktop_config.json
Windsurf~/.codeium/windsurf/mcp_config.json

Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.

All endpoints
Streamable HTTPhttps://github.com/kogunlowo123/mcp-server-aws
Streamable HTTPhttps://github.com/kogunlowo123/mcp-server-azure
Streamable HTTPhttps://github.com/kogunlowo123/mcp-server-terraform
Streamable HTTPhttps://github.com/kogunlowo123/mcp-server-kubernetes
Streamable HTTPhttps://github.com/kogunlowo123/mcp-server-devops
Streamable HTTPhttps://github.com/kogunlowo123/mcp-server-github
Streamable HTTPhttps://github.com/kogunlowo123/mcp-server-database
Streamable HTTPhttps://github.com/kogunlowo123/mcp-server-vector-db

Tools

Details

From the project README

mcp-server-github

An MCP (Model Context Protocol) server that provides tools for interacting with the GitHub API, including repositories, issues, pull requests, code search, branches, and GitHub Actions workflows.

Architecture

graph TB
    subgraph Client
        style Client fill:#4A90D9,stroke:#2E6BA6,color:#FFFFFF
        MCP_Client["MCP Client"]
    end

    subgraph Server["mcp-server-github"]
        style Server fill:#2ECC71,stroke:#1A9B52,color:#FFFFFF
        Index["index.ts<br/>MCP Server Entry"]
        subgraph Tools
            style Tools fill:#F39C12,stroke:#C67D0A,color:#FFFFFF
            T1["list_repos"]
            T2["create_issue"]
            T3["list_pull_requests"]
            T4["get_file_contents"]
            T5["search_code"]
            T6["create_branch"]
            T7["list_workflows"]
            T8["get_workflow_runs"]
        end
    end

    subgraph External["GitHub API"]
        style External fill:#24292E,stroke:#1B1F23,color:#FFFFFF
        Repos["Repos API"]
        Issues["Issues API"]
        PRs["Pull Requests API"]
        Contents["Contents API"]
        Search["Search API"]
        Git["Git Refs API"]
        Actions["Actions API"]
    end

    MCP_Client -- "stdio transport" --> Index
    Index --> T1 & T2 & T3 & T4 & T5 & T6 & T7 & T8
    T1 --> Repos
    T2 --> Issues
    T3 --> PRs
    T4 --> Contents
    T5 --> Search
    T6 --> Git
    T7 --> Actions
    T8 --> Actions

Installation

npm install
npm run build

Configuration

VariableDescriptionRequired
GITHUB_TOKENGitHub personal access tokenYes

Usage

Standalone
GITHUB_TOKEN=ghp_xxxx npm start
Development
npm run dev
Docker
docker build -t mcp-server-github .
docker run -e GITHUB_TOKEN=ghp_xxxx mcp-server-github
MCP Client Configuration
{
  "mcpServers": {
    "github": {
      "command": "node",
      "args": ["dist/index.js"],
      "env": {
        "GITHUB_TOKEN": "ghp_xxxx"
      }
    }
  }
}

Tool Reference

ToolDescriptionParameters
list_reposList repositoriesowner?, type?, sort?
create_issueCreate an issueowner, repo, title, body?, labels?, assignees?
list_pull_requestsList pull requestsowner, repo, state?, sort?
get_file_contentsGet file contentsowner, repo, path, ref?
search_codeSearch codequery, per_page?
create_branchCreate a branchowner, repo, branch, from_branch?
list_workflowsList workflowsowner, repo
get_workflow_runsGet workflow runsowner, repo, workflow_id, status?

License

MIT

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.