MCP servers · Developer tools
GitHub MCP server: connect AI agents to GitHub from the EU
GitHub maintains an official, open-source MCP server, available as a remote server hosted by GitHub or as a local binary. It gives agents tools for repositories, issues, pull requests, Actions, code security and more, grouped into toolsets you can switch on and off. inference.eu agents connect to it with OAuth or a personal access token.
- 01Authentication: OAuth
- 02Official server
- 03EU data centres
What agents can do with it
- 1
Repositories, code and commits
Read files with `get_file_contents`, search code and repositories, list branches, commits and releases, and create or update files and branches when write tools are enabled.
- 2
Issues and pull requests
Read, create and update issues and comments, search across repositories, open pull requests, read diffs and changed files, and add reviews, using the `issues` and `pull_requests` toolsets.
- 3
Actions, security and projects
Inspect workflow runs and job logs, rerun failed jobs, read code scanning, secret scanning and Dependabot alerts, and work with Projects, Discussions and notifications through optional toolsets.
What GitHub and its MCP server are
GitHub, owned by Microsoft and based in San Francisco, hosts source code, issues and CI pipelines for most software teams. Its official MCP server, github/github-mcp-server, is written in Go and published under the MIT licence.
It comes in two forms. The remote server at https://api.githubcopilot.com/mcp/ is hosted by GitHub and uses Streamable HTTP. The local server runs from a Docker image or binary over stdio, and is the option for GitHub Enterprise Server. Toolsets such as repos, issues, pull_requests, actions and code_security control which tools the agent sees.
What agents can do with GitHub
A triage agent can read new issues each morning, label them, find duplicates and ask reporters for missing details. A review agent can summarise a pull request's diff, point out risky changes and leave a review comment for the author.
When a build fails, an agent can read the failed job's logs, explain the error and propose a fix in a new branch. Security teams can ask for open code scanning and Dependabot alerts across repositories and get a prioritised list with links.
Setup and authentication
On inference.eu, add the GitHub connector to an agent and sign in with GitHub through OAuth; the agent then acts as you, within your repository permissions. For automation accounts, you can instead paste a fine-grained personal access token limited to selected repositories and permissions.
Tokens are stored encrypted in the EU and only reach the agents you allow. Pick the toolsets each agent needs; fewer tools also help the model choose correctly. Read-only mode removes every write tool, even if a toolset includes one.
Data protection and where the data goes
With the remote server, requests go to GitHub's own MCP endpoint and from there to the GitHub API, so your code and issues stay with GitHub, a US company, as they do today. With the local server, the process calls the GitHub API directly.
On inference.eu, the model that reads code and issues runs in EU data centres, and your OAuth token or access token is stored encrypted in the EU. Source code may contain secrets or personal data in comments and test fixtures, so scope access to the repositories an agent works on.
Approvals and safe use
Public issues and pull requests can contain text written to manipulate an agent. GitHub's lockdown mode filters content from authors without push access on public repositories, which reduces that risk. Read-only mode is the safest start for analysis agents.
On inference.eu you can require a person to approve write calls, such as merging a pull request, pushing files, closing issues or rerunning workflows, while reads run freely. Use separate tokens per agent and rotate them, so access can be withdrawn without affecting other work.
GitHub: common questions
The questions buyers, developers and legal teams ask us most. Something missing? Ask us directly.
Related
- LinearConnect inference.eu agents to Linear's official MCP server to find, create and update issues, projects and comments, with a read-only option.Developer tools
- Atlassian (Jira and Confluence)Connect inference.eu agents to Atlassian's official MCP server for Jira, Confluence and more. Search, read and update issues and pages within user permissions.Developer tools
- SlackConnect inference.eu agents to Slack's official MCP server. Search messages and files, read channels and threads, post updates and edit canvases with admin approval.Communication
- n8nConnect inference.eu agents to n8n's built-in MCP server to search and run the workflows you expose, and build workflows and data tables, with approvals.Automation
Move your AI workloads to EU infrastructure
Tell us which models you use and roughly how much traffic you have. We reply within one working day with pricing and next steps.
- Reply within one working day
- Pricing for your volume
- DPA ready to sign