Skip to content

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.

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 ​

Grouplocal, on by default
TierRun
Needsnone
Read onlyno
Destructiveno
Idempotentno
Reaches the open webno

Inputs ​

InputTypeRequiredDefaultWhat it does
projectPathstringyesExtension 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.
portnumbernoPort (0 picks one).
noBrowserbooleannofalseNo browser.
polyfillbooleannotrueCross-browser polyfill.
profilestringnoProfile path; "false" reuses the real one.
startingUrlstringnoURL opened on launch.
chromiumBinarystringnoChromium binary; browser still names the target family.
geckoBinarystringnoGecko binary; browser still names the target family.
hoststringnoBind host (default 127.0.0.1).
publicHoststringnoHost the browser dials, if not host.
extensionsarray of stringnoExtra extensions to load.
headlessbooleannotrue: headless; false: a visible window; omitted: env decides.
appNamestringnoSafari: app name.
bundleIdstringnoSafari: your reverse-DNS bundle id.
developmentTeamstringnoSafari: Apple team id; omitted, ad-hoc.
macOsOnlybooleannotrueSafari: false adds iOS and iPadOS.
forceRegeneratebooleannofalseSafari: regenerate the Xcode project.
enableExtensionbooleannofalseSafari: enable it in Settings (Accessibility grant).
replacebooleannofalseReplace this project's session; else refused.
allowControlbooleannotrueControl channel for the bridge verbs.
waitbooleannotrueWait up to 45 s for ready.
allowEvalbooleannofalseEnable 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.