Local-first AI browser agent and MCP server for Chrome — runs on Ollama or any cloud model. Open-source alternative to OpenAI Operator.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add weboperator --env WEBOPERATOR_API_TOKEN='<WEBOPERATOR_API_TOKEN>' -- npx -y weboperator-mcp~/.codex/config.toml
[mcp_servers.weboperator]
command = "npx"
args = ["-y", "weboperator-mcp"]
env = { WEBOPERATOR_API_TOKEN = "<WEBOPERATOR_API_TOKEN>" }
# codex mcp add weboperator --env WEBOPERATOR_API_TOKEN='<WEBOPERATOR_API_TOKEN>' -- npx -y weboperator-mcp~/.cursor/mcp.json
{
"mcpServers": {
"weboperator": {
"command": "npx",
"args": [
"-y",
"weboperator-mcp"
],
"env": {
"WEBOPERATOR_API_TOKEN": "<WEBOPERATOR_API_TOKEN>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"weboperator": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"weboperator-mcp"
],
"env": {
"WEBOPERATOR_API_TOKEN": "<WEBOPERATOR_API_TOKEN>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"weboperator": {
"command": "npx",
"args": [
"-y",
"weboperator-mcp"
],
"env": {
"WEBOPERATOR_API_TOKEN": "<WEBOPERATOR_API_TOKEN>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"weboperator": {
"command": "npx",
"args": [
"-y",
"weboperator-mcp"
],
"env": {
"WEBOPERATOR_API_TOKEN": "<WEBOPERATOR_API_TOKEN>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"weboperator": {
"command": "npx",
"args": [
"-y",
"weboperator-mcp"
],
"env": {
"WEBOPERATOR_API_TOKEN": "<WEBOPERATOR_API_TOKEN>"
}
}
}
}Environment variables
WEBOPERATOR_API_TOKEN
Replace the placeholders with your own credentials and keep them out of version control.