botbrowser-mcp 0.1.3 → 0.1.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/bin/botbrowser-mcp.js +2 -1
- package/dist/cli.js +4 -6
- package/dist/cli.js.map +1 -1
- package/dist/db/database.d.ts +3 -0
- package/dist/db/database.js +71 -0
- package/dist/db/database.js.map +1 -0
- package/dist/db/repositories/account.d.ts +16 -0
- package/dist/db/repositories/account.js +44 -0
- package/dist/db/repositories/account.js.map +1 -0
- package/dist/db/repositories/instance.d.ts +18 -0
- package/dist/db/repositories/instance.js +45 -0
- package/dist/db/repositories/instance.js.map +1 -0
- package/dist/db/repositories/profile.d.ts +21 -0
- package/dist/db/repositories/profile.js +42 -0
- package/dist/db/repositories/profile.js.map +1 -0
- package/dist/index.d.ts +1 -14
- package/dist/index.js +76 -40
- package/dist/index.js.map +1 -1
- package/dist/playwright/manager.d.ts +43 -0
- package/dist/playwright/manager.js +171 -0
- package/dist/playwright/manager.js.map +1 -0
- package/dist/tools/account.d.ts +116 -0
- package/dist/tools/account.js +110 -0
- package/dist/tools/account.js.map +1 -0
- package/dist/tools/browser.d.ts +178 -0
- package/dist/tools/browser.js +211 -0
- package/dist/tools/browser.js.map +1 -0
- package/dist/tools/instance.d.ts +94 -0
- package/dist/tools/instance.js +97 -0
- package/dist/tools/instance.js.map +1 -0
- package/dist/tools/profile.d.ts +128 -0
- package/dist/tools/profile.js +98 -0
- package/dist/tools/profile.js.map +1 -0
- package/package.json +8 -7
- package/readme.md +22 -3
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "botbrowser-mcp",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.1.5",
|
|
4
|
+
"description": "Multi-instance browser automation MCP server with profile and account management",
|
|
5
5
|
"author": "tonwe",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
|
-
"type": "
|
|
7
|
+
"type": "module",
|
|
8
8
|
"main": "dist/index.js",
|
|
9
9
|
"types": "dist/index.d.ts",
|
|
10
10
|
"bin": {
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
"model-context-protocol",
|
|
21
21
|
"playwright",
|
|
22
22
|
"browser-automation",
|
|
23
|
-
"
|
|
24
|
-
"
|
|
23
|
+
"multi-instance",
|
|
24
|
+
"profile-management"
|
|
25
25
|
],
|
|
26
26
|
"repository": {
|
|
27
27
|
"type": "git",
|
|
@@ -35,12 +35,13 @@
|
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@modelcontextprotocol/sdk": "^1.0.4",
|
|
38
|
-
"@playwright/mcp": "^0.0.52",
|
|
39
38
|
"playwright": "^1.49.0",
|
|
40
|
-
"
|
|
39
|
+
"better-sqlite3": "^11.0.0"
|
|
41
40
|
},
|
|
42
41
|
"devDependencies": {
|
|
43
42
|
"@types/node": "^22.10.2",
|
|
43
|
+
"@types/better-sqlite3": "^7.6.11",
|
|
44
44
|
"typescript": "^5.7.2"
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
+
|
package/readme.md
CHANGED
|
@@ -5,24 +5,43 @@ A wrapper around [@playwright/mcp](https://www.npmjs.com/package/@playwright/mcp
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npm install botbrowser-mcp
|
|
8
|
+
npm install -g botbrowser-mcp
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
## Usage
|
|
12
12
|
|
|
13
|
-
Add to your MCP client configuration:
|
|
13
|
+
Add to your MCP client configuration (e.g., Claude Desktop config):
|
|
14
|
+
|
|
15
|
+
```json
|
|
16
|
+
{
|
|
17
|
+
"mcpServers": {
|
|
18
|
+
"botbrowser": {
|
|
19
|
+
"command": "botbrowser-mcp"
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Or use with npx (no installation needed):
|
|
14
26
|
|
|
15
27
|
```json
|
|
16
28
|
{
|
|
17
29
|
"mcpServers": {
|
|
18
30
|
"botbrowser": {
|
|
19
31
|
"command": "npx",
|
|
20
|
-
"args": ["botbrowser-mcp"]
|
|
32
|
+
"args": ["-y", "botbrowser-mcp"]
|
|
21
33
|
}
|
|
22
34
|
}
|
|
23
35
|
}
|
|
24
36
|
```
|
|
25
37
|
|
|
38
|
+
## Troubleshooting
|
|
39
|
+
|
|
40
|
+
If you get "Connection closed" error:
|
|
41
|
+
1. Make sure you're using the latest version: `npm install -g botbrowser-mcp@latest`
|
|
42
|
+
2. Try with full path: `"command": "/usr/local/bin/botbrowser-mcp"`
|
|
43
|
+
3. Check Node.js is installed: `node --version`
|
|
44
|
+
|
|
26
45
|
## License
|
|
27
46
|
|
|
28
47
|
Apache-2.0
|