Tag Archives: cursor

๐Ÿ” Debugging Web Apps with Cursor Just Got Smarter: Evaluating Browser Assist Tools

In my previous post, I shared my experience using Vibe coding and highlighted one of the biggest challenges in that workflow: AI coding tools often lack awareness of what’s happening in the browser when you run your app.

This leads to a frustrating dev loop: you’re forced to constantly copy-paste screenshots, console errors, and network logs into your code editor just to help the AI debug your application.

Luckily, thereโ€™s a new wave of tools built on the Model Context Protocol (MCP) that bridge this gap. These browser assist tools let your AI-enhanced code editor (like Cursor) directly observe, interact with, and sometimes even control your browser โ€” just like a real user.

Some of these tools go beyond debugging โ€” they can actually drive the browser, making them incredibly useful for UI testing and automation as well.


๐Ÿงช Tools I Evaluated

  1. Playwright
  2. Browser MCP
  3. Browser Tools MCP

Each of these plugs into Cursor via MCP and serves a slightly different purpose.


๐Ÿง  Architecture Overview

Cursor โ†’ MCP โ†’ Browser Assist Tool โ†’ Browser โ†’ Observed by LLM โ†’ Cursor responds
  • Cursor uses Model Context Protocol (MCP) to communicate with these tools.
  • The tools interact with the browser โ€” either controlling it or reading logs/events.
  • The data is passed to the LLM, which interprets it and responds inside Cursor.

๐Ÿงฉ Tool Breakdown

1. Playwright + MCP

Developed by Microsoft, Playwright is a full-featured browser automation framework that supports Chromium, Firefox, and WebKit. It works across OS platforms and supports headless execution โ€” making it perfect for automation and CI testing.

When integrated with Cursor via MCP, it becomes a powerful browser control agent.

โœ… Installation

"playwright": {
"command": "npx",
"args": ["@playwright/mcp@latest"]
}

๐Ÿ”ง Supported Functions

These functions are exposed by playwright using MCP. playwright has more functionalities than the ones that it exposes to MCP.

  • browser_click, browser_type, browser_navigate
  • browser_take_screenshot, browser_snapshot, browser_pdf_save
  • browser_tab_list, browser_tab_select, browser_tab_close
  • …and many more

๐Ÿ’ก Real Use Cases

  • Asked Cursor to debug console errors in my e-commerce app
  • Asked Cursor to test flows like “Add to Cart”, “View Product Details”
  • Used it for:
    • Clicking through workflows
    • Filling out forms
    • Scraping content
    • Capturing screenshots for visual debugging

โš ๏ธ Limitations

  • Doesnโ€™t read network logs or API errors
  • Click interactions does not work reliably with iframes

2. Browser MCP

This is a lightweight adaptation of Playwright, still MCP-compatible, but simpler.

โœ… Installation

  • Install Chrome extension (manual or via GitHub release)
  • Cursor config:
"browsermcp": {
"command": "npx",
"args": ["@browsermcp/mcp@latest"]
}

๐Ÿ’ก Why It’s Useful

Unlike Playwright, Browser MCP can control your already open browser tab, without launching a new browser instance. This is helpful for debugging apps you’re already running in Chrome.

๐Ÿ”ป Downsides

  • Fewer features than Playwright
  • Better suited for lightweight debugging, not complex automation

3. Browser Tools MCP

This tool focuses entirely on browser introspection and debugging, rather than control.

Think of it as DevTools for your AI.

โœ… Installation

  • Install Chrome Extension
  • Start middleware:
npx @agentdeskai/browser-tools-server@latest
  • Cursor config:
"browser-tools": {
"command": "npx",
"args": ["@agentdeskai/browser-tools-mcp@1.2.0"]
}

๐Ÿ› ๏ธ Supported Functions

These are exposed by browsertools using MCP.

  • getConsoleLogs, getConsoleErrors, getNetworkLogs, takeScreenshot
  • runAccessibilityAudit, runPerformanceAudit, runSEOAudit, runNextJSAudit
  • wipeLogs, runDebuggerMode, runBestPracticesAudit

๐Ÿ’ก What I Could Do

  • Refresh app and automatically check network + console errors
  • Ask Cursor to analyze latency issues or API failures
  • Run full Lighthouse-style audits on performance and SEO

๐Ÿ“Š Comparison: Which One to Use?

Use CaseBest Tool
Browser automation + basic debugging๐ŸŸข Playwright
Full DevTools-style debugging๐ŸŸข Browser Tools MCP
Debugging current browser tab with minimal setup๐ŸŸก Browser MCP

๐Ÿง  Final Thoughts

