github-mcp-server
Provides tools for managing issues and pull requests on GitHub repositories.
Provides tools for listing, monitoring, canceling, and retrying GitHub Actions workflow runs.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
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 |
| Get a GitHub issue by number |
| Create a comment on an issue |
| Update an issue |
| List issues for a repository |
Pull Requests
Tool | Description |
| Get a pull request by number |
| Create a comment on a pull request |
| Update a pull request |
| List pull requests for a repository |
GitHub Actions
Tool | Description |
| List workflow runs for a repository |
| Get the status of a workflow run |
| Get details of a workflow run |
| Cancel a workflow run |
| Retry a workflow run |
Related MCP server: GitHub MCP Server
Prerequisites
Setup
Clone the repository and install dependencies:
pnpm installCopy the environment template and add your GitHub token:
cp .env.example .envEdit .env and set GITHUB_TOKEN to your personal access token.
Build the project:
pnpm buildDevelopment
Start the server in watch mode:
pnpm devThe server listens on port 8080 and exposes:
GET /sse— SSE endpoint for MCP client connectionsPOST /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 wrappersScripts
Command | Description |
| Compile TypeScript to |
| Run the server in development mode with hot reload |
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
GitHub Copilot MCP: code, repo, PR, workflow tools for AI assistants.
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Operate GitHub from your AI assistant: repos, PRs, issues, Actions. Previews and read-only mode.
Zero-setup MCP gateway securely connecting AI to your tools with authentication and workflows
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with GitHub via MCP, managing repositories, issues, PRs, and analyzing repository health through tools like list_repositories, read_issues, create_issue, comment_on_pr, and analyze_repo_health.-
- AlicenseNot gradedqualityCmaintenanceEnables MCP-compatible AI clients to manage GitHub repositories and issues and trigger repository dispatch events via tools and a REST API.MIT
- FlicenseNot gradedqualityBmaintenanceEnables AI agents to interact with GitHub repositories and issues through MCP tools, supporting listing repositories, listing and searching issues, and retrieving specific issues via the GitHub REST API.-
- FlicenseNot gradedqualityCmaintenanceEnables AI clients such as Cursor to interact with GitHub repositories and perform issue listing, triage, health checks, prioritization, commenting, weekly digests, and release-note generation through purpose-built MCP tools.-