VS Code Simple Browser MCP Server
A Model Context Protocol (MCP) server that enables LLMs to interact with VS Code's Simple Browser.
Quick Start
git clone https://github.com/YOUR_USERNAME/vscode-simple-browser-mcp.git
cd vscode-simple-browser-mcp
npm install
npm run build
Key Features
🌐 Browser Control - Open URLs, navigate, refresh pages 📊 Console Monitoring - Real-time console log capture ⚡ JavaScript Execution - Execute code in browser context 🔍 State Management - Track browser status and history
Tools Available
open_url
- Open websites in VS Code Simple Browsernavigate
- Navigate between pagesexecute_javascript
- Run JavaScript in browser contextget_console_logs
- Retrieve console messages with filteringget_browser_state
- Get current browser status- And more...
Configuration
Add to your Claude Desktop config:
{
"mcpServers": {
"vscode-simple-browser": {
"command": "node",
"args": ["/path/to/vscode-simple-browser-mcp/build/index.js"]
}
}
}
See the full documentation for detailed usage instructions.