MCP Browser Automation Quick Start: Complete Setup Guide
Keywords: MCP quick start, browser automation setup, Model Context Protocol tutorial, Cursor setup, VS Code browser automation, beginner guide
Want to control your browser directly from your IDE using natural language? This guide gets you from zero to automating in 5 minutes. No coding required. No complex setup. Just install, configure, and start commanding your browser through your AI assistant.
By the end of this guide, you'll be running commands like "navigate to my localhost and test the login form" directly from Cursor, VS Code, or Claude Desktop.
Table of Contents
- What You're Building
- Prerequisites
- Installation Steps
- First Automation Commands
- Common Use Cases
- Troubleshooting
- Next Steps
- Frequently Asked Questions
Reading Time: ~8 minutes | Difficulty: Beginner | Last Updated: January 16, 2026
What You're Building
By the end of this guide, you'll have:
✅ Onpiste Chrome Extension - The automation engine ✅ MCP Server - Bridge between your IDE and browser ✅ IDE Integration - Control browser from Cursor/VS Code/Claude Desktop ✅ Working Automation - Test commands and see results
What You'll Be Able to Do
"Navigate to google.com and search for 'MCP protocol'"
"Check if localhost:3000 is running"
"Test my login form with test credentials"
"Extract all prices from this product page"
"Take a screenshot of the current page"
All from your IDE, without leaving your code editor.
Learn more about MCP browser automation capabilities.
Prerequisites
Required
- Chrome or Edge browser (version 138 or higher)
- Node.js version 18 or higher
- Check:
node --version - Download: nodejs.org
- Check:
Choose Your IDE (pick one)
- Cursor (recommended for beginners)
- VS Code with GitHub Copilot
- Claude Desktop
- Windsurf
- Zed
Time Required
- ⏱️ Installation: 3-5 minutes
- ⏱️ First Test: 1 minute
- ⏱️ Learning Basics: 5-10 minutes
Installation Steps
Step 1: Install Onpiste Chrome Extension
-
Open Chrome Web Store
- Visit: Onpiste Extension
-
Add to Chrome
- Click "Add to Chrome"
- Confirm "Add extension"
-
Pin Extension (Recommended)
- Click puzzle icon in Chrome toolbar
- Find "Onpiste"
- Click pin icon
-
Verify Installation
- Look for Onpiste icon in toolbar
- Extension should show green/active status
Time: ~1 minute

