Mcp — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Mcp (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
<p align="left"> Control web browsers directly through AI applications conversation interface using the Model Context Protocol (MCP). <br /> <a href="https://browseagent.pro"><strong>Website</strong></a> • <a href="https://docs.browseagent.pro"><strong>Documentation</strong></a> • <a href="https://discord.gg/mt8pGkgUZj"><strong>Community</strong></a> </p>
<a href="https://docs.browseagent.pro"><strong>See Documentation</strong></a>
# 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 testFor 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:
npm testFor 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"
}
}
}# 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 --debugThe 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:watch#### Individual Test Suites
##### 1. Connection Tests (test:connection)
npm run test:connectionWhat it tests:
Use when: Setting up development environment or diagnosing connection issues.
##### 2. Tools Tests (test:tools)
npm run test:toolsWhat it tests:
Use when: Adding new tools or modifying existing tool schemas.
##### 3. Debug Tests (test:debug)
npm run test:debugWhat it tests:
Use when: Debugging communication issues between bridge and server.
##### 4. Interactive Tool Tests (test:tool)
npm run test:toolWhat it provides:
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.js##### WebSocket Mode Testing (Development)
# Test WebSocket mode (for extension testing)
node src/index.js --websocket --debug#### Advanced Testing Scenarios
##### Integration Testing
# Test with specific port
npm run test:connection -- --port 9999
# Test with timeout scenarios
npm run test:debug -- --timeout 5000
#### Linting and Code Quality
# Run ESLint
npm run lint
#### Debugging Tools
# Verbose logging
npm run dev -- --debug#### Development Scripts
# Start in development mode
npm run start
# Start with debugging enabled
npm run dev
# Quick development test
npm run dev -- --websocket --debug#### 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 mode#### Continuous Testing During Development
# Watch mode for automatic test runs
npm run test:watch
# Development mode with auto-restart
nodemon src/index.js -- --websocket --debug#### Testing with Real Extension
npm run test:tool#### Common Development Problems
| Issue | Test Command | Solution |
|---|---|---|
| Extension not connecting | npm run test:connection | Check WebSocket port availability |
| Tool validation failing | npm run test:tools | Review tool schema definitions |
| Bridge communication broken | npm run test:debug | Verify event listener setup |
| Performance issues | node --inspect src/index.js | 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 --debug# Install from source
npm install -g .
# Or run directly
node src/index.js --debug
# Package for distribution
npm packWe welcome contributions! Here's how to get started:
git checkout -b feature/amazing-featurenpm install && npm linknpm testgit commit -m 'Add amazing feature'git push origin feature/amazing-feature# 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 testnpm run lintnpm testnpm run dev -- --debugnpm run dev -- --websocketThis server implements the Model Context Protocol specification:
2024-11-05All tools follow the MCP tool schema format. See the API documentation for detailed schemas and examples.
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
This project is licensed under the MIT License - see the LICENSE file for details.
<div align="center">
[🐦 Follow updates](https://twitter.com/browseagent) • [📖 Read docs](https://docs.browseagent.pro)
Made with ❤️ by the <a href="https://boostgpt.co" target="_blank">BoostGPT</a> team
</div>
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.