Skip to content

Commit c8c901e

Browse files
committed
fix: use correct MCP config format per client
- Windsurf: use `serverUrl` key (per Windsurf docs) - JetBrains: use `url` key (per JetBrains AI Assistant docs) - Android Studio: use `httpUrl` key (per Android Studio docs) Signed-off-by: Mohammod Al Amin Ashik <maa.ashik00@gmail.com>
1 parent 3106523 commit c8c901e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

apps/desktop/src/components/ConnectIDEs.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export function ConnectIDEs({ gatewayUrl, gatewayRunning }: ConnectIDEsProps) {
5555
label: 'Windsurf',
5656
icon: windsurfIcon,
5757
action: 'copy_config',
58-
handler: `"mcpmux": {\n "type": "http",\n "url": "${mcpUrl}"\n}`,
58+
handler: `"mcpmux": {\n "serverUrl": "${mcpUrl}"\n}`,
5959
},
6060
{
6161
id: 'claude-code',
@@ -71,15 +71,15 @@ export function ConnectIDEs({ gatewayUrl, gatewayRunning }: ConnectIDEsProps) {
7171
label: 'JetBrains',
7272
icon: jetbrainsIcon,
7373
action: 'copy_config',
74-
handler: `"mcpmux": {\n "type": "http",\n "url": "${mcpUrl}"\n}`,
74+
handler: `"mcpmux": {\n "url": "${mcpUrl}"\n}`,
7575
},
7676
{
7777
id: 'android-studio',
7878
name: 'Android Studio',
7979
label: 'Android',
8080
icon: androidStudioIcon,
8181
action: 'copy_config',
82-
handler: `"mcpmux": {\n "type": "http",\n "url": "${mcpUrl}"\n}`,
82+
handler: `"mcpmux": {\n "httpUrl": "${mcpUrl}"\n}`,
8383
},
8484
{
8585
id: 'copy-config',

0 commit comments

Comments
 (0)