npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

chrome-devtools-mcp-for-extension

v0.26.3

Published

MCP server for Chrome extension development with Web Store automation. Fork of chrome-devtools-mcp with extension-specific tools.

Readme

Chrome DevTools MCP for Extension Development

npm chrome-devtools-mcp-for-extension package

AI-powered Chrome extension development via MCP

Built for: Claude Code, Cursor, VS Code Copilot, Cline, and other MCP-compatible AI tools


Quick Start (5 minutes)

1. Run the server

npx chrome-devtools-mcp-for-extension@latest

2. Configure your MCP client

For Claude Code (~/.claude.json):

{
  "mcpServers": {
    "chrome-devtools-extension": {
      "command": "npx",
      "args": ["chrome-devtools-mcp-for-extension@latest"]
    }
  }
}

3. Verify it works

Restart your AI client and ask: "List all my Chrome extensions"

Load development extensions (optional)

{
  "mcpServers": {
    "chrome-devtools-extension": {
      "command": "npx",
      "args": [
        "chrome-devtools-mcp-for-extension@latest",
        "--loadExtensionsDir=/path/to/your/extensions"
      ]
    }
  }
}

What You Can Do

  • Extension Development: Load, debug, and hot-reload Chrome extensions
  • Browser Automation: Navigate, click, fill forms, take screenshots
  • Performance Analysis: Trace recording and insight extraction
  • AI Research: Automated ChatGPT/Gemini interactions
  • Web Store Submission: Automated screenshot generation and submission

Tools Reference

Core Tools (18)

| Tool | Description | Key Parameters | |------|-------------|----------------| | take_snapshot | Get page structure with element UIDs | - | | take_screenshot | Capture page or element image | fullPage, uid | | click | Click element by UID | uid, dblClick | | fill | Fill input/textarea/select | uid, value | | fill_form | Fill multiple form elements | elements[] | | hover | Hover over element | uid | | drag | Drag element to another | from_uid, to_uid | | upload_file | Upload file through input | uid, filePath | | navigate | Go to URL, back, forward | op, url | | pages | List, select, close tabs | op, pageIdx | | wait_for | Wait for text to appear | text, timeout | | handle_dialog | Accept/dismiss dialogs | action | | resize_page | Change viewport size | width, height | | emulate | CPU/network throttling | target, throttlingRate | | network | List/get network requests | op, url | | performance | Start/stop/analyze traces | op, insightName | | evaluate_script | Run JavaScript in page | function | | list_console_messages | Get console output | - |

Optional Tools (2) - Web-LLM

| Tool | Description | Key Parameters | |------|-------------|----------------| | ask_chatgpt_web | Ask ChatGPT via browser | question, createNewChat | | ask_gemini_web | Ask Gemini via browser | question, createNewChat |

Full documentation: docs/reference/tools.md


Plugin Architecture (v0.26.0)

Disable Web-LLM tools

{
  "env": {
    "MCP_DISABLE_WEB_LLM": "true"
  }
}

Load external plugins

{
  "env": {
    "MCP_PLUGINS": "./my-plugin.js,@org/another-plugin"
  }
}

Plugin interface:

export default {
  id: 'my-plugin',
  name: 'My Custom Plugin',
  version: '1.0.0',
  async register(ctx) {
    ctx.registry.register({
      name: 'my_tool',
      description: 'Does something useful',
      schema: { /* zod schema */ },
      async handler(input, response, context) { /* implementation */ },
    });
  },
};

For Developers

Local development setup

git clone https://github.com/usedhonda/chrome-devtools-mcp.git
cd chrome-devtools-mcp
npm install && npm run build

Configure ~/.claude.json to use local version:

{
  "mcpServers": {
    "chrome-devtools-extension": {
      "command": "node",
      "args": ["/absolute/path/to/chrome-devtools-mcp/scripts/cli.mjs"]
    }
  }
}

Hot-reload development

{
  "mcpServers": {
    "chrome-devtools-extension": {
      "command": "node",
      "args": ["/absolute/path/to/chrome-devtools-mcp/scripts/mcp-wrapper.mjs"],
      "cwd": "/absolute/path/to/chrome-devtools-mcp",
      "env": { "MCP_ENV": "development" }
    }
  }
}

Benefits: Auto-rebuild on file changes, 2-5 second feedback loop.

See also: docs/dev/hot-reload.md

Commands

npm run build      # Build TypeScript
npm run typecheck  # Type check
npm test           # Run tests
npm run format     # Format code

Project structure

chrome-devtools-mcp/
├── src/
│   ├── tools/           # MCP tool definitions
│   ├── plugin-api.ts    # Plugin architecture
│   ├── browser.ts       # Browser management
│   └── main.ts          # Entry point
├── scripts/
│   ├── cli.mjs          # Production entry
│   └── mcp-wrapper.mjs  # Development wrapper
└── docs/                # Documentation

Documentation

| Guide | Description | |-------|-------------| | Setup Guide | Detailed MCP configuration | | Workflows | Common usage patterns | | Troubleshooting | Problem solving | | Tools Reference | Full tool documentation | | Hot-Reload Setup | Developer workflow |


Troubleshooting

Extension not loading

  • Verify manifest.json is at extension root
  • Use absolute paths in --loadExtensionsDir

MCP server issues

npx clear-npx-cache && npx chrome-devtools-mcp-for-extension@latest

More: docs/user/troubleshooting.md


Credits

Fork of Chrome DevTools MCP by Google LLC.

Additions: Extension development tools, Web Store automation, ChatGPT/Gemini integration, hot-reload workflow.


License

Apache-2.0

Version: 0.26.1 Repository: https://github.com/usedhonda/chrome-devtools-mcp