Goes live December 8, 2026

It appears on the home page and opens for votes when its launch week starts.

vite-mcp

vite-mcp

Vite plugin that brings Model Context Protocol (MCP) server capabilities right into your development environment.

FreeUI LibraryMCP319 impressionslaunches Dec 8

A Vite plugin that provides Model Context Protocol (MCP) server capabilities for Vite development, enabling MCP clients to interact with browser environments through adapters. This plugin gives your agent actual eyes inside the browser. Instead of working blind during Vite HMR, it can now see the UI, console, and page state in real time through MCP tools, and many more if you contribute!

More UI Library tools →80 free dev tools →

Looking for MCP servers to install? MCP servers list: 289 servers by category, official and community →

Vite plugin that adds a Model Context Protocol (MCP) server to your Vite dev environment.

for
Frontend developers building Vite apps who need AI agents to inspect the browser.
pricing
free
license
MIT
broisnischal/vite-mcp 4 1TypeScriptupdated 8 months ago
works withViteReactVueSvelteRemixTanStack RouterTypeScript

Key features

6 features of vite-mcp
  • MCP server endpoint — Exposes an MCP server at /__mcp for clients to read browser state.
  • Console adapter — Captures console messages from the browser in real time.
  • Storage adapters — Read cookies, localStorage, sessionStorage, Cache API and IndexedDB.
  • Performance adapter — Provides web vitals and navigation timing metrics.
  • Component tree adapter — Exports the component hierarchy and routing info for React, Vue, Svelte.
  • Custom adapters — Allows adding experimental user-defined adapters for bespoke data.

Use cases

  • Debug AI agents by letting them see UI, console logs, and page state during Vite HMR.
  • Inspect and modify browser storage (cookies, localStorage, IndexedDB) from automated tools.
  • Gather performance metrics and component tree data for AI-driven analysis.
  • Create custom adapters to expose additional browser APIs to MCP clients.

vite-mcp vs alternatives

vite-mcpSmitheryUnified MCP ServerSyrin - Static Contract Analysis for MCP Serversgridctl
Best forBrowser-bridge for AI agentsMCP server discoveryGeneral-purpose MCP hostingMCP contract validationMulti-server MCP orchestration
PricingFreeFreeSubscriptionFreeFree
DevHunt upvotes10292420
LaunchedDec 2026—Jan 2026Feb 2026Aug 2026

vite-mcp FAQ

How do I enable the MCP bridge in a Vite project?+

Add viteMcp() to the plugins array in vite.config and import "virtual:mcp" at the very top of your entry file.

Can I use vite-mcp with frameworks that generate HTML dynamically?+

Yes, but you must manually include the virtual module in the framework’s entry file (e.g., src/main.tsx for React Router).

What adapters are available out of the box?+

console, cookie, localStorage, sessionStorage, cache, indexedDB, performance, and componentTree adapters.

Is there TypeScript support?+

Yes; include vite-mcp/vite-mcp-env.d.ts in tsconfig.json or use the reference directive at the top of the entry file.

What if the bridge does not start?+

Ensure you are in development mode, the import is at the top of the entry file, and Vite HMR is working; check the browser console for errors.

Summarized by DevHunt from npmjs.com · Oct 4, 2026. Details may change; check the official site.