create-mcp-use-app 0.5.1-canary.2 → 0.5.2-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/dist/index.js
CHANGED
|
@@ -435,8 +435,6 @@ program.name("create-mcp-use-app").description("Create a new MCP server project"
|
|
|
435
435
|
console.log("");
|
|
436
436
|
console.log(chalk.bold("\u{1F4C1} Project structure:"));
|
|
437
437
|
console.log(` ${sanitizedProjectName}/`);
|
|
438
|
-
console.log(" \u251C\u2500\u2500 src/");
|
|
439
|
-
console.log(" \u2502 \u2514\u2500\u2500 server.ts");
|
|
440
438
|
if (validatedTemplate === "apps-sdk") {
|
|
441
439
|
console.log(" \u251C\u2500\u2500 resources/");
|
|
442
440
|
console.log(" \u2502 \u2514\u2500\u2500 display-weather.tsx");
|
|
@@ -459,13 +457,15 @@ program.name("create-mcp-use-app").description("Create a new MCP server project"
|
|
|
459
457
|
console.log("");
|
|
460
458
|
console.log(chalk.bold("\u{1F680} To get started:"));
|
|
461
459
|
console.log(chalk.cyan(` cd ${sanitizedProjectName}`));
|
|
462
|
-
console.log(
|
|
463
|
-
chalk.cyan(` ${getInstallCommand(usedPackageManager)}`)
|
|
464
|
-
);
|
|
460
|
+
console.log(chalk.cyan(` ${getInstallCommand(usedPackageManager)}`));
|
|
465
461
|
console.log(chalk.cyan(` ${getDevCommand(usedPackageManager)}`));
|
|
466
462
|
console.log("");
|
|
467
463
|
console.log(chalk.bold("\u{1F4E4} To deploy:"));
|
|
468
|
-
console.log(
|
|
464
|
+
console.log(
|
|
465
|
+
chalk.cyan(
|
|
466
|
+
` ${usedPackageManager === "yarn" ? "yarn" : usedPackageManager === "pnpm" ? "pnpm" : "npm run"} deploy`
|
|
467
|
+
)
|
|
468
|
+
);
|
|
469
469
|
console.log("");
|
|
470
470
|
if (options.dev) {
|
|
471
471
|
console.log(
|
|
@@ -36,10 +36,13 @@
|
|
|
36
36
|
"zod": "^4.1.12"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
+
"@tailwindcss/vite": "^4.1.17",
|
|
39
40
|
"@types/node": "^20.0.0",
|
|
40
41
|
"@types/react": "^19.2.2",
|
|
41
42
|
"@types/react-dom": "^19.2.2",
|
|
43
|
+
"@vitejs/plugin-react": "^5.1.1",
|
|
42
44
|
"tsx": "^4.20.6",
|
|
43
|
-
"typescript": "^5.0.0"
|
|
45
|
+
"typescript": "^5.0.0",
|
|
46
|
+
"vite": "^7.2.4"
|
|
44
47
|
}
|
|
45
48
|
}
|
|
@@ -33,10 +33,13 @@
|
|
|
33
33
|
"zod": "^4.1.12"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
+
"@tailwindcss/vite": "^4.1.17",
|
|
36
37
|
"@types/node": "^20.0.0",
|
|
37
38
|
"@types/react": "^19.2.2",
|
|
38
39
|
"@types/react-dom": "^19.2.2",
|
|
40
|
+
"@vitejs/plugin-react": "^5.1.1",
|
|
39
41
|
"tsx": "^4.20.6",
|
|
40
|
-
"typescript": "^5.0.0"
|
|
42
|
+
"typescript": "^5.0.0",
|
|
43
|
+
"vite": "^7.2.4"
|
|
41
44
|
}
|
|
42
45
|
}
|
|
@@ -4,7 +4,7 @@ import { createMCPServer } from "mcp-use/server";
|
|
|
4
4
|
const server = createMCPServer("my-mcp-server", {
|
|
5
5
|
version: "1.0.0",
|
|
6
6
|
description: "My first MCP server with all features",
|
|
7
|
-
baseUrl: process.env.MCP_URL, // Full base URL (e.g., https://myserver.com)
|
|
7
|
+
baseUrl: process.env.MCP_URL || "http://localhost:3000", // Full base URL (e.g., https://myserver.com)
|
|
8
8
|
});
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -36,10 +36,13 @@
|
|
|
36
36
|
"zod": "^4.1.12"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
+
"@tailwindcss/vite": "^4.1.17",
|
|
39
40
|
"@types/node": "^20.0.0",
|
|
40
41
|
"@types/react": "^19.2.2",
|
|
41
42
|
"@types/react-dom": "^19.2.2",
|
|
43
|
+
"@vitejs/plugin-react": "^5.1.1",
|
|
42
44
|
"tsx": "^4.20.6",
|
|
43
|
-
"typescript": "^5.0.0"
|
|
45
|
+
"typescript": "^5.0.0",
|
|
46
|
+
"vite": "^7.2.4"
|
|
44
47
|
}
|
|
45
48
|
}
|