MG

mmadfox/go-crx3

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

57 stars 12 forks 质量 63 趋势 8Apache-2.0

带有MCP集成的Chrome浏览器扩展工具。打包、解压、压缩、解压、下载和管理CRX3扩展——现已通过Model Context协议支持AI。

概览

🤖 一套现代化、全面的CRX3 Chrome扩展管理工具集——打包、拆包、下载、分析并用AI自动化。 👉 — 光标、Claude Desktop、Opencode、Crush等的设置说明。 该工具通过模型上下文协议(MCP)实现无缝交互: - ✅ — 与你的扩展聊天,自动生成包 - ✅ — 自然语言CRX3操作 - ✅ — 自动化扩展工作流程 - ✅ — AI辅助扩展管理 - ✅ — HTTP/SSE或stdio传输 通过由AI驱动的自然语言命令自动化CRX3操作。 💡 所有命令均支持 --help for detailed usage : crx3 pack --help 从Releases下载预构建的二进制文件。 - 📘 CRX3格式规范 - 🤖 模型上下文协议 - 🐛 错误报告与问题

概述(AI 翻译)

🤖 通过模型上下文协议(MCP)实现的AI兼容Chrome扩展工具 一套现代化、全面的CRX3 Chrome扩展管理工具集——可打包、拆包、下载、分析并自动化,并结合AI实现自动化。

👉 MCP 配置指南 — 光标、Claude 桌面、Opencode、Crush 等设置说明。


✨ 特色

特色 描述
📦 打包并解包创建和提取带密钥管理的已签名CRX3包
🗜️ 压缩解压 处理具有灵活输出路径的扩展压缩包
⬇️ 下载 通过ID或URL从Chrome网店获取扩展
🔑 ID生成 从公钥生成扩展ID(SHA-256)
🔍 分析 检查清单、权限和扩展元数据
🤖 MCP 支持 通过模型上下文协议实现原生 AI 集成

🤖 MCP集成

该工具通过模型上下文协议(MCP)**兼容AI,实现与以下无缝交互:

  • ✅ 光标IDE — 与你的扩展聊天,自动生成包
  • ✅ Claude Desktop — 自然语言 CRX3 操作
  • ✅ Opencode — 自动化扩展工作流程

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

crx3

🤖 AI-ready Chrome extension tooling via Model Context Protocol (MCP)
A modern, comprehensive toolset for CRX3 Chrome extension management — pack, unpack, download, analyze, and automate with AI.

👉 MCP Configuration Guide — Setup instructions for Cursor, Claude Desktop, Opencode, Crush & more.


✨ Features

Feature Description
📦 Pack & Unpack Create and extract signed CRX3 packages with key management
🗜️ Zip & Unzip Handle extension archives with flexible output paths
⬇️ Download Fetch extensions from Chrome Web Store by ID or URL
🔑 ID Generation Generate extension IDs from public keys (SHA-256)
🔍 Analyze Inspect manifest, permissions, and extension metadata
🤖 MCP Support Native AI integration via Model Context Protocol

🤖 MCP Integration

This tool is AI-compatible through Model Context Protocol (MCP), enabling seamless interaction with:

  • ✅ Cursor IDE — Chat with your extensions, auto-generate packs
  • ✅ Claude Desktop — Natural language CRX3 operations
  • ✅ Opencode — Automated extension workflows
  • ✅ Crush — AI-assisted extension management
  • ✅ Any MCP client — HTTP/SSE or stdio transport

Automate CRX3 operations through natural language commands powered by AI.

# Start MCP server (stdio mode for local AI clients)
crx3 mcp

# Or run over HTTP/SSE for remote clients 
crx3 mcp --listen=locahost:3000
crx3 mcp --listen=localhost:3000 --sse 

📖 See MCP.md for detailed setup instructions.


🛠️ Command Reference

Tool Purpose
crx3 pack Pack directory/zip into signed .crx extension
crx3 unpack Extract .crx file contents to directory
crx3 download Download .crx extension by ID or Chrome Web Store URL
crx3 search Search Chrome Web Store by name/keywords (via DuckDuckGo)
crx3 zip Create .zip archive from directory
crx3 unzip Extract .zip archive contents
crx3 base64 Encode file to Base64 string
crx3 getid Extract Chrome Extension ID from .crx or directory
crx3 scan List/filter downloaded extensions in workspace
crx3 workspace Get absolute path to workspace root
crx3 version Show CRX3 tool version
crx3 mcp Start MCP server for AI integration
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →