A Chrome extension for easily generating Model Context Protocol (MCP) commands for Claude Code.
- Easy Command Generation: Generate MCP commands for stdio, SSE, and HTTP server types
- Command Presets: Pre-configured templates for popular tools (Node.js, Python, npm, etc.)
- Custom Commands: Add and manage your own command presets
- Multi-language Support: Available in English and Japanese
- Copy to Clipboard: One-click copying of generated commands
- Download the latest release from Releases
- Extract the ZIP file
- Load the extension in Chrome (see steps 4-5 below)
-
Clone this repository:
git clone https://github.com/Riti0208/cc-mcp-command-generator.git cd cc-mcp-command-generator -
Install dependencies:
npm install
-
Build the extension:
npm run build
-
Load the extension in Chrome:
- Open Chrome and go to
chrome://extensions/ - Enable "Developer mode"
- Click "Load unpacked" and select the project directory
- Open Chrome and go to
- Click the extension icon in Chrome toolbar
- Select server type (stdio, SSE, or HTTP)
- Enter server name and scope
- Choose a command preset or enter custom command
- Add arguments and environment variables as needed
- Click "Generate Command" and copy the result
stdio servers:
claude mcp add my-server -s user node /path/to/server.js -e API_KEY=secretSSE/HTTP servers:
claude mcp add --transport sse my-server -s user https://api.example.com -e API_KEY=secretThe extension includes presets for:
- Node.js -
node /path/to/app.js - Python -
python /path/to/script.py - npm/npx - Package management commands
- Docker - Container commands
- Ruby, Go, Java, Deno, Cargo - Various runtime environments
src/
├── commandGenerator.ts # Core command generation logic
├── commandPresets.ts # Preset management
├── popup-modal.ts # UI controller
├── i18n.ts # Internationalization
└── *.test.ts # Test files
npm run build- Build the extensionnpm test- Run testsnpm run test:watch- Watch mode testingnpm run test:coverage- Coverage report
- TypeScript - Type-safe development
- Webpack - Module bundling
- Jest - Testing framework
- Chrome Extension Manifest V3
The project uses Test-Driven Development (TDD) with comprehensive test coverage:
npm test # Run all tests
npm run test:watch # Watch mode
npm run test:coverage # Coverage report- Fork the repository
- Create a feature branch
- Write tests for new functionality
- Implement the feature
- Ensure all tests pass
- Submit a pull request
MIT License - see LICENSE file for details.