@cg3/equip 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/mcp.js +2 -1
- package/package.json +1 -1
package/lib/mcp.js
CHANGED
|
@@ -189,8 +189,9 @@ function readMcpEntry(configPath, rootKey, serverName, configFormat = "json") {
|
|
|
189
189
|
function buildHttpConfig(serverUrl, platform) {
|
|
190
190
|
if (platform === "windsurf") return { serverUrl };
|
|
191
191
|
if (platform === "vscode") return { type: "http", url: serverUrl };
|
|
192
|
+
if (platform === "cursor") return { type: "streamable-http", url: serverUrl };
|
|
192
193
|
if (platform === "gemini-cli") return { httpUrl: serverUrl };
|
|
193
|
-
// codex, claude-code,
|
|
194
|
+
// codex, claude-code, cline, roo-code all use { url }
|
|
194
195
|
return { url: serverUrl };
|
|
195
196
|
}
|
|
196
197
|
|