Esta página se muestra en inglés. Una traducción al español está en curso.
CLI ToolsMay 12, 2026·2 min de lectura

Surf CLI — Control Chrome for AI Agents (No MCP)

Surf CLI lets agents control Chrome via a local extension + native host, offering agent-agnostic browser control without running an MCP server.

Listo para agents

Staging seguro para este activo

Este activo primero queda en staging. El prompt copiado pide inspeccionar los archivos staged antes de activar scripts, config MCP o config global.

Stage only · 17/100Política: staging
Superficie agent
Cualquier agent MCP/CLI
Tipo
CLI Tool
Instalación
Stage only
Confianza
Confianza: Established
Entrada
Asset
Comando de staging seguro
npx -y tokrepo@latest install c0e3d2f5-6f8a-48b6-a6b5-14e1d87f0a7b --target codex

Primero deja archivos en staging; la activación requiere revisar el README y el plan staged.

Introducción

Surf CLI lets agents control Chrome via a local extension + native host, offering agent-agnostic browser control without running an MCP server.

  • Best for: agents that need real browser state (cookies, tabs) and teams who want local-only browser control without extra servers
  • Works with: Node.js + Chrome extension workflow, native host install via surf install, multi-browser flags documented (brave/edge/arc etc.)
  • Setup time: 15–25 minutes

Practical Notes

  • README quick start is a 4-step install: npm global install, load unpacked extension, surf install <extension-id>, then surf tab.list.
  • README lists supported browsers: chrome, chromium, brave, edge, arc, helium (plus --browser all).

A Safe Integration Pattern for Agents

Browser control becomes risky when agents can navigate and click freely. Practical guardrails:

  • Give the agent a “read-only” browsing phase first: list tabs, capture URLs, extract text.
  • Use explicit allowlists for domains your agent is allowed to interact with.
  • Treat extension/native host changes like code: update via PRs, not ad-hoc local edits.

Troubleshooting Checklist

  • If the extension path changes, re-run surf extension-path and reload unpacked extension.
  • If a package manager stores binaries in non-standard locations, the README documents env vars such as SURF_NODE_PATH / SURF_HOST_PATH / SURF_EXTENSION_PATH.

FAQ

Q: Is this MCP-based? A: The README positions Surf as a CLI + extension/native host flow; it emphasizes zero MCP server configuration.

Q: What’s the hardest step? A: Typically loading the unpacked extension and copying the extension ID for surf install.

Q: Can I use other browsers? A: Yes—README lists multiple browsers and shows --browser flags, including --browser all.

🙏

Fuente y agradecimientos

Source: https://github.com/nicobailon/surf-cli > License: MIT > GitHub stars: 477 · forks: 43

Discusión

Inicia sesión para unirte a la discusión.
Aún no hay comentarios. Sé el primero en compartir tus ideas.

Activos relacionados