GitHub MCP Server
Allows interaction with GitHub repositories, enabling search, retrieval, and creation of issues and pull requests via the GitHub API.
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 ServerSearch for issues labeled 'bug' in the 'my-repo' repository."
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 provides an LLM agent with tools to read and write to GitHub repositories. Built for the Flipkart Grid 8.0 application.
Architecture Overview
This server uses the official Python mcp SDK (FastMCP) to establish a standardized JSON-RPC communication channel over stdio. It securely integrates with the GitHub API using PyGithub and enforces strict input validation via Pydantic.
sequenceDiagram
participant LLM as LLM Client (e.g. Claude)
participant MCP as FastMCP Server (Python)
participant GitHub as GitHub API
LLM->>MCP: Request tool call (e.g., search_issues)
Note over MCP: Validates Inputs (Pydantic Schema)
MCP->>GitHub: Authenticated REST API Call
GitHub-->>MCP: Raw JSON Response
Note over MCP: Formats and limits data (Context saving)
MCP-->>LLM: JSON-RPC Tool ResultRelated MCP server: GitHub MCP Server
Setup & Testing
Create a virtual environment and install dependencies:
python -m venv venv .\venv\Scripts\activate pip install -r requirements.txtCreate a
.envfile and add your GitHub Personal Access Token (PAT):GITHUB_TOKEN=github_pat_xxxxTest locally using the official MCP Inspector:
.\start_inspector.bat
Available Tools
search_issues(repo, query): Search for open issues/PRs in a specific repository.get_issue_details(repo, issue_number): Get the full body and latest 5 comments of a specific issue.create_issue(repo, title, body): Create a new issue (requires write permissions). Strict validation enforces minimum character lengths.
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.
Latest Blog Posts
- 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/decuma02/github-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server