Skip to main content
Glama
amardiyab

github-mcp-server

by amardiyab

GitHub MCP Server

A Model Context Protocol (MCP) server that exposes GitHub issues, pull requests, and Actions workflows as tools for AI assistants.

Built with TypeScript, Express, and the MCP SDK. Uses SSE transport so it can be connected from Cursor or other MCP clients over HTTP.

Features

Issues

Tool

Description

getIssue

Get a GitHub issue by number

createIssueComment

Create a comment on an issue

updateIssue

Update an issue

listIssues

List issues for a repository

Pull Requests

Tool

Description

getPullRequest

Get a pull request by number

createPullRequestComment

Create a comment on a pull request

updatePullRequest

Update a pull request

listPullRequests

List pull requests for a repository

GitHub Actions

Tool

Description

listActions

List workflow runs for a repository

getActionStatus

Get the status of a workflow run

getActionDetails

Get details of a workflow run

cancelAction

Cancel a workflow run

retryAction

Retry a workflow run

Related MCP server: github-mcp

Prerequisites

Setup

  1. Clone the repository and install dependencies:

pnpm install
  1. Copy the environment template and add your GitHub token:

cp .env.example .env

Edit .env and set GITHUB_TOKEN to your personal access token.

  1. Build the project:

pnpm build

Development

Start the server in watch mode:

pnpm dev

The server listens on port 8080 and exposes:

  • GET /sse — SSE endpoint for MCP client connections

  • POST /messages — Message endpoint for MCP transport

Project Structure

src/
├── main.ts                 # MCP server entry point (SSE transport)
├── tools/
│   ├── index.ts            # Registers all MCP tools
│   ├── issues.ts           # Issue tools
│   ├── pull-requests.ts    # Pull request tools
│   └── actions.ts          # GitHub Actions tools
└── github-functions/
    ├── client.ts           # Shared Octokit client
    ├── types.ts            # Shared types
    ├── issues.ts           # Issue API wrappers
    ├── pull-requests.ts    # Pull request API wrappers
    └── actions.ts          # Actions API wrappers

Scripts

Command

Description

pnpm build

Compile TypeScript to dist/

pnpm dev

Run the server in development mode with hot reload

License

MIT

F
license - not found
-
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.

  • A Model Context Protocol (MCP) application for automated GitHub PR analysis and issue management.…

  • Free public MCP for AI agents — 193 tools, 44 workflows. No API key.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/amardiyab/github-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server