Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,17 @@
"type": "builtin",
"env_keys": [],
"bundled": true
},
{
"id": "neighborhood",
"name": "neighborhood",
"display_name": "Neighborhoods",
"description": "Discover nearby restaurants, browse menus, and place takeout orders through natural conversation. Sellers are US-based.",
"enabled": false,
"type": "streamable_http",
"uri": "https://connect.squareup.com/v2/mcp/neighborhood",
"env_keys": [],
"timeout": 300,
"bundled": true
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,13 @@ type BundledExtension = {
display_name?: string;
description?: string;
enabled: boolean;
type: 'builtin' | 'stdio' | 'sse';
type: 'builtin' | 'stdio' | 'sse' | 'streamable_http';
cmd?: string;
args?: string[];
uri?: string;
envs?: { [key: string]: string };
env_keys?: Array<string>;
headers?: { [key: string]: string };
timeout?: number;
allow_configure?: boolean;
};
Expand Down Expand Up @@ -79,6 +80,19 @@ export async function syncBundledExtensions(
uri: bundledExt.uri || '',
bundled: true,
};
break;
case 'streamable_http':
extConfig = {
name: bundledExt.name,
description: bundledExt.description,
type: bundledExt.type,
timeout: bundledExt.timeout,
uri: bundledExt.uri || '',
env_keys: bundledExt.env_keys || [],
headers: bundledExt.headers || {},
bundled: true,
};
break;
}

// Add or update the extension, preserving enabled state if it exists
Expand Down