@smithery/sdk 1.1.1 → 1.1.2
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/dist/config.js +1 -1
- package/package.json +1 -1
package/dist/config.js
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* @returns A URL object with properly encoded parameters
|
|
7
7
|
*/
|
|
8
8
|
export function createSmitheryUrl(baseUrl, config, apiKey) {
|
|
9
|
-
const url = new URL(baseUrl);
|
|
9
|
+
const url = new URL(`${baseUrl}/mcp`);
|
|
10
10
|
if (config) {
|
|
11
11
|
const param = typeof window !== "undefined"
|
|
12
12
|
? btoa(JSON.stringify(config))
|