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.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@github-mcp-servershow me open PRs in octocat/Hello-World"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
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
This server cannot be installed
Maintenance
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
- AlicenseBqualityAmaintenanceMCP server that exposes GitHub operations as tools for AI agents, enabling code search, issue management, and PR review.12MIT
- Alicense-qualityDmaintenanceEnables AI assistants to interact with GitHub repositories, issues, pull requests, and content via the Model Context Protocol.1MIT
- Alicense-qualityDmaintenanceEnables AI-powered GitHub interactions including repository analysis, code search, PR reviews, and more through the MCP protocol.4MIT
- Flicense-qualityBmaintenanceEnables AI assistants to perform GitHub operations such as creating repositories, issues, pull requests, and more through natural language.
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.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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