Playwright is phenomenal โ€” not just for browser debugging, but for automation and testing at scale. If it added rich debugging support (like network logs and audits), it could become the one tool to rule them all.

Meanwhile, Browser Tools MCP fills that debugging gap beautifully today, while Browser MCP hits a sweet spot between the two.


๐Ÿ”ฎ Looking Ahead

I believe browser assist tools will eventually be natively integrated into code assist platforms like Cursor, eliminating the need for users to manually install and configure MCP plugins. In the future, these platforms will likely support a range of built-in agents that work seamlessly across different environments โ€” web, mobile, desktop โ€” and integrate with tools like databases, APIs, and SaaS platforms out of the box.

There’s also a new class of tools like Anthropic’s Computer Use and OpenAIโ€™s Operator, which aim to control not just browsers but the entire computer environment. It feels inevitable that these worlds โ€” browser automation, LLM-powered agents, and full computer control โ€” will start to converge.

Exciting times ahead. โšก

๐Ÿš€ One Month with Vibe Coding: Building Real Apps with AI Assistants

Over the past few months, Vibe coding has been gaining serious tractionโ€”and I couldnโ€™t resist diving in myself. Iโ€™ve been using AI coding assistants for a while, but I wanted to go deeper and really test what these tools can do in a realistic, end-to-end software development project.

So, I spent the last month building a full-featured ecommerce web and mobile app using some of the most talked-about Vibe coding platforms: Cursor, Windsurf, Lovable, Bolt, and Replit. It was a fun and empowering journeyโ€”thereโ€™s a real sense of accomplishment in being able to build software applications on your own. I also learned that working with the current generation of tools definitely requires a good deal of patience.

In this blog, Iโ€™ll walk you through:

  • My experience building and deploying the applications
  • What worked, what didnโ€™t, and what broke halfway ๐Ÿ˜…
  • How each tool stacks up in terms of usability, flexibility, and reliability
  • Whether tools like these mean we still need software engineers (spoiler: yesโ€”but itโ€™s complicated)
  • Where I think this whole Vibe coding trend is heading next

๐ŸŒ Coding Assistant Landscape: Then vs Now

AI coding assistants have come a long way. Here’s a quick look at how things evolved:

โฐ The Old School

  • Classic autocomplete tools like IntelliSense or TabNine helped speed up typing but werenโ€™t context-aware.
  • Low-code/no-code platforms (e.g., Bubble, Wix, Zapier) let users drag and drop components, but required scripting for anything complex.

๐Ÿง  The New Era: Vibe Coding

  • Powered by LLMs (Large Language Models)
  • Can write, refactor, debug, and deploy apps using natural language queries
  • Opens the door for non-developers to build apps
  • Empowers developers to skip boilerplate and focus on design, logic, and systems thinking

๐Ÿ’ก What is Vibe Coding?

Vibe coding refers to using AI-powered tools to build software via natural language prompts, mixed with lightweight manual coding. It’s all about staying in the flow and letting the assistant do the heavy lifting.

๐Ÿ’ก The Experiment

Although I started my career as a developer, I haven’t been actively coding in the last decade. Instead, I’ve focused on architecture, reviews, testing, and product design. That said, I wanted to push these Vibe tools beyond simple demos or prototypes.

So, I picked a moderately complex use case: an Ecommerce application with a web frontend and mobile app, complete with backend, auth, payment, and roles.

โœจ Features Implemented

- User authentication (sign-up, login, password reset, Google login)
- Roles: Admin, Seller, Customer
- Admin: manage users, view orders, seller capabilities
- Seller: add products
- Customer: browse catalog, filter/sort, add to cart, checkout
- Order history
- Payment integration with Razorpay

๐Ÿš€ Tech Stack Used

Frontend: React
Backend: Node.js + Express
Database: MongoDB
Deployment: Vercel / Render / Netlify depending on tool

๐Ÿ—๏ธ Environments

- Web app
- Mobile app (via Expo)
- Both local and production deployments

๐Ÿ”ง Tool-by-Tool Breakdown

Each tool was tested with the same requirements and judged based on ease of use, flexibility, ability to debug, and ability to deploy real features.

๐Ÿงช Cursor

๐Ÿ› ๏ธ Plan: Paid ($20)

๐Ÿ’ป Used With: MongoDB Atlas, Render/Vercel for deployment, Claude 3.7 model

โœ… Highlights:

  • Full tech stack flexibility
  • Supports both web and mobile
  • Git & database migration support
  • Wrote unit tests and debugged APIs
  • Workflow suits developers

