create-mcp-use-app 0.4.10 → 0.5.0-canary.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/README.md CHANGED
@@ -450,6 +450,7 @@ See our [contributing guide](https://github.com/mcp-use/mcp-use/blob/main/CONTRI
450
450
  - [Creating MCP Tools](https://github.com/mcp-use/mcp-use/tree/main/packages/mcp-use#-mcp-server-framework)
451
451
  - [Building UI Widgets](https://github.com/mcp-use/mcp-use/tree/main/packages/cli#-creating-ui-widgets)
452
452
  - [Using the Inspector](https://github.com/mcp-use/mcp-use/tree/main/packages/inspector)
453
+ - [Supabase Edge Functions](https://supabase.com/docs/guides/functions)
453
454
 
454
455
  ---
455
456
 
package/dist/index.js CHANGED
@@ -184,14 +184,26 @@ function processTemplateFile(filePath, versions, isDevelopment = false, useCanar
184
184
  /"mcp-use": "workspace:\*"/,
185
185
  `"mcp-use": "canary"`
186
186
  );
187
+ processedContent = processedContent.replace(
188
+ /"mcp-use": "\^[^"]+"/,
189
+ `"mcp-use": "canary"`
190
+ );
187
191
  processedContent = processedContent.replace(
188
192
  /"@mcp-use\/cli": "workspace:\*"/,
189
193
  `"@mcp-use/cli": "canary"`
190
194
  );
195
+ processedContent = processedContent.replace(
196
+ /"@mcp-use\/cli": "\^[^"]+"/,
197
+ `"@mcp-use/cli": "canary"`
198
+ );
191
199
  processedContent = processedContent.replace(
192
200
  /"@mcp-use\/inspector": "workspace:\*"/,
193
201
  `"@mcp-use/inspector": "canary"`
194
202
  );
203
+ processedContent = processedContent.replace(
204
+ /"@mcp-use\/inspector": "\^[^"]+"/,
205
+ `"@mcp-use/inspector": "canary"`
206
+ );
195
207
  } else {
196
208
  processedContent = processedContent.replace(
197
209
  /"mcp-use": "workspace:\*"/,
@@ -3,8 +3,6 @@ import { createMCPServer } from "mcp-use/server";
3
3
  const server = createMCPServer("test-app", {
4
4
  version: "1.0.0",
5
5
  description: "Test MCP server with automatic UI widget registration",
6
- host: process.env.HOST || "localhost",
7
- baseUrl: process.env.MCP_URL, // Full base URL (e.g., https://myserver.com)
8
6
  });
9
7
 
10
8
  /**
@@ -30,7 +28,6 @@ server.tool({
30
28
  },
31
29
  });
32
30
 
33
- const PORT = process.env.PORT ? parseInt(process.env.PORT) : 3000;
34
- const HOST = process.env.HOST || "localhost";
35
- server.listen(PORT);
36
- console.log(`Server running at http://${HOST}:${PORT}`);
31
+ server.listen().then(() => {
32
+ console.log(`Server running`);
33
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-mcp-use-app",
3
- "version": "0.4.10",
3
+ "version": "0.5.0-canary.1",
4
4
  "type": "module",
5
5
  "description": "Create MCP-Use apps with one command",
6
6
  "author": "mcp-use, Inc.",