mcpbrowser 0.2.22 → 0.2.24
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/README.md +2 -2
- package/extension/package.json +1 -1
- package/extension/src/extension.js +1 -1
- package/package.json +1 -1
- package/server.json +1 -1
- package/src/mcp-browser.js +2 -2
package/README.md
CHANGED
|
@@ -38,7 +38,7 @@ Add to your `mcp.json`:
|
|
|
38
38
|
"type": "stdio",
|
|
39
39
|
"command": "npx",
|
|
40
40
|
"args": ["-y", "mcpbrowser@latest"],
|
|
41
|
-
"description": "
|
|
41
|
+
"description": "In-browser web page fetching. Used for: (1) auth-required pages (401/403, login, SSO, corporate intranets), (2) anti-bot/crawler blocks, CAPTCHA/human verification, (3) JavaScript-heavy sites (SPAs, dynamic content). Browser opens to load the page, user may be asked to authenticate or to prove it's not a robot."
|
|
42
42
|
}
|
|
43
43
|
```
|
|
44
44
|
|
|
@@ -102,7 +102,7 @@ Add this entry to your `mcp.json` file under the `"servers"` section:
|
|
|
102
102
|
"type": "stdio",
|
|
103
103
|
"command": "node",
|
|
104
104
|
"args": ["<PATH_TO_MCPBROWSER>/src/mcp-browser.js"],
|
|
105
|
-
"description": "
|
|
105
|
+
"description": "In-browser web page fetching. Used for: (1) auth-required pages (401/403, login, SSO, corporate intranets), (2) anti-bot/crawler blocks, CAPTCHA/human verification, (3) JavaScript-heavy sites (SPAs, dynamic content). Browser opens to load the page, user may be asked to authenticate or to prove it's not a robot."
|
|
106
106
|
}
|
|
107
107
|
```
|
|
108
108
|
|
package/extension/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "mcpbrowser",
|
|
3
3
|
"displayName": "MCP Browser",
|
|
4
4
|
"description": "Lightweight MCP server-extension that allows Copilot to fetch protected web pages you can authenticate to via browser - handles login, SSO, and anti-crawler restrictions. Should be used when standard fetch_webpage fails",
|
|
5
|
-
"version": "0.2.
|
|
5
|
+
"version": "0.2.24",
|
|
6
6
|
"publisher": "cherchyk",
|
|
7
7
|
"icon": "icon.png",
|
|
8
8
|
"engines": {
|
|
@@ -92,7 +92,7 @@ async function configureMcpBrowser() {
|
|
|
92
92
|
type: "stdio",
|
|
93
93
|
command: "npx",
|
|
94
94
|
args: ["-y", "mcpbrowser@latest"],
|
|
95
|
-
description: "
|
|
95
|
+
description: "In-browser web page fetching. Used for: (1) auth-required pages (401/403, login, SSO, corporate intranets), (2) anti-bot/crawler blocks, CAPTCHA/human verification, (3) JavaScript-heavy sites (SPAs, dynamic content). Browser opens to load the page, user may be asked to authenticate or to prove it's not a robot."
|
|
96
96
|
};
|
|
97
97
|
|
|
98
98
|
// Write back to file with pretty formatting
|
package/package.json
CHANGED
package/server.json
CHANGED
package/src/mcp-browser.js
CHANGED
|
@@ -393,12 +393,12 @@ function prepareHtml(html, baseUrl) {
|
|
|
393
393
|
}
|
|
394
394
|
|
|
395
395
|
async function main() {
|
|
396
|
-
const server = new Server({ name: "MCPBrowser", version: "0.2.
|
|
396
|
+
const server = new Server({ name: "MCPBrowser", version: "0.2.24" }, { capabilities: { tools: {} } });
|
|
397
397
|
|
|
398
398
|
const tools = [
|
|
399
399
|
{
|
|
400
400
|
name: "fetch_webpage_protected",
|
|
401
|
-
description: "Fetches
|
|
401
|
+
description: "Fetches web pages by loading them in Chrome/Edge browser. Use for: (1) auth-required pages (401/403, login, SSO, corporate intranets), (2) anti-bot/crawler blocks, CAPTCHA/human verification, (3) JavaScript-heavy sites (SPAs, dynamic content).\n\nAUTH FLOW: If page requires authentication, browser opens and WAITS (up to 10 min) for user to log in, then automatically returns content once loaded. Single call returns correct content, no retry needed.\n\nRULES: (1) ONE URL at a time, never parallel. (2) Wait for full response - may take minutes for auth. (3) Skip only if 404. (4) Returns HTML with clickable links for subpage navigation.",
|
|
402
402
|
inputSchema: {
|
|
403
403
|
type: "object",
|
|
404
404
|
properties: {
|