Back to Home
broisnischal icon

vite-mcp

Verified Safe

by broisnischal

Overview

A Vite plugin that provides Model Context Protocol (MCP) server capabilities for browser development, enabling AI agents to interact with and observe browser environments in real-time.

Installation

Run Command
cd playground && npm install && npm run dev

Security Notes

The plugin runs within a Vite development server and sets up a WebSocket connection (HMR) to a browser-side bridge. This bridge executes adapter handlers based on messages received over the WebSocket. While this is the core functionality, and input/output schemas are used for validation, an attacker gaining control of the WebSocket channel could potentially execute arbitrary browser-side JavaScript through forged tool calls. The HTTP endpoints also use `Access-Control-Allow-Origin: *`, which is common for dev servers but means they are accessible from any origin. For its intended use as a local development tool, the risks are generally acceptable, but it's important to be aware of the direct code execution mechanism in the browser environment.

Similar Servers

Stats

Interest Score58
Security Score7
Cost ClassMedium
Avg Tokens15000
Stars3
Forks1
Last Update2025-12-13

Tags

vite-pluginmcpbrowser-automationdevelopmentai-agent-tools