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 Dev Copilot
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. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
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 Connectors
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Zero-setup MCP gateway securely connecting AI to your tools with authentication and workflows
Access the GitHub API, enabling file operations, repository management, search functionality, and…
MCP server connecting AI agents to 100+ apps (Gmail, Slack, Notion, GitHub) via one-click OAuth.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI-powered GitHub interactions including repository analysis, code search, PR reviews, and more through the MCP protocol.4MIT
- FlicenseNot gradedqualityCmaintenanceEnables 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 AI assistants to programmatically manage GitHub Project V2 boards with 100+ tools for issues, fields, workflows, and automation via MCP.MIT
- AlicenseNot gradedqualityBmaintenanceEnables MCP-compatible AI clients to manage GitHub repositories and issues and trigger repository dispatch events via tools and a REST API.MIT
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