Browseagent MCP
OfficialClick on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Browseagent MCPgo to github.com and take a screenshot"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Browseagent MCP
โจ Features
๐ Full Browser Control - Navigate, click, type, and interact with any website
๐ธ Screenshots & Analysis - Capture and analyze web pages visually
๐ฏ Smart Element Detection - AI-powered element identification and interaction
๐ Real-time Automation - Dynamic connection with Chrome extension
Related MCP server: Rod MCP Server
๐ Quick Start
See Documentation
๐ Security & Privacy
โ Local Communication - All data stays on your machine
โ No Data Collection - We don't store or transmit your browsing data
โ Permission Based - Extension only accesses tabs when explicitly used
โ Open Source - Full transparency in code and operations
๐๏ธ Development
Local Development Setup
# Clone the repository
git clone https://github.com/browseagent/mcp.git
cd mcp
# Install dependencies
npm install
# Create global symlink for development
npm link
# Test the server
npm run testTesting with Claude Desktop (Development)
For local development and testing with Claude Desktop:
# 1. Create global link (one time setup)
npm link
# 2. Configure Claude Desktop to use your local versionAdd to your Claude Desktop MCP configuration:
{
"mcpServers": {
"browseagent-dev": {
"command": "npx",
"args": ["@browseagent/mcp", "--debug"]
}
}
}Development Workflow:
Make changes to your code
Test locally:
npm testTest with Claude Desktop: Restart Claude Desktop to reload the linked package
Iterate and repeat
Alternative: Direct Path Development
For more direct control during development:
{
"mcpServers": {
"browseagent-dev": {
"command": "node",
"args": ["/absolute/path/to/your/project/src/index.js", "--debug"],
"cwd": "/absolute/path/to/your/project"
}
}
}Running in Development Mode
# Run with debugging enabled
npm run dev
# Run with WebSocket mode for extension testing
npm run dev -- --websocket
# Run with watch mode for auto-restart during development
npm run dev -- --websocket --debug๐งช Comprehensive Testing Suite
The project includes a full testing suite to validate all components:
Core Test Commands
# Run full test suite
npm test
# Run all manual tests sequentially
npm run test:all
# Watch mode - auto-run tests on file changes
npm run test:watchIndividual Test Suites
1. Connection Tests (test:connection)
npm run test:connectionWhat it tests:
โ Server startup and initialization
โ WebSocket server creation and binding
โ Extension bridge protocol handshake
โ Architecture validation (STDIO vs WebSocket separation)
โ Port conflict resolution
โ Error handling and timeout scenarios
Use when: Setting up development environment or diagnosing connection issues.
2. Tools Tests (test:tools)
npm run test:toolsWhat it tests:
โ Tool registry loading and structure validation
โ Tool argument validation (required/optional fields)
โ Schema completeness and type checking
โ Tool categorization (navigation, interaction, utility, inspection)
โ Input constraint validation (min/max values, patterns)
โ Error message accuracy for invalid inputs
Use when: Adding new tools or modifying existing tool schemas.
3. Debug Tests (test:debug)
npm run test:debugWhat it tests:
โ Bridge โ Server communication flow
โ Extension connection event propagation
โ Tool call request/response cycle
โ Mock extension handshake simulation
โ Event listener setup and cleanup
โ Status synchronization between components
Use when: Debugging communication issues between bridge and server.
4. Interactive Tool Tests (test:tool)
npm run test:toolWhat it provides:
๐ฎ Interactive CLI for manual tool testing
๐ง Real-time tool execution with live extension
๐ Connection status monitoring
๐ฏ Specific tool argument input and validation
๐ Step-by-step debugging of tool calls
Use when: Manually testing specific tools with real browser extension.
Test Modes
STDIO Mode Testing (Production)
# Test STDIO mode (what Claude Desktop uses)
node src/index.js --debug
# Send test MCP message
echo '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"test","version":"1.0.0"}}}' | node src/index.jsWebSocket Mode Testing (Development)
# Test WebSocket mode (for extension testing)
node src/index.js --websocket --debugAdvanced Testing Scenarios
Integration Testing
# Test with specific port
npm run test:connection -- --port 9999
# Test with timeout scenarios
npm run test:debug -- --timeout 5000
Development Tools
Linting and Code Quality
# Run ESLint
npm run lint
Debugging Tools
# Verbose logging
npm run dev -- --debugDevelopment Scripts
# Start in development mode
npm run start
# Start with debugging enabled
npm run dev
# Quick development test
npm run dev -- --websocket --debugTesting Best Practices
Before Committing
# Run full validation suite
npm run test:all
npm run lint
# Test both modes
node src/index.js --debug # STDIO mode
node src/index.js --websocket --debug # WebSocket modeContinuous Testing During Development
# Watch mode for automatic test runs
npm run test:watch
# Development mode with auto-restart
nodemon src/index.js -- --websocket --debugTesting with Real Extension
Install Chrome extension
Run interactive tool tester:
npm run test:toolConnect extension via popup
Test specific tools interactively
Verify results in browser
Troubleshooting Development Issues
Common Development Problems
Issue | Test Command | Solution |
Extension not connecting |
| Check WebSocket port availability |
Tool validation failing |
| Review tool schema definitions |
Bridge communication broken |
| Verify event listener setup |
Performance issues |
| Profile memory/CPU usage |
Debug Logging Levels
# Minimal logging
node src/index.js
# Standard debug logging
node src/index.js --debug
# Verbose component logging
DEBUG=* node src/index.js --debug
# Specific component debugging
DEBUG=ExtensionBridge,MCPServer node src/index.js --debugBuilding from Source
# Install from source
npm install -g .
# Or run directly
node src/index.js --debug
# Package for distribution
npm pack๐ค Contributing
We welcome contributions! Here's how to get started:
Fork the repository
Create a feature branch:
git checkout -b feature/amazing-featureSet up development environment:
npm install && npm linkMake your changes and test:
npm testTest with Claude Desktop using the development configuration
Commit changes:
git commit -m 'Add amazing feature'Push to branch:
git push origin feature/amazing-featureOpen a Pull Request
Development Setup
# Clone your fork
git clone https://github.com/your-username/browseagent-mcp.git
cd browseagent-mcp
# Install dependencies
npm install
# Create development link
npm link
# Install the Chrome extension in development mode
npm run build:extension
# Test your changes
npm testDevelopment Tools
ESLint:
npm run lintTests:
npm testDebug mode:
npm run dev -- --debugWebSocket mode:
npm run dev -- --websocket
๐ API Reference
MCP Protocol
This server implements the Model Context Protocol specification:
Protocol Version:
2024-11-05Capabilities: Tools
Transport: stdio
Tool Schemas
All tools follow the MCP tool schema format. See the API documentation for detailed schemas and examples.
๐๏ธ Project Structure
src/
โโโ index.js # Main entry point
โโโ server/ # MCP server implementation
โ โโโ MCPServer.js # Core MCP protocol handler
โ โโโ transports/ # Communication transports
โโโ bridge/ # Chrome extension bridge
โ โโโ ExtensionBridge.js
โโโ tools/ # Tool definitions and registry
โ โโโ ToolRegistry.js
โโโ utils/ # Utilities and helpers
โ โโโ Logger.js
โโโ config/ # Configuration management
| โโโ Config.js
โโโ test/
โโโ connection.test.js # Test connection script
โโโ tools.test.js # Test tools script
๐ Documentation
๐ Tools Reference
๐ Support
๐ Bug Reports: GitHub Issues
๐ฌ Discussions: GitHub Discussions
๐ง Email: hello@browseagent.pro
๐ฆ Twitter: @Browseagent
๐ License
This project is licensed under the MIT License - see the LICENSE file for details.
๐ Acknowledgments
Anthropic - For MCP protocol
Chrome Extension API - For enabling secure browser automation
Open Source Community - For tools and inspiration
๐ฆ Follow updates โข ๐ Read docs
Made with โค๏ธ by the BoostGPT team
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/browseagent/mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server