mcp-use 1.2.5-dev.3 → 1.2.5-dev.5
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/.tsbuildinfo +1 -1
- package/dist/src/server/connect-adapter.d.ts +31 -0
- package/dist/src/server/connect-adapter.d.ts.map +1 -0
- package/dist/src/server/index.cjs +332 -115
- package/dist/src/server/index.d.ts +2 -1
- package/dist/src/server/index.d.ts.map +1 -1
- package/dist/src/server/index.js +332 -115
- package/dist/src/server/logging.d.ts.map +1 -1
- package/dist/src/server/mcp-server.d.ts +12 -4
- package/dist/src/server/mcp-server.d.ts.map +1 -1
- package/dist/tsup.config.d.ts.map +1 -1
- package/package.json +47 -42
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mcp-use",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.2.5-dev.
|
|
4
|
+
"version": "1.2.5-dev.5",
|
|
5
|
+
"packageManager": "pnpm@10.6.1",
|
|
5
6
|
"description": "Opinionated MCP Framework for TypeScript (@modelcontextprotocol/sdk compatible) - Build MCP Agents and Clients + MCP Servers with support for MCP-UI.",
|
|
6
7
|
"author": "mcp-use, Inc.",
|
|
7
8
|
"license": "MIT",
|
|
@@ -62,6 +63,44 @@
|
|
|
62
63
|
"registry": "https://registry.npmjs.org",
|
|
63
64
|
"access": "public"
|
|
64
65
|
},
|
|
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
|
+
},
|
|
65
104
|
"peerDependencies": {
|
|
66
105
|
"@langchain/anthropic": "^1.0.0",
|
|
67
106
|
"@langchain/openai": "^1.0.0",
|
|
@@ -88,6 +127,8 @@
|
|
|
88
127
|
"@hono/node-server": "^1.13.0",
|
|
89
128
|
"@langchain/core": "^1.0.1",
|
|
90
129
|
"@mcp-ui/server": "^5.12.0",
|
|
130
|
+
"@mcp-use/cli": "workspace:*",
|
|
131
|
+
"@mcp-use/inspector": "workspace:*",
|
|
91
132
|
"@modelcontextprotocol/sdk": "1.20.0",
|
|
92
133
|
"@scarf/scarf": "^1.4.0",
|
|
93
134
|
"ai": "^4.3.19",
|
|
@@ -106,14 +147,14 @@
|
|
|
106
147
|
"winston-transport-browserconsole": "^1.0.5",
|
|
107
148
|
"ws": "^8.18.2",
|
|
108
149
|
"zod": "^3.25.48",
|
|
109
|
-
"zod-to-json-schema": "^3.24.6"
|
|
110
|
-
"@mcp-use/cli": "2.1.25",
|
|
111
|
-
"@mcp-use/inspector": "0.4.13"
|
|
150
|
+
"zod-to-json-schema": "^3.24.6"
|
|
112
151
|
},
|
|
113
152
|
"optionalDependencies": {
|
|
114
153
|
"@tailwindcss/vite": "^4.1.15",
|
|
115
154
|
"@vitejs/plugin-react": "^5.0.4",
|
|
116
|
-
"vite": ">=5.4.21"
|
|
155
|
+
"vite": ">=5.4.21",
|
|
156
|
+
"connect": "^3.7.0",
|
|
157
|
+
"node-mocks-http": "^1.16.2"
|
|
117
158
|
},
|
|
118
159
|
"devDependencies": {
|
|
119
160
|
"@antfu/eslint-config": "^4.13.2",
|
|
@@ -144,41 +185,5 @@
|
|
|
144
185
|
"eslint --fix",
|
|
145
186
|
"eslint"
|
|
146
187
|
]
|
|
147
|
-
},
|
|
148
|
-
"scripts": {
|
|
149
|
-
"build": "rm -rf dist && tsup && tsc --emitDeclarationOnly --declaration",
|
|
150
|
-
"test": "vitest",
|
|
151
|
-
"test:run": "vitest run",
|
|
152
|
-
"test:unit": "vitest run --exclude tests/integration/**",
|
|
153
|
-
"test:simple": "vitest run tests/stream_events_simple.test.ts",
|
|
154
|
-
"test:integration": "vitest run tests/integration",
|
|
155
|
-
"test:integration:agent": "vitest run tests/integration/agent",
|
|
156
|
-
"test:integration:run": "vitest run tests/integration/agent/test_agent_run.test.ts",
|
|
157
|
-
"test:integration:stream": "vitest run tests/integration/agent/test_agent_stream.test.ts",
|
|
158
|
-
"test:integration:structured": "vitest run tests/integration/agent/test_agent_structured_output.test.ts",
|
|
159
|
-
"test:integration:manager": "vitest run tests/integration/agent/test_server_manager.test.ts",
|
|
160
|
-
"test:integration:observability": "vitest run tests/integration/agent/test_agent_observability.test.ts",
|
|
161
|
-
"watch": "tsc --watch",
|
|
162
|
-
"start": "node dist/index.js",
|
|
163
|
-
"fmt": "eslint --fix",
|
|
164
|
-
"release": "npm version patch --tag-version-prefix=v && git push --follow-tags",
|
|
165
|
-
"release:minor": "npm version minor --tag-version-prefix=v && git push --follow-tags",
|
|
166
|
-
"release:major": "npm version major --tag-version-prefix=v && git push --follow-tags",
|
|
167
|
-
"example:airbnb": "tsx examples/client/airbnb_use.ts",
|
|
168
|
-
"example:browser": "tsx examples/client/browser_use.ts",
|
|
169
|
-
"example:chat": "tsx examples/client/chat_example.ts",
|
|
170
|
-
"example:stream": "tsx examples/client/stream_example.ts",
|
|
171
|
-
"example:stream_events": "tsx examples/client/stream_events_example.ts",
|
|
172
|
-
"example:ai_sdk": "tsx examples/client/ai_sdk_example.ts",
|
|
173
|
-
"example:filesystem": "tsx examples/client/filesystem_use.ts",
|
|
174
|
-
"example:http": "tsx examples/client/http_example.ts",
|
|
175
|
-
"example:everything": "tsx examples/client/mcp_everything.ts",
|
|
176
|
-
"example:multi": "tsx examples/client/multi_server_example.ts",
|
|
177
|
-
"example:sandbox": "tsx examples/client/sandbox_everything.ts",
|
|
178
|
-
"example:oauth": "tsx examples/client/simple_oauth_example.ts",
|
|
179
|
-
"example:blender": "tsx examples/client/blender_use.ts",
|
|
180
|
-
"example:add_server": "tsx examples/client/add_server_tool.ts",
|
|
181
|
-
"example:structured": "tsx examples/client/structured_output.ts",
|
|
182
|
-
"example:observability": "tsx examples/client/observability.ts"
|
|
183
188
|
}
|
|
184
|
-
}
|
|
189
|
+
}
|