create-mcp-use-app 2.0.0 → 2.0.1-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
|
@@ -1321,7 +1321,9 @@ function updatePackageJson(projectPath, projectName) {
|
|
|
1321
1321
|
const packageJsonPath = join2(projectPath, "package.json");
|
|
1322
1322
|
const packageJsonContent = JSON.parse(readFileSync(packageJsonPath, "utf-8"));
|
|
1323
1323
|
packageJsonContent.name = projectName;
|
|
1324
|
-
packageJsonContent.description
|
|
1324
|
+
if (!packageJsonContent.description) {
|
|
1325
|
+
packageJsonContent.description = `${projectName}: an mcp-use server`;
|
|
1326
|
+
}
|
|
1325
1327
|
writeFileSync(packageJsonPath, JSON.stringify(packageJsonContent, null, 2));
|
|
1326
1328
|
}
|
|
1327
1329
|
function updateIndexTs(projectPath, projectName) {
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"node": ">=22.22.2"
|
|
6
6
|
},
|
|
7
7
|
"version": "1.0.0",
|
|
8
|
-
"description": "
|
|
8
|
+
"description": "a minimal mcp-use server with no tools registered, ready to add your own",
|
|
9
9
|
"author": "mcp-use",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"homepage": "https://github.com/mcp-use/mcp-use",
|
|
@@ -18,7 +18,6 @@
|
|
|
18
18
|
"mcp-use",
|
|
19
19
|
"manufact"
|
|
20
20
|
],
|
|
21
|
-
"main": "dist/index.js",
|
|
22
21
|
"scripts": {
|
|
23
22
|
"build": "mcp-use build",
|
|
24
23
|
"dev": "mcp-use dev",
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"node": ">=22.22.2"
|
|
6
6
|
},
|
|
7
7
|
"version": "1.0.0",
|
|
8
|
-
"description": "an mcp-use server",
|
|
8
|
+
"description": "an mcp-use server with React views for MCP Apps",
|
|
9
9
|
"author": "mcp-use",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"homepage": "https://github.com/mcp-use/mcp-use",
|
|
@@ -18,7 +18,6 @@
|
|
|
18
18
|
"mcp-use",
|
|
19
19
|
"manufact"
|
|
20
20
|
],
|
|
21
|
-
"main": "dist/index.js",
|
|
22
21
|
"scripts": {
|
|
23
22
|
"build": "mcp-use build",
|
|
24
23
|
"dev": "mcp-use dev",
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"node": ">=22.22.2"
|
|
6
6
|
},
|
|
7
7
|
"version": "1.0.0",
|
|
8
|
-
"description": "an mcp-use server",
|
|
8
|
+
"description": "an mcp-use server with example tools and zod validated input",
|
|
9
9
|
"author": "mcp-use",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"homepage": "https://github.com/mcp-use/mcp-use",
|
|
@@ -18,7 +18,6 @@
|
|
|
18
18
|
"mcp-use",
|
|
19
19
|
"manufact"
|
|
20
20
|
],
|
|
21
|
-
"main": "dist/index.js",
|
|
22
21
|
"scripts": {
|
|
23
22
|
"build": "mcp-use build",
|
|
24
23
|
"dev": "mcp-use dev",
|
package/dist/utils.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAoCA,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAEjD;AAID,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,EAAE,CAIvD;AAKD,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAQvD;AAMD,KAAK,WAAW,GAAG;IACjB,aAAa,EAAE,OAAO,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,WAAW,CAiB3E;AAED,wBAAgB,iBAAiB,CAAC,WAAW,E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