GitHub MCP Server
Provides tools to interact with the GitHub API, including retrieving authenticated user info, repository metadata, file contents, listing issues, and creating issues.
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 the metadata for the repo 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 (Streamable HTTP, stateless)
TypeScript MCP server that exposes 5 GitHub tools over stateless Streamable HTTP.
No sessions / no mcp-session-id — each POST is independent (good for gateways and multi-instance deploy).
The GitHub access-token header is required only for tools/call.initialize, tools/list, and other discovery methods work without a token.
Tools
Tool | Description |
| Authenticated user for the token |
| Repository metadata ( |
| File or directory contents ( |
| List issues (PRs filtered out) |
| Create an issue ( |
Related MCP server: @cloud9-labs/mcp-github
Requirements
Node.js 18+
A GitHub personal access token (classic or fine-grained) with the scopes your tools need
Read tools:
repo(or public-only fine-grained read)create_issue: issues write on the target repo
Setup
npm install
npm run build
npm startDev (no build step):
npm run devDocker
docker build -t github-mcp .
docker run --rm -p 3000:3000 github-mcpMCP endpoint: http://localhost:3000/mcp.
Server listens on http://localhost:3000/mcp (override with PORT).
Authentication
MCP method |
|
| No |
| Yes |
On tool calls, send a GitHub personal access token:
access-token: ghp_your_token_hereAlternatively:
Authorization: Bearer ghp_your_token_hereMissing token on tools/call → 401 JSON-RPC error.
Client configuration
Point any Streamable HTTP MCP client at:
http://localhost:3000/mcpSend the GitHub token on tool-call requests (many clients set it for all requests to the server):
{
"mcpServers": {
"github": {
"url": "http://localhost:3000/mcp",
"headers": {
"access-token": "ghp_your_token_here"
}
}
}
}(Exact client config shape depends on the client.)
Health check
curl http://localhost:3000/healthProject layout
src/
index.ts # Express + stateless Streamable HTTP (POST only), access-token middleware
server.ts # McpServer factory
tools.ts # 5 tool registrations
github.ts # GitHub REST client
context.ts # AsyncLocalStorage for per-request tokenLicense
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
Remote MCP server exposing SMI Aware tools, resources, and skills over Streamable HTTP.
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
AI Reasoning Cache & Consensus Layer with 11 MCP tools via Streamable HTTP.
Streamable HTTP MCP server for Google Calendar and Sheets with OAuth login.
Related MCP Servers
- FlicenseNot gradedqualityNot gradedmaintenanceA context-efficient GitHub MCP server designed for AI agents to manage repositories, issues, pull requests, and actions directly via cloud workflows. It focuses on a compact tool surface to minimize context waste while providing comprehensive read and write coverage without requiring a local Git CLI.-
- AlicenseBqualityDmaintenanceMCP (Model Context Protocol) server for GitHub API integration. This server provides comprehensive tools for interacting with GitHub repositories, issues, pull requests, branches, and code search through a unified interface.1514MIT
- FlicenseNot gradedqualityBmaintenanceA lightweight MCP server that exposes GitHub operations as tools over HTTP, enabling any MCP-compatible client to interact with GitHub repositories without a built-in connector.1-
- AlicenseAqualityCmaintenanceA lightweight MCP server that enables fetching public GitHub user profiles, repository stats, recent events, and pull request insights through simple tool calls.21181MIT
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/piyushgithub15/github-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server