From af32fd318a5746954afb2190f98f055799d46e72 Mon Sep 17 00:00:00 2001 From: Ashwin Bhat Date: Tue, 29 Jul 2025 11:51:20 -0700 Subject: [PATCH] =?UTF-8?q?Revert=20"feat:=20add=20GITHUB=5FHOST=20to=20gi?= =?UTF-8?q?thub-mcp-server=20for=20GitHub=20Enterprise=20Serv=E2=80=A6"=20?= =?UTF-8?q?(#359)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit e07ea013bd13b5c183d3314c6070fab61daec759. --- src/mcp/install-mcp-server.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/mcp/install-mcp-server.ts b/src/mcp/install-mcp-server.ts index c8cb125..35bb94c 100644 --- a/src/mcp/install-mcp-server.ts +++ b/src/mcp/install-mcp-server.ts @@ -1,5 +1,5 @@ import * as core from "@actions/core"; -import { GITHUB_API_URL, GITHUB_SERVER_URL } from "../github/api/config"; +import { GITHUB_API_URL } from "../github/api/config"; import type { ParsedGitHubContext } from "../github/context"; import { Octokit } from "@octokit/rest"; @@ -157,12 +157,9 @@ export async function prepareMcpConfig( "-e", "GITHUB_PERSONAL_ACCESS_TOKEN", "ghcr.io/github/github-mcp-server:sha-efef8ae", // https://github.com/github/github-mcp-server/releases/tag/v0.9.0 - "-e", - "GITHUB_HOST", ], env: { GITHUB_PERSONAL_ACCESS_TOKEN: githubToken, - GITHUB_HOST: GITHUB_SERVER_URL, }, }; }