create-mcp-use-app 0.7.1-canary.0 → 0.7.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
|
@@ -117,8 +117,8 @@ npx create-mcp-use-app my-project --npm
|
|
|
117
117
|
npx create-mcp-use-app my-project --yarn
|
|
118
118
|
npx create-mcp-use-app my-project --pnpm
|
|
119
119
|
|
|
120
|
-
#
|
|
121
|
-
npx create-mcp-use-app my-project --
|
|
120
|
+
# Install deps automatically
|
|
121
|
+
npx create-mcp-use-app my-project --install
|
|
122
122
|
```
|
|
123
123
|
|
|
124
124
|
---
|
|
@@ -8,7 +8,7 @@ const server = createMCPServer("uiresource-mcp-server", {
|
|
|
8
8
|
baseUrl: process.env.MCP_URL, // Full base URL (e.g., https://myserver.com)
|
|
9
9
|
});
|
|
10
10
|
|
|
11
|
-
const PORT = process.env.PORT
|
|
11
|
+
const PORT = process.env.PORT ? parseInt(process.env.PORT, 10) : 3000;
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* ════════════════════════════════════════════════════════════════════
|