@sydneyassistent/codingbaby-browser-mcp
v1.1.6
Published
MCP tool for communicating with a Chrome extension via WebSocket
Maintainers
Readme
CodingBaby-Browser-MCP
What is CodingBaby-Browser-MCP?
CodingBaby-Browser-MCP is a powerful tool that allows AI agents like Claude 3.7 Sonnet in Cursor to control your Chrome browser for automated tasks. With this tool, your AI assistant can:
- Fill out web forms automatically
- Perform automated testing of websites
- Navigate through complex web applications
- Publish content to websites
- Take screenshots of web pages
- Extract data from websites
- Execute any browser-based workflow
Setup Guide
This tool requires two components to work properly:
- The MCP Tool Server - Connects your AI assistant to your browser
- The Chrome Extension - Allows the MCP tool to control your browser
Step 1: Install the MCP Tool in Cursor
- Open Cursor and click on Settings
- Select MCP
- Click Add new global MCP server
- Add the following JSON configuration (be careful with commas if you have other MCP tools):
{
"mcpServers": {
"CodingBaby-Browser-MCP": {
"command": "npx",
"args": ["@sydneyassistent/codingbaby-browser-mcp"]
}
// Your other MCP tools may be here
}
}Step 2: Install the Chrome Extension
- Visit the Chrome Web Store at: CodingBaby Extension
- Click "Add to Chrome"
- Follow the prompts to complete installation
Step 3: Select Claude 3.7 Sonnet in Cursor
For the best experience, make sure to use Claude 3.7 Sonnet as your AI model, as it provides superior instruction-following capabilities and visual interaction support.
Step 4: Verify MCP Connection
- Go to Cursor → Settings → MCP
- Click the "Refresh" button to reload MCP tools
- If the MCP status indicator turns green, your connection is working properly
Troubleshooting
MCP Shows Red Status
If the MCP status indicator is red in Cursor:
- Click the "Refresh" button to restart the MCP connection
- Wait a few seconds for the connection to re-establish
Port 9876 Conflict
If you see an error about port 9876 being in use:
- Click "Refresh" in Cursor's MCP settings
- The tool will automatically attempt to resolve the conflict
Updating the MCP Tool
To get the latest version of the CodingBaby-Browser-MCP:
- Go to Cursor → Settings → MCP
- Click the "Refresh" button
- The tool will automatically pull and install the latest version
Testing Your Setup
Once everything is installed, ask Claude 3.7 in Cursor to perform a simple browser task, such as:
"Use the CodingBaby-Browser-MCP to open Google's homepage"
If successful, you'll see your Chrome browser automatically open Google's homepage.
Available Tools
The following browser control tools are available:
navigate: Go to any URLclick: Click at specific coordinates on the pagetype: Enter text into formspress_key: Simulate keyboard actionsscroll: Scroll in any directionarea_screenshot: Capture specific areas of the screenwait: Pause for a specified durationbatch: Execute multiple operations in sequenceset_viewport: Change browser window sizetab_new: Open new browser tabstab_list: List all open tabstab_select: Switch between tabstab_close: Close one tabclose: Close all tabs
