Skip to content

Commit 9acc424

Browse files
fix(mcp): pass base url to code tool
1 parent bd05467 commit 9acc424

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,10 @@ export async function codeTool() {
3535
headers: {
3636
...(stainlessAPIKey && { Authorization: stainlessAPIKey }),
3737
'Content-Type': 'application/json',
38-
client_envs: JSON.stringify({ BEEPER_ACCESS_TOKEN: readEnv('BEEPER_ACCESS_TOKEN') }),
38+
client_envs: JSON.stringify({
39+
BEEPER_ACCESS_TOKEN: readEnv('BEEPER_ACCESS_TOKEN'),
40+
BEEPER_DESKTOP_BASE_URL: readEnv('BEEPER_DESKTOP_BASE_URL'),
41+
}),
3942
},
4043
body: JSON.stringify({
4144
project_name: 'beeper-desktop-api',

0 commit comments

Comments
 (0)