@extension.dev/mcp is the Extension.js MCP server. It exposes the whole Extension.js workflow as Model Context Protocol tools. An AI agent can build your extension, run it, and verify the result in a real browser. The tools are build-aware: they know your project, your generated manifest, and your dev session.
Every tool lives under the extension_* namespace, and the server ships 28 of them. The table below covers the ones that you reach for most.
Install the server
The core tools
The session model
extension_dev is the entry point. It is the only tool that unlocks the local control channel that the act verbs ride:
extension_storage,extension_reload, andextension_openneed a session started withallowControl: true.extension_evalneeds a session started withallowEval: true, which writes a session token file with0600permissions.
Device login
The server includes a device login for the extension.dev platform:extension.dev/device. Minted tokens live at most 7 days, server-enforced.
The stored login is also the third token source for extension publish. The CLI resolves a token in this order: the --token flag, then the EXTENSION_DEV_TOKEN environment variable, then the stored device login.
Engine pinning for scaffolds
Projects scaffolded through the server’s create tool declare the Extension.js engine version inside the project itself. The project-local pin wins over the server environment, so later sessions build with the version that the scaffold declared.Next steps
- Run it beside Google’s Chrome debugging server: Chrome DevTools MCP hosts the full capability comparison.
- Connect the docs to your assistant too: AI access via MCP and llms.txt.
- Wire the same checks into CI: CI templates.

