only install comment server in tag mode

This commit is contained in:
Ashwin Bhat
2025-08-08 08:22:29 -07:00
parent aeda2d62c0
commit af398fcc95

View File

@@ -73,6 +73,7 @@ export async function prepareMcpConfig(
};
// Always include comment server for updating Claude comments
if (context.inputs.mode === "tag") {
baseMcpConfig.mcpServers.github_comment = {
command: "bun",
args: [
@@ -88,6 +89,7 @@ export async function prepareMcpConfig(
GITHUB_API_URL: GITHUB_API_URL,
},
};
}
// Include file ops server when commit signing is enabled
if (context.inputs.useCommitSigning) {