Cette page est affichée en anglais. Une traduction française est en cours.
CLI ToolsMay 12, 2026·2 min de lecture

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.

Prêt pour agents

Cet actif peut être lu et installé directement par les agents

TokRepo expose une commande CLI universelle, un contrat d'installation, le metadata JSON, un plan selon l'adaptateur et le contenu raw pour aider les agents à juger l'adaptation, le risque et les prochaines actions.

Native · 94/100Policy : autoriser
Surface agent
Tout agent MCP/CLI
Type
Cli
Installation
Single
Confiance
Confiance : Established
Point d'entrée
README.md
Commande CLI universelle
npx tokrepo install c0e3d2f5-6f8a-48b6-a6b5-14e1d87f0a7b
Introduction

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.

🙏

Source et remerciements

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

Fil de discussion

Connectez-vous pour rejoindre la discussion.
Aucun commentaire pour l'instant. Soyez le premier à partager votre avis.

Actifs similaires