Skip to content

extension_create ​

Create a new extension from a template (extension_templates_read), plain JavaScript too; it may init git.

Quick start ​

Create a new tab extension with React in ./my-newtab

Asked for a React new tab extension, the agent scaffolds it from a template and lists what landed.

Asked for a React new tab extension, the agent scaffolds it from a template and lists what landed.

How the agent uses it ​

Answers the project path, verified, so the next step is extension_dev, not a build. extension_feature_plan adds to an existing project; extension_project_create puts a folder on extension.dev. Sends a draft_seeded event (off: readme Telemetry section).

Reference ​

Grouplocal, on by default
TierCreate and build
Needsnone
Read onlyno
Destructiveno
Idempotentno
Reaches the open webyes

Inputs ​

InputTypeRequiredDefaultWhat it does
projectNamestringyesProject directory name. Alias: name.
parentDirstringnoWhere to create it; default the MCP server process cwd. Aliases: parent, into.
templatestringno"typescript"Catalog slug, e.g. 'react'.
installbooleannotrueInstall dependencies.

When it fails ​

  • The answer depends on the network. This tool reaches the open web, so a refusal can be the network, not the project.

Next ​

  • MCP server: install, the three groups and the session gates
  • Install in your client
  • extension_build: Build an extension into dist/<browser>/ on this machine, one browser a call.
  • extension_docs_search: Search the Extension.js and extension.dev docs (free) for a WebExtension API, a manifest key, a permission or a browser difference.
  • extension_feature_plan: Plan the surface before adding an options page, a popup, a side panel, a content script, a devtools panel, a new tab page or a background script.
  • extension_templates_read: Browse the template catalog or read a template's files.