mcp-use 1.2.5-dev.4 → 1.3.0-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.
@@ -1 +1 @@
1
- {"version":3,"file":"mcp-server.d.ts","sourceRoot":"","sources":["../../../src/server/mcp-server.ts"],"names":[],"mappings":"AAKA,OAAO,EAAsB,KAAK,IAAI,IAAI,QAAQ,EAAa,MAAM,MAAM,CAAC;AAQ5E,OAAO,KAAK,EAEV,gBAAgB,EAChB,kBAAkB,EAClB,0BAA0B,EAC1B,YAAY,EACZ,cAAc,EAEd,oBAAoB,EAErB,MAAM,kBAAkB,CAAC;AAmG1B,qBAAa,SAAS;IACpB,OAAO,CAAC,MAAM,CAAoB;IAClC,OAAO,CAAC,MAAM,CAAe;IAC7B,OAAO,CAAC,GAAG,CAAW;IACtB,OAAO,CAAC,UAAU,CAAS;IAC3B,OAAO,CAAC,gBAAgB,CAAS;IACjC,OAAO,CAAC,UAAU,CAAC,CAAS;IAC5B,OAAO,CAAC,UAAU,CAAS;IAC3B,OAAO,CAAC,aAAa,CAAC,CAAS;IAE/B;;;;;;;;;OASG;gBACS,MAAM,EAAE,YAAY;IA2ChC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAsCG;IACH,QAAQ,CAAC,kBAAkB,EAAE,kBAAkB,GAAG,IAAI;IAmBtD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA+BG;IACH,gBAAgB,CACd,0BAA0B,EAAE,0BAA0B,GACrD,IAAI;IAiDP;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAqCG;IACH,IAAI,CAAC,cAAc,EAAE,cAAc,GAAG,IAAI;IAmB1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAiCG;IACH,MAAM,CAAC,gBAAgB,EAAE,gBAAgB,GAAG,IAAI;IAgBhD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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{"version":3,"file":"tsup.config.d.ts","sourceRoot":"","sources":["../tsup.config.ts"],"names":[],"mappings":";AAEA,wBAkCG"}
package/package.json CHANGED
@@ -1,8 +1,7 @@
1
1
  {
2
2
  "name": "mcp-use",
3
3
  "type": "module",
4
- "version": "1.2.5-dev.4",
5
- "packageManager": "pnpm@10.6.1",
4
+ "version": "1.3.0-canary.0",
6
5
  "description": "Opinionated MCP Framework for TypeScript (@modelcontextprotocol/sdk compatible) - Build MCP Agents and Clients + MCP Servers with support for MCP-UI.",
7
6
  "author": "mcp-use, Inc.",
8
7
  "license": "MIT",
@@ -63,44 +62,6 @@
63
62
  "registry": "https://registry.npmjs.org",
64
63
  "access": "public"
65
64
  },
66
- "scripts": {
67
- "build": "rm -rf dist && tsup && tsc --emitDeclarationOnly --declaration",
68
- "test": "vitest",
69
- "test:run": "vitest run",
70
- "test:unit": "vitest run --exclude tests/integration/**",
71
- "test:simple": "vitest run tests/stream_events_simple.test.ts",
72
- "test:integration": "vitest run tests/integration",
73
- "test:integration:agent": "vitest run tests/integration/agent",
74
- "test:integration:run": "vitest run tests/integration/agent/test_agent_run.test.ts",
75
- "test:integration:stream": "vitest run tests/integration/agent/test_agent_stream.test.ts",
76
- "test:integration:structured": "vitest run tests/integration/agent/test_agent_structured_output.test.ts",
77
- "test:integration:manager": "vitest run tests/integration/agent/test_server_manager.test.ts",
78
- "test:integration:observability": "vitest run tests/integration/agent/test_agent_observability.test.ts",
79
- "watch": "tsc --watch",
80
- "start": "node dist/index.js",
81
- "prepublishOnly": "npm run build",
82
- "fmt": "eslint --fix",
83
- "release": "npm version patch --tag-version-prefix=v && git push --follow-tags",
84
- "release:minor": "npm version minor --tag-version-prefix=v && git push --follow-tags",
85
- "release:major": "npm version major --tag-version-prefix=v && git push --follow-tags",
86
- "prepare": "husky",
87
- "example:airbnb": "tsx examples/client/airbnb_use.ts",
88
- "example:browser": "tsx examples/client/browser_use.ts",
89
- "example:chat": "tsx examples/client/chat_example.ts",
90
- "example:stream": "tsx examples/client/stream_example.ts",
91
- "example:stream_events": "tsx examples/client/stream_events_example.ts",
92
- "example:ai_sdk": "tsx examples/client/ai_sdk_example.ts",
93
- "example:filesystem": "tsx examples/client/filesystem_use.ts",
94
- "example:http": "tsx examples/client/http_example.ts",
95
- "example:everything": "tsx examples/client/mcp_everything.ts",
96
- "example:multi": "tsx examples/client/multi_server_example.ts",
97
- "example:sandbox": "tsx examples/client/sandbox_everything.ts",
98
- "example:oauth": "tsx examples/client/simple_oauth_example.ts",
99
- "example:blender": "tsx examples/client/blender_use.ts",
100
- "example:add_server": "tsx examples/client/add_server_tool.ts",
101
- "example:structured": "tsx examples/client/structured_output.ts",
102
- "example:observability": "tsx examples/client/observability.ts"
103
- },
104
65
  "peerDependencies": {
105
66
  "@langchain/anthropic": "^1.0.0",
106
67
  "@langchain/openai": "^1.0.0",
@@ -127,8 +88,6 @@
127
88
  "@hono/node-server": "^1.13.0",
128
89
  "@langchain/core": "^1.0.1",
129
90
  "@mcp-ui/server": "^5.12.0",
130
- "@mcp-use/cli": "workspace:*",
131
- "@mcp-use/inspector": "workspace:*",
132
91
  "@modelcontextprotocol/sdk": "1.20.0",
133
92
  "@scarf/scarf": "^1.4.0",
134
93
  "ai": "^4.3.19",
@@ -147,12 +106,16 @@
147
106
  "winston-transport-browserconsole": "^1.0.5",
148
107
  "ws": "^8.18.2",
149
108
  "zod": "^3.25.48",
150
- "zod-to-json-schema": "^3.24.6"
109
+ "zod-to-json-schema": "^3.24.6",
110
+ "@mcp-use/cli": "2.2.0-canary.0",
111
+ "@mcp-use/inspector": "0.5.0-canary.0"
151
112
  },
152
113
  "optionalDependencies": {
153
114
  "@tailwindcss/vite": "^4.1.15",
154
115
  "@vitejs/plugin-react": "^5.0.4",
155
- "vite": ">=5.4.21"
116
+ "vite": ">=5.4.21",
117
+ "connect": "^3.7.0",
118
+ "node-mocks-http": "^1.16.2"
156
119
  },
157
120
  "devDependencies": {
158
121
  "@antfu/eslint-config": "^4.13.2",
@@ -183,5 +146,41 @@
183
146
  "eslint --fix",
184
147
  "eslint"
185
148
  ]
149
+ },
150
+ "scripts": {
151
+ "build": "rm -rf dist && tsup && tsc --emitDeclarationOnly --declaration",
152
+ "test": "vitest",
153
+ "test:run": "vitest run",
154
+ "test:unit": "vitest run --exclude tests/integration/**",
155
+ "test:simple": "vitest run tests/stream_events_simple.test.ts",
156
+ "test:integration": "vitest run tests/integration",
157
+ "test:integration:agent": "vitest run tests/integration/agent",
158
+ "test:integration:run": "vitest run tests/integration/agent/test_agent_run.test.ts",
159
+ "test:integration:stream": "vitest run tests/integration/agent/test_agent_stream.test.ts",
160
+ "test:integration:structured": "vitest run tests/integration/agent/test_agent_structured_output.test.ts",
161
+ "test:integration:manager": "vitest run tests/integration/agent/test_server_manager.test.ts",
162
+ "test:integration:observability": "vitest run tests/integration/agent/test_agent_observability.test.ts",
163
+ "watch": "tsc --watch",
164
+ "start": "node dist/index.js",
165
+ "fmt": "eslint --fix",
166
+ "release": "npm version patch --tag-version-prefix=v && git push --follow-tags",
167
+ "release:minor": "npm version minor --tag-version-prefix=v && git push --follow-tags",
168
+ "release:major": "npm version major --tag-version-prefix=v && git push --follow-tags",
169
+ "example:airbnb": "tsx examples/client/airbnb_use.ts",
170
+ "example:browser": "tsx examples/client/browser_use.ts",
171
+ "example:chat": "tsx examples/client/chat_example.ts",
172
+ "example:stream": "tsx examples/client/stream_example.ts",
173
+ "example:stream_events": "tsx examples/client/stream_events_example.ts",
174
+ "example:ai_sdk": "tsx examples/client/ai_sdk_example.ts",
175
+ "example:filesystem": "tsx examples/client/filesystem_use.ts",
176
+ "example:http": "tsx examples/client/http_example.ts",
177
+ "example:everything": "tsx examples/client/mcp_everything.ts",
178
+ "example:multi": "tsx examples/client/multi_server_example.ts",
179
+ "example:sandbox": "tsx examples/client/sandbox_everything.ts",
180
+ "example:oauth": "tsx examples/client/simple_oauth_example.ts",
181
+ "example:blender": "tsx examples/client/blender_use.ts",
182
+ "example:add_server": "tsx examples/client/add_server_tool.ts",
183
+ "example:structured": "tsx examples/client/structured_output.ts",
184
+ "example:observability": "tsx examples/client/observability.ts"
186
185
  }
187
- }
186
+ }