Answer: To configure the local GitHub MCP Server for enterprise using Docker, add a servers configuration with the docker command running ghcr.io/github/github-mcp-server, passing GITHUB_PERSONAL_ACCESS_TOKEN and GITHUB_HOST environment variables. For GitHub Enterprise Server, set GITHUB_HOST to https://YOUR_GHES_HOSTNAME and replace YOUR_GHES_HOSTNAME with your GitHub Enterprise Server hostname. Status: Confirmed Entry: tool/github-copilot/admin-and-enterprise/configure-local-mcp-server-docker Revision: 3 Digest: sha256:73e4f26b1762a2e5 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:25:28Z Last changed: 2026-11-18T12:59:00Z (GHEC data residency host: — → https://YOURSUBDOMAIN.ghe.com) Last verified: 2026-11-20T13:04:28Z Next check: 2026-11-21T13:04:28Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Docker command | docker | [1] | 2026-11-20 Docker image | ghcr.io/github/github-mcp-server | [1] | 2026-11-20 Docker args | run | [1] | 2026-11-20 Token env var | GITHUB_PERSONAL_ACCESS_TOKEN | [1] | 2026-11-20 Host env var | GITHUB_HOST | [1] | 2026-11-20 GHES hostname placeholder | YOUR_GHES_HOSTNAME | [1] | 2026-11-20 GHEC data residency host | https://YOURSUBDOMAIN.ghe.com | [1] | 2026-11-20 Sources: [1] GitHub. "Configuring the GitHub MCP Server for GitHub Enterprise - GitHub Docs". https://docs.github.com/en/copilot/how-tos/copilot-in-your-ide/customize-copilot/extend-copilot-with-tools-and-context/enterprise-configuration Role: primary. Accessed: 2026-11-20T13:04:28Z Quote: ""command": "docker"" (Supports: Docker command) Quote: ""ghcr.io/github/github-mcp-server"" (Supports: Docker image) Quote: ""args": [ "run", "-i", "--rm", "-e", "GITHUB_PERSONAL_ACCESS_TOKEN", "-e", "GITHUB_HOST", "ghcr.io/github/github-mcp-server" ]" (Supports: Docker args) Quote: ""GITHUB_PERSONAL_ACCESS_TOKEN": "${input:github_token}"" (Supports: Token env var) Quote: ""GITHUB_HOST": "https://YOUR_GHES_HOSTNAME"" (Supports: Host env var) Quote: "Replace YOUR_GHES_HOSTNAME with your GitHub Enterprise Server hostname (for example, https://github.example.com )." (Supports: GHES hostname placeholder) Quote: ""GITHUB_HOST": "https://YOURSUBDOMAIN.ghe.com"" (Supports: GHEC data residency host) Snapshot SHA-256: 7770c05abffbdfc3bfc462ff9e9e204e3facae65b72afaa32886cd63f97c52d1 (captured 2026-11-18T12:58:59Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-18T12:59:00Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:04:28Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:04:28Z Last attempt: 2026-11-20T13:04:28Z Notes and limitations: Extracted automatically from a single official source (section "Configuration with Docker"). Related: https://latestn.com/tool/github-copilot/admin-and-enterprise/configure-mcp-allowlist-enterprise How do I configure the MCP allowlist policy for a GitHub Copilot enterprise? https://latestn.com/tool/github-copilot/admin-and-enterprise/configure-mcp-allowlist-organization How do I configure the MCP allowlist policy for a GitHub Copilot organization? https://latestn.com/tool/github-copilot/admin-and-enterprise/configure-mcp-registry How do I set up an MCP registry for my GitHub Copilot organization or enterprise? https://latestn.com/tool/github-copilot/admin-and-enterprise/configure-automatic-code-review How do I configure automatic code review with GitHub Copilot in my enterprise? https://latestn.com/tool/github-copilot/admin-and-enterprise/configure-code-review-runners How do I configure runners for GitHub Copilot code review? https://latestn.com/tool/github-copilot/admin-and-enterprise/configure-default-runner-type How do I configure the default runner type for GitHub Copilot cloud agent in my organization? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-18T12:59:00Z | changed | GHEC data residency host: — → https://YOURSUBDOMAIN.ghe.com | [1] 2026-11-18T12:59:00Z | changed | GHES hostname placeholder: — → YOUR_GHES_HOSTNAME | [1] 2026-11-18T12:59:00Z | changed | Host env var: — → GITHUB_HOST | [1] 2026-11-18T12:59:00Z | changed | Token env var: — → GITHUB_PERSONAL_ACCESS_TOKEN | [1] 2026-11-18T12:59:00Z | changed | Host environment variable: GITHUB_HOST → — | [1] 2026-11-18T12:59:00Z | changed | Token environment variable: GITHUB_PERSONAL_ACCESS_TOKEN → — | [1] 2026-11-18T12:59:00Z | changed | GitHub Enterprise Cloud host placeholder: https://YOURSUBDOMAIN.ghe.com → — | [1] 2026-11-18T12:59:00Z | changed | GitHub Enterprise Server host placeholder: https://YOUR_GHES_HOSTNAME → — | [1] 2026-11-16T12:48:14Z | changed | GitHub Enterprise Cloud host placeholder: — → https://YOURSUBDOMAIN.ghe.com | [1] 2026-11-16T12:48:14Z | changed | GitHub Enterprise Server host placeholder: — → https://YOUR_GHES_HOSTNAME | [1] 2026-11-16T12:48:14Z | changed | Docker args: — → run | [1] 2026-11-16T12:48:14Z | changed | GHEC data residency host placeholder: https://YOURSUBDOMAIN.ghe.com → — | [1] 2026-11-16T12:48:14Z | changed | GHES hostname placeholder: YOUR_GHES_HOSTNAME → — | [1] 2026-11-13T03:25:28Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/github-copilot/admin-and-enterprise/configure-local-mcp-server-docker/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/github-copilot/admin-and-enterprise/configure-local-mcp-server-docker POST: https://latestn.com/dispute/tool/github-copilot/admin-and-enterprise/configure-local-mcp-server-docker with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/github-copilot/admin-and-enterprise/configure-local-mcp-server-docker?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I configure the local GitHub MCP Server for enterprise using Docker? Revision 3, last verified 2026-11-20T13:04:28Z. https://latestn.com/tool/github-copilot/admin-and-enterprise/configure-local-mcp-server-docker (accessed 2026-11-21T09:58:07Z). @misc{LatestN_tool_github_copilot_admin_and_enterprise_configure_local_mcp_server_docker_r3, title = {How do I configure the local GitHub MCP Server for enterprise using Docker?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/github-copilot/admin-and-enterprise/configure-local-mcp-server-docker}}, note = {Revision 3; digest sha256:73e4f26b1762a2e5; last verified 2026-11-20T13:04:28Z; accessed 2026-11-21T09:58:07Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/github-copilot/admin-and-enterprise/configure-local-mcp-server-docker