This commit is contained in:
Ashwin Bhat
2025-06-02 09:42:12 -07:00
parent 23a694ae90
commit 547eb3464c
4 changed files with 55 additions and 21 deletions

View File

@@ -9,8 +9,17 @@ type PrepareConfigParams = {
claudeCommentId?: string;
};
export async function prepareMcpConfig(params: PrepareConfigParams): Promise<string> {
const { githubToken, owner, repo, branch, additionalMcpConfig, claudeCommentId } = params;
export async function prepareMcpConfig(
params: PrepareConfigParams,
): Promise<string> {
const {
githubToken,
owner,
repo,
branch,
additionalMcpConfig,
claudeCommentId,
} = params;
try {
const baseMcpConfig = {
mcpServers: {