mcp-use 1.1.6 → 1.1.7

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.
@@ -0,0 +1,3 @@
1
+ declare const _default: import("tsup").Options | import("tsup").Options[] | ((overrideOptions: import("tsup").Options) => import("tsup").Options | import("tsup").Options[] | Promise<import("tsup").Options | import("tsup").Options[]>);
2
+ export default _default;
3
+ //# sourceMappingURL=tsup.config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tsup.config.d.ts","sourceRoot":"","sources":["../tsup.config.ts"],"names":[],"mappings":";AAEA,wBAcE"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mcp-use",
3
3
  "type": "module",
4
- "version": "1.1.6",
4
+ "version": "1.1.7",
5
5
  "description": "Opinionated MCP Framework for TypeScript (@modelcontextprotocol/sdk compatible) - Build MCP Agents and Clients + MCP Servers with support for MCP-UI.",
6
6
  "author": "mcp-use, Inc.",
7
7
  "license": "MIT",
@@ -45,6 +45,9 @@
45
45
  "main": "./dist/index.js",
46
46
  "module": "./dist/index.js",
47
47
  "types": "./dist/index.d.ts",
48
+ "bin": {
49
+ "mcp-use": "./node_modules/@mcp-use/cli/dist/index.js"
50
+ },
48
51
  "files": [
49
52
  "dist"
50
53
  ],
@@ -56,7 +59,7 @@
56
59
  "access": "public"
57
60
  },
58
61
  "peerDependencies": {
59
- "@mcp-use/inspector": "^0.4.6",
62
+ "@mcp-use/inspector": "^0.4.7",
60
63
  "cors": "^2.8.5",
61
64
  "express": "^4.18.2",
62
65
  "langfuse": "^3.32.0",
@@ -64,9 +67,6 @@
64
67
  "react": "^18.0.0 || ^19.0.0"
65
68
  },
66
69
  "peerDependenciesMeta": {
67
- "@mcp-use/inspector": {
68
- "optional": true
69
- },
70
70
  "cors": {
71
71
  "optional": true
72
72
  },
@@ -88,9 +88,12 @@
88
88
  "@mcp-ui/server": "^5.12.0",
89
89
  "@modelcontextprotocol/sdk": "1.20.0",
90
90
  "@scarf/scarf": "^1.4.0",
91
+ "@tailwindcss/vite": "^4.1.15",
92
+ "@vitejs/plugin-react": "^5.0.4",
91
93
  "ai": "^4.3.19",
92
94
  "commander": "^14.0.1",
93
95
  "dotenv": "^16.5.0",
96
+ "esbuild": ">=0.25.0",
94
97
  "langchain": "^0.3.27",
95
98
  "lodash-es": "^4.17.21",
96
99
  "posthog-node": "^5.1.1",
@@ -98,11 +101,14 @@
98
101
  "ts-node": "^10.9.2",
99
102
  "tsx": "^4.20.6",
100
103
  "uuid": "^11.1.0",
104
+ "vite": ">=5.4.21",
101
105
  "winston": "^3.17.0",
102
106
  "winston-transport-browserconsole": "^1.0.5",
103
107
  "ws": "^8.18.2",
104
108
  "zod": "^3.25.48",
105
- "zod-to-json-schema": "^3.24.6"
109
+ "zod-to-json-schema": "^3.24.6",
110
+ "@mcp-use/cli": "2.1.19",
111
+ "@mcp-use/inspector": "0.4.7"
106
112
  },
107
113
  "devDependencies": {
108
114
  "@antfu/eslint-config": "^4.13.2",
@@ -133,7 +139,7 @@
133
139
  ]
134
140
  },
135
141
  "scripts": {
136
- "build": "rm -rf dist && tsup index.ts src/browser.ts src/react/index.ts src/server/index.ts --format cjs,esm --out-dir dist --keep-names && tsc --emitDeclarationOnly --declaration",
142
+ "build": "rm -rf dist && tsup && tsc --emitDeclarationOnly --declaration",
137
143
  "test": "vitest",
138
144
  "test:run": "vitest run",
139
145
  "test:simple": "vitest run tests/stream_events_simple.test.ts",