patchcord 0.5.110 → 0.5.111
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/bin/patchcord.mjs +4 -2
- package/package.json +1 -1
package/bin/patchcord.mjs
CHANGED
|
@@ -944,10 +944,12 @@ if (cmd === "login" || cmd === "teamlead" || cmd === "provision" || cmd === "tea
|
|
|
944
944
|
o.mcp.patchcord = { type: "remote", url: `${baseUrl}/mcp`, headers: hdr };
|
|
945
945
|
});
|
|
946
946
|
}
|
|
947
|
-
// default: claude_code
|
|
947
|
+
// default: claude_code. type:"http" is REQUIRED — without it Claude Code
|
|
948
|
+
// defaults to stdio transport and rejects the entry ("command: expected
|
|
949
|
+
// string, received undefined").
|
|
948
950
|
return writeJson(join(dir, ".mcp.json"), (o) => {
|
|
949
951
|
o.mcpServers = o.mcpServers || {};
|
|
950
|
-
o.mcpServers.patchcord = { url: `${baseUrl}/mcp`, headers: hdr };
|
|
952
|
+
o.mcpServers.patchcord = { type: "http", url: `${baseUrl}/mcp`, headers: hdr };
|
|
951
953
|
});
|
|
952
954
|
};
|
|
953
955
|
|