headlessstage
Allows for the execution and evaluation of JavaScript code within the context of a visited web page.
Provides a Puppeteer-compatible executor interface that the server uses to drive a headless browser and perform browser automation tasks like navigation and interaction.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
headlessstage
Browser automation through a headless browser page, as a CLI and a stdio MCP server in one bin. Navigate to a URL, click, hover, fill and select form elements, take named screenshots and evaluate JavaScript in the page.
The browser itself sits behind an injectable executor interface
(BrowserExecutor in src/types.ts). This package bundles no
browser and downloads none: with no executor configured, browser
commands fail with a clear "Browser unavailable" error. Deployments
inject a Puppeteer-compatible executor to drive a real browser.
Launch options that weaken browser security (--no-sandbox,
--disable-web-security, --allow-insecure-localhost) are
rejected unless a call explicitly passes allowDangerous: true.
Install
npx -y @reneturcios/headlessstage mcpRelated MCP server: Cloudflare Playwright MCP
CLI
headlessstage mcp # stdio MCP server
headlessstage navigate <url>
headlessstage screenshot <name> [selector]
headlessstage click <selector>
headlessstage fill <selector> <value>
headlessstage evaluate <script>
headlessstage --versionExit codes: 0 success, 1 browser error, 2 usage error.
MCP tools
Tool | Purpose |
| Navigate to any URL in the browser |
| Capture screenshots of the entire page or specific elements |
| Click elements on the page |
| Hover elements on the page |
| Fill out input fields |
| Select an element with a SELECT tag |
| Execute JavaScript in the browser console |
MCP client config:
{
"mcpServers": {
"headlessstage": {
"command": "npx",
"args": ["-y", "@reneturcios/headlessstage", "mcp"]
}
}
}Docker
docker run -i ghcr.io/cloudcorprecords/headlessstage # MCP server
docker run --rm ghcr.io/cloudcorprecords/headlessstage --versionDevelopment
npm install
npm run build
npm testMIT license.
This server cannot be deployed
Maintenance
Related MCP Connectors
Hosted browser for agents: open pages, search the web, extract data, read PDFs and take screenshots.
Control a real browser from AI agents: navigate, click, type, screenshot, read the page.
Stealth web automation for AI agents. Login, signup, navigate, screenshot.
Stealth web automation for AI agents. Login, signup, navigate, screenshot.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables AI agents to automate browser interactions including navigation, content extraction, form filling, screenshots, and JavaScript execution across multiple tabs using Puppeteer.2722 npm1MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to control a browser for web automation tasks like navigation, typing, clicking, and taking screenshots.Apache 2.0
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to control a browser for web automation tasks such as navigation, typing, clicking, and taking screenshots.Apache 2.0
- FlicenseNot gradedqualityCmaintenanceEnables browser automation via Chrome, allowing navigation, clicking, typing, screenshotting, and replayable flows for web tasks.-