Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
@browserbasehq/mcp-stagehand
Advanced tools
A Model Context Protocol (MCP) server that provides AI-powered web automation capabilities using Stagehand. This server enables LLMs to interact with web pages, perform actions, extract data, and observe possible actions in a real browser environment.
Run npm install
to install the necessary dependencies, then run npm run build
to get dist/index.js
.
Set up your Claude Desktop configuration to use the server.
{
"mcpServers": {
"stagehand": {
"command": "node",
"args": ["path/to/mcp-server-browserbase/stagehand/dist/index.js"],
"env": {
"BROWSERBASE_API_KEY": "<YOUR_BROWSERBASE_API_KEY>",
"BROWSERBASE_PROJECT_ID": "<YOUR_BROWSERBASE_PROJECT_ID>",
"OPENAI_API_KEY": "<YOUR_OPENAI_API_KEY>",
}
}
}
}
Restart your Claude Desktop app and you should see the tools available clicking the 🔨 icon.
Start using the tools! Below is a demo video of Claude doing a Google search for OpenAI using stagehand MCP server and Browserbase for a remote headless browser.
stagehand_navigate
url
(string): The URL to navigate tostagehand_act
action
(string): The action to perform (e.g., "click the login button")variables
(object, optional): Variables used in the action templatestagehand_extract
instruction
(string): Instruction for extraction (e.g., "extract the price of the item")schema
(object): JSON schema for the extracted datastagehand_observe
instruction
(string, optional): Instruction for observationThe server provides access to two types of resources:
Console Logs (console://logs
)
Screenshots (screenshot://<name>
)
Licensed under the MIT License.
Copyright 2024 Browserbase, Inc.
FAQs
MCP server for AI web browser automation using Stagehand
We found that @browserbasehq/mcp-stagehand demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.