GitHub MCP Server
Provides tools for interacting with the GitHub API, allowing AI agents to list and retrieve repository information and other GitHub data.
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 Serverlist repositories for user nilesh-singh-me"
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.
MCP Servers Monorepo
This repository is a monorepo for Model Context Protocol (MCP) servers, using pnpm workspaces. It currently contains the GitHub MCP Server, which provides tools to interact with GitHub using an AI agent.
Setup
Install Dependencies Run the following command at the root of the repository to install all required dependencies:
pnpm installConfigure Environment Variables The GitHub MCP server requires a Personal Access Token (PAT) to interact with the GitHub API.
Navigate to the GitHub app directory and create your
.envfile:cd apps/github-mcp cp .env.example .envOpen the
.envfile and replaceyour_personal_access_token_herewith your actual GitHub PAT. You can generate one from your GitHub Developer Settings. Make sure it hasrepoaccess.
Related MCP server: GitHub Integration Hub
Running the Server
You can run the server directly (it will run on stdio and wait for JSON-RPC messages):
pnpm run dev(Note: Running this command directly won't give you interactive feedback, as it's designed to be consumed by an AI client.)
Debugging and Testing (MCP Inspector)
To test the MCP tools interactively, you can use the official MCP Inspector. We have set up a convenient script that runs the inspector without polluting the standard output with pnpm logs.
From the root of the repository, run:
pnpm run inspectorHow to use the Inspector:
The command will output a local URL (e.g.,
http://localhost:5173).Open that URL in your browser.
Click the Connect button in the top right corner.
You will see a list of tools (like
listRepositories,getRepository, etc.).Click on a tool, enter the arguments (e.g.,
nilesh-singh-mefor theownerfield), and click Run Tool to see the live data fetched from GitHub!
Project Structure
apps/github-mcp/: The GitHub MCP server implementation.src/tools/: Contains individual files for each tool (schemas and handlers).src/index.ts: The main entrypoint that registers the tools and starts the server.src/config.ts: Configuration loader (handles.env).src/github.ts: The Octokit GitHub client setup.
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
- Flicense-qualityDmaintenanceEnables access to GitHub repositories and data through the GitHub API. Supports retrieving repositories, issues, pull requests, and searching code across GitHub with authentication via personal access tokens.Last updated
- Flicense-qualityDmaintenanceEnables AI agents to interact with GitHub through OAuth-authenticated operations including starting authorization flows, listing repositories, and creating issues using stored access tokens.Last updated1
- AlicenseAquality-maintenanceEnables AI agents to interact with GitHub repositories through the GitHub REST API for managing files, issues, and repository metadata. It supports both read operations like searching code and write operations such as creating repositories and updating issue comments.Last updated9
- Alicense-qualityBmaintenanceEnables AI agents to manage GitHub repositories, branches, issues, pull requests, releases, and actions through natural language.Last updated2005MIT
Related MCP Connectors
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Connect AI assistants to your GitHub-hosted Obsidian vault to seamlessly access, search, and analy…
Give your agent live data from Twitter, Reddit, the web and GitHub. No API keys, no scraping stack.
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/nilesh-singh-me/mcp-servers'
If you have feedback or need assistance with the MCP directory API, please join our Discord server