@midscene/mcp 0.15.0 → 0.15.1
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.cjs +3 -9
- package/dist/index.js +3 -9
- package/package.json +3 -2
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
"use strict";
|
|
3
3
|
var __webpack_exports__ = {};
|
|
4
|
+
const utils_namespaceObject = require("@midscene/shared/utils");
|
|
4
5
|
const index_js_namespaceObject = require("@modelcontextprotocol/sdk/server/index.js");
|
|
5
6
|
const stdio_js_namespaceObject = require("@modelcontextprotocol/sdk/server/stdio.js");
|
|
6
7
|
const types_js_namespaceObject = require("@modelcontextprotocol/sdk/types.js");
|
|
@@ -261,14 +262,6 @@ const TOOLS = [
|
|
|
261
262
|
name: {
|
|
262
263
|
type: 'string',
|
|
263
264
|
description: 'Name for the screenshot'
|
|
264
|
-
},
|
|
265
|
-
width: {
|
|
266
|
-
type: 'number',
|
|
267
|
-
description: 'Width in pixels (default: 800)'
|
|
268
|
-
},
|
|
269
|
-
height: {
|
|
270
|
-
type: 'number',
|
|
271
|
-
description: 'Height in pixels (default: 600)'
|
|
272
265
|
}
|
|
273
266
|
},
|
|
274
267
|
required: [
|
|
@@ -362,9 +355,10 @@ const TOOLS = [
|
|
|
362
355
|
}
|
|
363
356
|
}
|
|
364
357
|
];
|
|
358
|
+
(0, utils_namespaceObject.setIsMcp)(true);
|
|
365
359
|
const src_server = new index_js_namespaceObject.Server({
|
|
366
360
|
name: '@midscene/mcp',
|
|
367
|
-
version: '0.15.
|
|
361
|
+
version: '0.15.1',
|
|
368
362
|
description: 'Midscene MCP Server: Control the browser using natural language commands for navigation, clicking, input, hovering, and achieving goals. Also supports screenshots and JavaScript execution.'
|
|
369
363
|
}, {
|
|
370
364
|
capabilities: {
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
+
import * as __WEBPACK_EXTERNAL_MODULE__midscene_shared_utils_b0457388__ from "@midscene/shared/utils";
|
|
2
3
|
import * as __WEBPACK_EXTERNAL_MODULE__modelcontextprotocol_sdk_server_index_js_269b79bf__ from "@modelcontextprotocol/sdk/server/index.js";
|
|
3
4
|
import * as __WEBPACK_EXTERNAL_MODULE__modelcontextprotocol_sdk_server_stdio_js_4f861174__ from "@modelcontextprotocol/sdk/server/stdio.js";
|
|
4
5
|
import * as __WEBPACK_EXTERNAL_MODULE__modelcontextprotocol_sdk_types_js_fc45a208__ from "@modelcontextprotocol/sdk/types.js";
|
|
@@ -259,14 +260,6 @@ const TOOLS = [
|
|
|
259
260
|
name: {
|
|
260
261
|
type: 'string',
|
|
261
262
|
description: 'Name for the screenshot'
|
|
262
|
-
},
|
|
263
|
-
width: {
|
|
264
|
-
type: 'number',
|
|
265
|
-
description: 'Width in pixels (default: 800)'
|
|
266
|
-
},
|
|
267
|
-
height: {
|
|
268
|
-
type: 'number',
|
|
269
|
-
description: 'Height in pixels (default: 600)'
|
|
270
263
|
}
|
|
271
264
|
},
|
|
272
265
|
required: [
|
|
@@ -360,9 +353,10 @@ const TOOLS = [
|
|
|
360
353
|
}
|
|
361
354
|
}
|
|
362
355
|
];
|
|
356
|
+
(0, __WEBPACK_EXTERNAL_MODULE__midscene_shared_utils_b0457388__.setIsMcp)(true);
|
|
363
357
|
const src_server = new __WEBPACK_EXTERNAL_MODULE__modelcontextprotocol_sdk_server_index_js_269b79bf__.Server({
|
|
364
358
|
name: '@midscene/mcp',
|
|
365
|
-
version: '0.15.
|
|
359
|
+
version: '0.15.1',
|
|
366
360
|
description: 'Midscene MCP Server: Control the browser using natural language commands for navigation, clicking, input, hovering, and achieving goals. Also supports screenshots and JavaScript execution.'
|
|
367
361
|
}, {
|
|
368
362
|
capabilities: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@midscene/mcp",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -29,7 +29,8 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@modelcontextprotocol/sdk": "1.9.0",
|
|
31
31
|
"puppeteer": "24.2.0",
|
|
32
|
-
"@midscene/
|
|
32
|
+
"@midscene/shared": "0.15.1",
|
|
33
|
+
"@midscene/web": "0.15.1"
|
|
33
34
|
},
|
|
34
35
|
"scripts": {
|
|
35
36
|
"build": "rslib build",
|