Step 2: Set Up MCP in Your IDE
Choose your IDE and follow the corresponding setup:
Option A: Cursor (Easiest)
Method 1: Automatic Setup
- Open Cursor
- Press
Cmd/Ctrl + Shift + P - Type "Cursor Settings"
- Navigate to "MCP" section
- Click "Add new global MCP server"
- Paste this configuration:
{
"mcpServers": {
"onpiste": {
"command": "npx",
"args": ["-y", "@onpiste/mcp@latest"]
}
}
}
- Save and restart Cursor
Method 2: Manual Configuration
- Open file:
~/.cursor/mcp.json(Mac/Linux) or%USERPROFILE%\.cursor\mcp.json(Windows) - If file doesn't exist, create it
- Paste the configuration above
- Save file
- Restart Cursor
Verify It Works:
- Open Cursor chat (Cmd/Ctrl + L)
- Type: "Navigate to google.com"
- If MCP is working, Cursor will use the browser automation tool
Time: ~2 minutes
Option B: VS Code
-
Install GitHub Copilot (if not already installed)
- Open Extensions (Cmd/Ctrl + Shift + X)
- Search "GitHub Copilot"
- Install
-
Configure MCP
- Open Settings:
Cmd/Ctrl + , - Search "MCP"
- Find "GitHub Copilot > MCP: Servers"
- Edit settings.json
- Open Settings:
-
Add Configuration
{
"github.copilot.mcp.servers": {
"onpiste": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@onpiste/mcp@latest"]
}
}
}
-
Restart VS Code
-
Verify
- Open Copilot chat (Cmd/Ctrl + I)
- Try: "Navigate to google.com using MCP"
Time: ~3 minutes
Option C: Claude Desktop
-
Locate Config File
- Mac:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
- Mac:
-
Edit Configuration
- Open file in text editor
- If file doesn't exist, create it
-
Add MCP Server
{
"mcpServers": {
"onpiste": {
"command": "npx",
"args": ["-y", "@onpiste/mcp@latest"]
}
}
}
-
Restart Claude Desktop
-
Check Connection
- Look for hammer icon (🔨) in chat
- Indicates MCP tools are available
Time: ~2 minutes
Option D: Windsurf
-
Open Windsurf Settings
- Click gear icon
- Navigate to "MCP Configuration"
-
Add Server
{
"mcpServers": {
"onpiste": {
"command": "npx",
"args": ["-y", "@onpiste/mcp@latest"]
}
}
}
- Apply Changes
- Restart Windsurf
Time: ~2 minutes
Option E: Zed
-
Open Zed Settings
Cmd/Ctrl + ,- Navigate to "Context Servers"
-
Add Configuration
{
"context_servers": {
"onpiste": {
"source": "custom",
"command": "npx",
"args": ["-y", "@onpiste/mcp@latest"]
}
}
}
- Save and Restart
Time: ~2 minutes
Step 3: Verify Installation
Test Command:
In your IDE's AI chat, try:
Navigate to example.com and tell me the page title
Expected Result:
Your AI assistant should:
- Use the MCP browser automation tool
- Open Chrome and navigate to example.com
- Report back: "The page title is 'Example Domain'"
If It Works: ✅ You're ready to automate!
If It Doesn't Work: See Troubleshooting below
First Automation Commands
Now that everything's set up, try these beginner-friendly commands:
1. Basic Navigation
Navigate to google.com
What Happens:
- Chrome opens (or switches to existing window)
- Navigates to google.com
- AI confirms: "Successfully navigated to google.com"
2. Search Automation
Go to google.com, search for "MCP browser automation", and tell me the top 3 results
What Happens:
- Navigates to Google
- Types search query
- Presses Enter
- Extracts top 3 results
- Reports back with titles and URLs
3. Local Development Check
Check if localhost:3000 is running
What Happens:
- Navigates to localhost:3000
- Checks if page loads successfully
- Reports: "Site is running" or "Connection refused"
Perfect for verifying your dev server is up!
4. Screenshot
Take a screenshot of the current page
What Happens:
- Captures visible area of current tab
- Returns screenshot
- Displayed in your IDE chat
Great for quick visual verification.
5. Form Testing
Navigate to localhost:3000/login, fill the form with [email protected] and password123, and submit
What Happens:
- Goes to your login page
- Fills email field
- Fills password field
- Clicks submit button
- Reports result
Perfect for quick manual testing replacement.
Explore more use cases and examples.
Common Use Cases
For Web Developers
Deployment Verification:
Check if app.mysite.com is live and loads without errors
API Testing:
Navigate to localhost:3000/api/health and show me the response
UI Verification:
Go to staging.mysite.com/dashboard and verify all widgets are present
For QA/Testing
Smoke Tests:
Test the signup flow:
1. Navigate to /signup
2. Fill form with test data
3. Submit
4. Verify redirect to /dashboard
Cross-Page Validation:
Check these pages load correctly:
- /home
- /about
- /pricing
- /contact
Form Validation:
Test the contact form:
- Submit empty (expect errors)
- Submit with invalid email (expect error)
- Submit valid form (expect success)
For comprehensive testing strategies, see our automated testing guide.
For Research & Data
Competitive Analysis:
Extract pricing information from competitor.com/pricing
Data Collection:
Go to news.ycombinator.com and extract the top 10 post titles
Documentation Lookup:
Navigate to React documentation and find information about useEffect hook
For Daily Productivity
Quick Checks:
Is my GitHub Actions build passing for the latest commit?
Documentation:
Look up Next.js routing documentation and summarize it
Monitoring:
Check if example.com is up and responding
Best Practices
1. Be Specific
Good:
Navigate to localhost:3000, click the "Login" button, fill username with "[email protected]", fill password with "password123", then submit
Less Good:
Test the login
2. Break Complex Tasks into Steps
Good:
First, navigate to the pricing page.
Then extract all plan prices.
Then create a comparison table.
Less Good:
Do pricing analysis on competitor site
3. Verify Results
Always ask for confirmation:
Navigate to my site and confirm the homepage loads correctly
4. Use Natural Language
You don't need to learn commands. Just describe what you want:
Go to Amazon, search for "wireless mouse", and show me the top 5 results with prices
Troubleshooting
Extension Not Connecting
Symptom: AI says "Chrome extension not connected"
Solutions:
-
Verify extension is installed and enabled
- Visit
chrome://extensions/ - Find "Onpiste"
- Ensure toggle is ON
- Visit
-
Check Chrome is running
- Open Chrome browser
- Extension must be active
-
Try closing and reopening Chrome
-
Reinstall extension if needed
MCP Server Not Found
Symptom: AI doesn't recognize browser automation commands
Solutions:
-
Verify Node.js is installed
node --versionShould show v18.0.0 or higher
-
Test MCP installation manually
npx @onpiste/mcp@latestShould start the server (Ctrl+C to exit)
-
Check IDE configuration file has correct JSON syntax
-
Restart IDE after configuration changes
Commands Not Working
Symptom: AI tries but browser doesn't respond
Solutions:
- Check Chrome is the active browser
- Verify you have active Chrome window/tab
- Try command on simple site first (google.com)
- Check browser console for errors (F12)
Timeout Errors
Symptom: "Operation timed out"
Solutions:
-
Increase timeout in command
Navigate to slow-site.com (wait up to 30 seconds) -
Check your internet connection
-
Try simpler command first
-
Verify site is actually accessible
Permission Denied
Symptom: "Permission denied" or "Access blocked"
Solutions:
- Some enterprise sites block automation
- Try on different site to verify setup works
- Check if site requires login first
- Ensure extension has permissions (
chrome://extensions/)
Advanced Configuration
Customize Timeout
Modify your MCP config to change default timeouts:
{
"mcpServers": {
"onpiste": {
"command": "npx",
"args": ["-y", "@onpiste/mcp@latest"],
"env": {
"BROWSER_TIMEOUT": "30000"
}
}
}
}
Use Specific Chrome Profile
{
"mcpServers": {
"onpiste": {
"command": "npx",
"args": ["-y", "@onpiste/mcp@latest"],
"env": {
"CHROME_PROFILE": "Profile 1"
}
}
}
}
Enable Debug Logging
{
"mcpServers": {
"onpiste": {
"command": "npx",
"args": ["-y", "@onpiste/mcp@latest"],
"env": {
"DEBUG": "true"
}
}
}
}
Next Steps
Learn More Commands
Now that basics work, explore advanced automation:
- 15 Powerful Use Cases - Real-world automation examples
- MCP Integration Deep Dive - Advanced IDE integration patterns
- Natural Language Automation - Master browser control techniques
Compare with Other Tools
Understand when to use MCP:
- MCP vs Selenium/Puppeteer - Tool comparison guide
- No-Code Browser Automation - Automation without programming
Technical Deep Dive
For developers wanting to extend MCP:
- MCP Protocol Technical Guide - Build custom MCP servers
- Multi-Agent Architecture - How agents work together
Join the Community
Get help and share your automation:
- Discord - Ask questions, share use cases
- GitHub - Report issues, contribute
- Twitter/X - Follow for updates and tips
Frequently Asked Questions
Q: Do I need to know programming to use MCP? A: No! MCP uses natural language. Just describe what you want: "navigate to google.com and search for X". No code required.
Q: Does MCP work with Firefox or Safari? A: Currently, MCP works with Chrome and Edge (Chromium-based browsers). Firefox and Safari support may come in the future.
Q: Can I use MCP for testing production sites? A: Yes! MCP uses your real browser, so you can test any site you have access to, including authenticated pages.
Q: Is MCP automation secure? A: Yes. Everything runs locally on your machine. Your data never leaves your computer. See our privacy-first architecture.
Q: How much does MCP cost? A: The Onpiste extension and MCP server are free. You only pay for AI API usage if you use cloud models. Chrome Built-in AI is completely free.
Q: Can I automate repetitive tasks? A: Absolutely! That's the main use case. Automate deployment checks, form testing, data extraction, monitoring, and more.
Q: What happens if the extension crashes? A: Simply restart Chrome. The MCP server will reconnect automatically when the extension is available again.
Q: Can I run MCP automation in CI/CD? A: Yes, though it requires a display (headless support coming). For CI/CD, consider using the automation programmatically or traditional tools like Playwright for headless needs.
Q: Does MCP support multiple browser tabs? A: Yes! You can open, switch between, and automate across multiple tabs. Try: "Open 3 tabs with these URLs and extract titles from all"
Q: Can I save automation scripts? A: Currently, you repeat commands in your IDE. For reusable workflows, consider creating saved snippets or using the Onpiste extension's built-in recorder (coming soon).
Common Gotchas & Tips
1. Extension Must Be Active
MCP requires the browser extension to be running. If Chrome is closed, commands won't work.
Tip: Keep Chrome open while using MCP automation.
2. Commands Are Conversational
You don't need to learn syntax. Natural language works:
✅ "Go to google.com and search for python tutorials"
❌ browser.navigate("google.com").search("python")
3. AI Interprets Your Intent
The AI figures out how to accomplish your goal:
"Check if my site is working" becomes:
- Navigate to site
- Verify it loads
- Check for errors
- Report status
4. Use Follow-up Commands
You can build on previous commands:
> Navigate to github.com
✅ Done
> Search for "MCP servers"
✅ Done (continues from current page)
> Click the first result
✅ Done
5. Logged-in Sessions Work
MCP uses your real browser profile, so you're already logged into sites:
Navigate to my Gmail and check if I have unread messages
Works because you're already logged into Gmail!
Pro Tips
Combine with Other Tools
Read the homepage content, summarize it, then save the summary to summary.txt
MCP handles browser automation, IDE handles file operations.
Use for Quick Checks
Is prod.mysite.com responding?
Faster than opening browser manually.
Test Before Deploying
Check staging.mysite.com - verify homepage loads and no console errors
Catch issues before they reach production.
Document Your Workflows
Save common commands in your project README:
## QA Commands
Check staging:
"Navigate to staging.mysite.com and verify dashboard loads"
Test login:
"Test login form at /login with [email protected]"
Team members can copy-paste to run tests.
Resources
Official Links
- Onpiste Extension - Chrome Web Store
- MCP NPM Package - Server package
- GitHub Repository - Source code
Documentation
- MCP Protocol Specification - Official docs
- Onpiste Documentation - User guide
- Chrome Extension API - Technical reference
Community
- Discord Community - Get help, share tips
- GitHub Discussions - Feature requests, questions
- Twitter/X Updates - News and announcements
Conclusion
Congratulations! You've set up MCP browser automation and ran your first commands. You can now:
✅ Control Chrome from your IDE ✅ Test web applications without leaving your editor ✅ Automate repetitive browser tasks ✅ Extract data from websites ✅ Monitor deployments and services
What's Next?
- Practice: Try different commands with sites you use daily
- Explore: Read the use cases guide for inspiration
- Share: Show your team how MCP improves workflows
- Build: Create your own automation patterns
MCP browser automation eliminates context switching and brings web control directly into your development environment. Start simple, experiment, and discover workflows that save you time every day.
Questions? Issues? Join our Discord community or check the troubleshooting guide.
Happy automating! 🚀
