Skip to main content
Glama
nilesh-singh-me

GitHub MCP Server

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

  1. Install Dependencies Run the following command at the root of the repository to install all required dependencies:

    pnpm install
  2. Configure 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 .env file:

    cd apps/github-mcp
    cp .env.example .env

    Open the .env file and replace your_personal_access_token_here with your actual GitHub PAT. You can generate one from your GitHub Developer Settings. Make sure it has repo access.

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 inspector

How to use the Inspector:

  1. The command will output a local URL (e.g., http://localhost:5173).

  2. Open that URL in your browser.

  3. Click the Connect button in the top right corner.

  4. You will see a list of tools (like listRepositories, getRepository, etc.).

  5. Click on a tool, enter the arguments (e.g., nilesh-singh-me for the owner field), 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.

A
license - permissive license
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

View all related MCP servers

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.

View all MCP Connectors

Latest Blog Posts

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