It appears on the home page and opens for votes when its launch week starts.
vite-mcp
Vite plugin that brings Model Context Protocol (MCP) server capabilities right into your development environment.
FreeUI LibraryMCP319 impressionslaunches Dec 8
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
Key features
- 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
Smithery | Syrin - Static Contract Analysis for MCP Servers | gridctl | |||
|---|---|---|---|---|---|
| Best for | Browser-bridge for AI agents | MCP server discovery | General-purpose MCP hosting | MCP contract validation | Multi-server MCP orchestration |
| Pricing | Free | Free | Subscription | Free | Free |
| DevHunt upvotes | 1 | 0 | 29 | 24 | 20 |
| Launched | Dec 2026 | — | Jan 2026 | Feb 2026 | Aug 2026 |
- vite-mcp vs Smithery: Provides a registry for discovering MCP servers rather than embedding one in Vite.
- vite-mcp vs Unified MCP Server: A standalone MCP server with many integrations, while vite-mcp is a Vite-specific plugin.
- vite-mcp vs Syrin - Static Contract Analysis for MCP Servers: Analyzes MCP contracts statically; does not provide a runtime bridge like vite-mcp.
- vite-mcp vs gridctl: Manages multiple MCP servers via a single YAML config, whereas vite-mcp runs a single server per Vite dev instance.
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.
Smithery
Syrin - Static Contract Analysis for MCP Servers
gridctl





