extension_dev
Run the extension while you edit it (dev build, hot reload, browser): the first call for "run my extension".
Quick start
Run my extension in Chrome and let me act on it
Asked to run the extension, the agent starts the session and the browser opens with it loaded.
How the agent uses it
ready.status "ready" means nothing else to call. extension_start runs the production build.
Reference
| Group | local, on by default |
| Tier | Run |
| Needs | none |
| Read only | no |
| Destructive | no |
| Idempotent | no |
| Reaches the open web | no |
Inputs
| Input | Type | Required | Default | What it does |
|---|---|---|---|---|
projectPath | string | yes | Extension project root | |
browser | "chrome" | "chromium" | "edge" | "brave" | "opera" | "vivaldi" | "yandex" | "firefox" | "waterfox" | "librewolf" | "zen" | "floorp" | "safari" | "chromium-based" | "gecko-based" | "firefox-based" | "webkit-based" | no | "chrome" | Target browser; *-based pairs with chromiumBinary or geckoBinary. |
port | number | no | Port (0 picks one). | |
noBrowser | boolean | no | false | No browser. |
polyfill | boolean | no | true | Cross-browser polyfill. |
profile | string | no | Profile path; "false" reuses the real one. | |
startingUrl | string | no | URL opened on launch. | |
chromiumBinary | string | no | Chromium binary; browser still names the target family. | |
geckoBinary | string | no | Gecko binary; browser still names the target family. | |
host | string | no | Bind host (default 127.0.0.1). | |
publicHost | string | no | Host the browser dials, if not host. | |
extensions | array of string | no | Extra extensions to load. | |
headless | boolean | no | true: headless; false: a visible window; omitted: env decides. | |
appName | string | no | Safari: app name. | |
bundleId | string | no | Safari: your reverse-DNS bundle id. | |
developmentTeam | string | no | Safari: Apple team id; omitted, ad-hoc. | |
macOsOnly | boolean | no | true | Safari: false adds iOS and iPadOS. |
forceRegenerate | boolean | no | false | Safari: regenerate the Xcode project. |
enableExtension | boolean | no | false | Safari: enable it in Settings (Accessibility grant). |
replace | boolean | no | false | Replace this project's session; else refused. |
allowControl | boolean | no | true | Control channel for the bridge verbs. |
wait | boolean | no | true | Wait up to 45 s for ready. |
allowEval | boolean | no | false | Enable extension_eval; implies allowControl. |
Next
- MCP server: install, the two groups and the session gates
- Install in your client
extension_start: Run the PRODUCTION build in a browser (extension_dev is for writing code); no hot reload or extension_logs.extension_stop: Stop a dev or start session, naming the server and browser pid it ended.extension_try: Run a published extension.dev build in a fresh profile on this machine, no install, and screenshot it; warn the person about what it can reach.extension_wait: Wait for a session to be ready, or for: "rebuild" after an edit; only after wait:false, a ready.status not "ready", or noBrowser; answers port, controlPort and cdpPort or rdpPort.