โš ๏ธ Challenges:

  • Terminal tracking is weak
  • Frequent application crashes
  • Manual debugging needed

๐Ÿ“ฆ Artifacts:

Windsurf

๐Ÿ› ๏ธ Plan: Free and Paid version

๐Ÿ’ป Used With: Claude 3.7 & Gemini, Vercel/Render for cloud, Cloudinary for images

โœ… Highlights:

  • Better terminal/session management
  • Console log debugging is stronger

โš ๏ธ Challenges:

  • Hard to course-correct from incorrect assumptions
  • Hit credit limits fast (Ran out of credits with paid version in 3 days)

๐Ÿ“ฆ Artifacts:


โšก Bolt

๐Ÿ› ๏ธ Plan: Free

๐Ÿ’ป Used With: React + Vite, Supabase, Netlify

โœ… Highlights:

  • Blazing fast startup because it runs as web container
  • Fully in-browser

โš ๏ธ Challenges:

  • Can’t run backend services (e.g., Express, MongoDB) because of running as web container
  • Not suitable for full-stack use cases

๐Ÿ“ฆ Artifacts:

  • Incomplete app prototype (Ran out of free credits)

๐Ÿ˜ Lovable

๐Ÿ› ๏ธ Plan: Free and then Paid ($20)

๐Ÿ’ป Used With: React + Supabase, auto-deploy on Lovable Cloud

โœ… Highlights:

  • Very easy to use
  • Seamless production deployment

โš ๏ธ Challenges:

  • Slower code generation speed

๐Ÿ“ฆ Artifacts:

๐Ÿ› ๏ธ Replit

๐Ÿ› ๏ธ Plan: Free

๐Ÿ’ป Used With: Ghostwriter AI, browser IDE, MongoDB Atlas

โœ… Highlights:

  • Easy to set up
  • Great for fast testing

โš ๏ธ Challenges:

  • Cloud-only with less system-level flexibility
  • Not ideal for large production apps

๐Ÿ“ฆ Artifacts:

  • Did not complete(ran out of free credits)

๐Ÿ“Š Tool Comparison Snapshot

FeatureCursorWindsurfReplitLovableBolt
Ease of UseMediumMediumEasyEasyEasy
Dev EnvironmentLocalLocalCloudCloudCloud
Deployment OptionsManualManualBuilt-inBuilt-inManual
Tech Stack FlexibilityHighHighMediumLimitedLimited
Target UsersDevsDevsAllNon-devsNon-devs

๐Ÿง  My Take: Cursor gives you the most power; Lovable gives you the most convenience.

โŒ What Needs Work

๐Ÿ› ๏ธ Debugging:

Most tools still rely on you reading console logs and piecing things together manually. (My pick: Use Operator framework to understand what’s happening in browser and fix issues automatically)

๐ŸŒ Speed:

Long wait times and retries can break the flow.

๐Ÿงฉ Fragility:

Small changes can break other parts of the app. There’s no real “awareness” of architectural dependencies.

๐Ÿ“ Lack of modularity:

Encouraging reusable design and clean code still needs a human architect.

๐Ÿ“˜ Pro Tips: Making Vibe Coding Work

๐Ÿ“‹ Define clear requirements

Roles, pages, workflows, error states โ€” lay it all out before prompting.

๐Ÿงญ Use guardrails (rules/constraints)

Many tools let you enforce language, style, and folder structure.

๐ŸŽฏ Stick to common stacks

React, Node, Python, SQL โ€” that's where LLMs shine.

๐Ÿ’ก Use models wisely

Claude 3.7 was the most consistent for me, especially on multi-step flows. Experiment with models and find the best one for your use case.

๐Ÿงช Debug like a dev

Logs > terminal > DB traces. Be ready to dive in.

๐Ÿ”„ When stuck, reboot

Sometimes starting fresh saves more time than untangling broken AI logic. Keep regular checkpoints to go back to stable point. 

๐Ÿง  Is Software Engineering Dead?

Nope. But it’s definitely shifting.

๐Ÿง  What Vibe Coding Does Well:

  • Speeds up boilerplate
  • Empowers solo builders
  • Makes prototyping fast

๐Ÿšง What It Still Needs Help With:

  • Scaling apps
  • Clean architectures
  • Advanced debugging
  • Enhancing existing production apps

๐Ÿง‘โ€๐Ÿ’ป Developers wonโ€™t disappear. Theyโ€™ll evolve. The future engineer:

  • Uses AI to generate & validate code fast
  • Designs smart systems
  • Oversees quality, reusability, and security

๐Ÿ’ฌ “Itโ€™s not about coding less. Itโ€™s about coding smarter.”