From cc07dbfca7fb788c70d8a0145d4305cb2e0984b4 Mon Sep 17 00:00:00 2001 From: km-anthropic Date: Thu, 7 Aug 2025 12:13:50 -0700 Subject: [PATCH] fix: remove experimental-review mode reference from MCP config The inline comment server configuration was checking for deprecated 'mode' field. Since review mode is removed in v1.0, this conditional block is no longer needed. --- src/mcp/install-mcp-server.ts | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/mcp/install-mcp-server.ts b/src/mcp/install-mcp-server.ts index 9a87f12..f60ec06 100644 --- a/src/mcp/install-mcp-server.ts +++ b/src/mcp/install-mcp-server.ts @@ -111,23 +111,6 @@ export async function prepareMcpConfig( }; } - // Include inline comment server for experimental review mode - if (context.inputs.mode === "experimental-review" && context.isPR) { - baseMcpConfig.mcpServers.github_inline_comment = { - command: "bun", - args: [ - "run", - `${process.env.GITHUB_ACTION_PATH}/src/mcp/github-inline-comment-server.ts`, - ], - env: { - GITHUB_TOKEN: githubToken, - REPO_OWNER: owner, - REPO_NAME: repo, - PR_NUMBER: context.entityNumber?.toString() || "", - GITHUB_API_URL: GITHUB_API_URL, - }, - }; - } // Only add CI server if we have actions:read permission and we're in a PR context const hasActionsReadPermission =