← Package Index
mcp-browser mcp
v1.0.0 · MCP Tool · web · registry.pascalai.org
Headless web browser automation. Operations: navigate, get_text, get_html, screenshot, click, fill, execute_js, wait. Uses system browser (Chrome/Edge). Requires Chrome/Chromium installed.
browser automation web scraping headless chrome
Input Parameters
Parameter Type Description
operationrequired
string
Operation to perform. One of: navigate, get_text, get_html, screenshot, click, fill, execute_js, wait.
urloptional
string
URL to navigate to.
selectoroptional
string
CSS selector for click/fill/wait operations.
scriptoptional
string
JavaScript to execute for execute_js.
valueoptional
string
Value to fill into an input field.
outputPathoptional
string
File path to save screenshot.
waitUntiloptional
string
Wait condition: load, domcontentloaded, networkidle (default: load). Default: load.
timeoutoptional
integer
Timeout in milliseconds (default: 30000). Default: 30000.
headlessoptional
boolean
Run in headless mode (default: true). Default: True.
Output Fields
Field Type Description
text
string
html
string
screenshot
string
result
string
ok
boolean
error
string
Examples
Get page text
// Input
{
"operation": "get_text",
"url": "https://example.com"
}
// Output
{
"text": "Example Domain...",
"ok": true
}
Install & Discovery
Install
ppm install mcp-browser
Get JSON Schema
GET /v1/packages/mcp-browser/1.0.0/schema
Discover by keyword
GET /v1/mcp/discover?q=browser
Discovery hint: Install with ppm install mcp-browser or invoke remotely via POST /v1/invoke/mcp-browser on the MCP Service.
PascalAI Usage
uses toolslib;
var Tool := LoadTool('mcp-browser');
var R := Tool.Call(JsonObj(['operation','get_text','url','https://example.com']));
Writeln(R.ToJSON);