This extension is built with deep appreciation for the incredible work of the GitMCP team who created the amazing service that makes MCP configurations accessible to developers worldwide.
A Chrome extension that provides one-click MCP (Model Context Protocol) configuration copying for GitHub repositories.
- Context Menu Integration: Right-click on any GitHub repository link to access MCP configurations
- Multi-Platform Support: Get configurations for Cursor, Claude Desktop, Windsurf, VSCode, Cline, Highlight AI, Augment Code, and Msty Studio
- One-Click Copy: Copy JSON configurations directly to clipboard
- Tabbed Interface: Clean, organized interface with tabs for different development tools
- Real-time Fetching: Fetches the latest configurations from gitmcp.io
- Error Handling: Robust error handling with user-friendly messages
The extension will be available on the Chrome Web Store.
-
Download the Extension
- Download the latest release ZIP file from Releases
- Or clone this repository:
git clone https://github.com/username/git-mcp-extension.git
-
Install in Chrome
- Open Chrome and navigate to
chrome://extensions/
- Enable "Developer mode" (toggle in top-right corner)
- Click "Load unpacked"
- Select the extension folder (or extract the ZIP and select the folder)
- Open Chrome and navigate to
-
Verify Installation
- You should see "GitMCP JSON Copier" in your extensions list
- The extension icon should appear in your Chrome toolbar
- Navigate to GitHub: Visit any GitHub repository page
- Right-click on Repository Link: Right-click on any GitHub repository link
- Select GitMCP Option: Choose "GitMCP JSON Copier" β "Get GitMCP Config"
- View Configurations: A popup will appear with tabbed configurations for different tools
- Copy Configuration: Click the "Copy" button for your desired tool
- Msty Studio: AI-powered development environment
- Cursor: AI-first code editor
- Claude Desktop: Anthropic's Claude desktop application
- Windsurf: Modern development environment
- VSCode: Visual Studio Code with MCP extensions
- Cline: AI coding assistant
- Highlight AI: AI-powered code analysis
- Augment Code: Code enhancement tools
Use the "Chat with this Repo" option to open an AI chat interface with the repository context on gitmcp.io.
- Chrome browser
- Basic knowledge of Chrome extension development
git-mcp-extension/
βββ manifest.json # Extension manifest (Manifest V3)
βββ background.js # Service worker for context menus and API calls
βββ content.js # Content script for popup injection
βββ popup.html # Popup HTML (legacy)
βββ popup.js # Popup JavaScript (legacy)
βββ popup.css # Popup styles (legacy)
βββ utils.js # Shared utility functions
βββ icons/ # Extension icons
β βββ icon16.png
β βββ icon48.png
β βββ icon128.png
βββ README.md
- Handles context menu creation and clicks
- Fetches configurations from gitmcp.io
- Parses HTML responses to extract JSON configurations
- Stores data for popup display
- Injects modal popup directly into web pages
- Creates tabbed interface for different tools
- Handles clipboard operations
- Provides responsive design
- Clipboard operations with fallbacks
- HTML escaping and JSON parsing
- Text cleaning utilities
-
Clone the Repository
git clone https://github.com/username/git-mcp-extension.git cd git-mcp-extension
-
Load in Chrome
- Open
chrome://extensions/
- Enable Developer mode
- Click "Load unpacked"
- Select the project directory
- Open
-
Make Changes
- Edit the source files as needed
- Reload the extension in Chrome to test changes
# Create a ZIP package for distribution
powershell -Command "Compress-Archive -Path 'manifest.json','background.js','content.js','popup.html','popup.js','popup.css','utils.js','icons' -DestinationPath '.\GitMCP-JSON-Copier-v1.2.0.zip' -Force"
We welcome contributions! Here's how you can help:
- Check if the issue already exists in Issues
- Create a new issue with:
- Clear description of the problem
- Steps to reproduce
- Expected vs actual behavior
- Browser version and OS
- Fork the Repository
- Create a Feature Branch
git checkout -b feature/your-feature-name
- Make Your Changes
- Follow existing code style
- Add comments for complex logic
- Test thoroughly
- Commit Your Changes
git commit -m "Add your feature description"
- Push to Your Fork
git push origin feature/your-feature-name
- Create a Pull Request
- Use meaningful variable and function names
- Add comments for complex logic
- Test on multiple websites and scenarios
- Ensure compatibility with Manifest V3
- Follow Chrome extension best practices
- Ensure Developer mode is enabled
- Check for console errors in
chrome://extensions/
- Verify the extension is enabled
- Make sure you're right-clicking on a GitHub repository link
- Check that the link matches the pattern:
https://github.com/owner/repo
- Verify internet connection
- Check if gitmcp.io is accessible
- Look for errors in the browser console
- Ensure the page is served over HTTPS
- Try the fallback copy method if clipboard API fails
- Check browser permissions
Enable debug logging by opening Chrome DevTools:
- Right-click on any page β "Inspect"
- Go to "Console" tab
- Look for "GitMCP" prefixed messages
This project is licensed under the MIT License - see the LICENSE file for details.
- GitMCP for providing the MCP configuration service
- Model Context Protocol for the underlying technology
- Chrome Extensions team for the development platform
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Email: [Create an issue for support requests]
- Enhanced popup interface with tabbed layout
- Added support for Msty Studio configurations
- Improved error handling and user feedback
- Better responsive design for various screen sizes
- Added support for multiple development tools
- Improved configuration parsing
- Enhanced clipboard functionality
- Initial release
- Basic MCP configuration copying
- Context menu integration
Made with β€οΈ for the developer community