create-mcp-use-app 0.4.8-canary.1 → 0.4.8

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
@@ -294,13 +294,20 @@ program.name("create-mcp-use-app").description("Create a new MCP server project"
294
294
  console.log(` ${sanitizedProjectName}/`);
295
295
  console.log(" \u251C\u2500\u2500 src/");
296
296
  console.log(" \u2502 \u2514\u2500\u2500 server.ts");
297
- if (validatedTemplate === "ui") {
297
+ if (validatedTemplate === "apps-sdk") {
298
298
  console.log(" \u251C\u2500\u2500 resources/");
299
- console.log(" \u2502 \u251C\u2500\u2500 data-visualization.tsx");
300
- console.log(" \u2502 \u251C\u2500\u2500 kanban-board.tsx");
301
- console.log(" \u2502 \u2514\u2500\u2500 todo-list.tsx");
299
+ console.log(" \u2502 \u2514\u2500\u2500 display-weather.tsx");
302
300
  }
303
- console.log(" \u251C\u2500\u2500 index.ts");
301
+ if (validatedTemplate === "mcp-ui") {
302
+ console.log(" \u251C\u2500\u2500 resources/");
303
+ console.log(" \u2502 \u2514\u2500\u2500 kanban-board.tsx");
304
+ }
305
+ if (validatedTemplate === "starter") {
306
+ console.log(" \u251C\u2500\u2500 resources/");
307
+ console.log(" \u2502 \u2514\u2500\u2500 kanban-board.tsx (MCP-UI example)");
308
+ console.log(" \u2502 \u2514\u2500\u2500 display-weather.tsx (OpenAI Apps SDK example)");
309
+ }
310
+ console.log(" \u251C\u2500\u2500 index.ts (server entry point)");
304
311
  console.log(" \u251C\u2500\u2500 package.json");
305
312
  console.log(" \u251C\u2500\u2500 tsconfig.json");
306
313
  console.log(" \u2514\u2500\u2500 README.md");
@@ -8,6 +8,7 @@ import type {
8
8
  const server = createMCPServer('uiresource-mcp-server', {
9
9
  version: '1.0.0',
10
10
  description: 'MCP server demonstrating all UIResource types',
11
+ baseUrl: process.env.MCP_URL, // Full base URL (e.g., https://myserver.com)
11
12
  })
12
13
 
13
14
  const PORT = process.env.PORT || 3000
@@ -5,6 +5,7 @@ import { createMCPServer } from 'mcp-use/server'
5
5
  const server = createMCPServer('my-mcp-server', {
6
6
  version: '1.0.0',
7
7
  description: 'My first MCP server with all features',
8
+ baseUrl: process.env.MCP_URL, // Full base URL (e.g., https://myserver.com)
8
9
  })
9
10
 
10
11
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-mcp-use-app",
3
- "version": "0.4.8-canary.1",
3
+ "version": "0.4.8",
4
4
  "type": "module",
5
5
  "description": "Create MCP-Use apps with one command",
6
6
  "author": "mcp-use, Inc.",