Skip to content

Commit fb27b61

Browse files
fix(mcp): add client instantiation options to code tool
1 parent 2c2f1f7 commit fb27b61

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/mcp-server/src/code-tool.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ export async function codeTool() {
4444
},
4545
body: JSON.stringify({
4646
project_name: 'finch',
47+
client_opts: { accessToken: readEnv('FINCH_ACCESS_TOKEN') },
4748
code,
4849
}),
4950
});

0 commit comments

Comments
 (0)