create-mcp-use-app 0.4.10 → 0.5.0-canary.0

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
 
@@ -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.0",
4
4
  "type": "module",
5
5
  "description": "Create MCP-Use apps with one command",
6
6
  "author": "mcp-use, Inc.",