BASE

GitHub MCP Server

GitHub MCP Server

MCP tools for developers · Free

The official GitHub MCP server for reading repositories, pull requests, issues, and workflows, with a choice of toolsets and access modes.

Also known as: github/github-mcp-server

Resource illustration: GitHub MCP Server

Open resource ↗

What you can use for free

You can use the code under the stated license; servers, APIs, and compute must be provided separately.

Paid features and costs

The GitHub plan, paid platform features, and LLM are not included in the server license.

Access and limitations

You can use the code under the stated license; servers, APIs, and compute must be provided separately. The GitHub plan, paid platform features, and LLM are not included in the server license.

Use cases

  • Limit the toolsets and start by reading issues or a pull request.
  • Compare the response with GitHub and authorize any required write separately.

Example workflow

A possible workflow; this is not a report of hands-on testing.

Check pull request context without changing GitHub.

Before you start

  • A test repository and pull request number.
  • Read authorization and an MCP client.

Steps

  1. Configure the required toolsets and read-only mode.
  2. Request the selected pull request’s description and diff.
  3. Compare substantive findings with GitHub files and data.

Check your result

  • The required repository and PR are identified correctly.
  • Write tools are absent in the chosen mode.

Choosing GitHub MCP Server

Give an agent tools for working with GitHub repositories, issues, and pull requests.

Choose this when

  • You need context for a pull request and related issues.
  • You want to limit the GitHub actions available to an agent.

Consider alternatives when

  • Git is sufficient for a local diff; GitHub CLI suits a reproducible operation.

Requirements

  • A compatible MCP client and configured authorization; the local option requires a supported server launch method.

Things to consider

  • Token permissions and chosen toolsets determine access.
  • The server’s read-only mode must be explicitly configured.

Frequently asked questions

Can I connect read access only?

Yes. The server supports a read-only mode that excludes write tools; authorization permissions should also be limited.

Related tasks and approaches

License

MIT for the code and instructions in this repository; integrated products have separate licenses.

MIT — permissive license

You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.

License terms

Technologies and topics

  • GitHub MCP Server
  • github
  • MCP

Sources

Other resources