Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@mcplug/vite

Package Overview
Dependencies
Maintainers
2
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mcplug/vite

Vite plugin to develop mcplug MCP servers

latest
Source
npmnpm
Version
1.0.15
Version published
Maintainers
2
Created
Source

mcplug-vite-plugin

A Vite plugin for seamlessly integrating MCP (Model Context Protocol) servers with Cloudflare Workers.

Features

  • One-Click Deployment: Automatically configures and deploys your MCP servers to Cloudflare Workers
  • Streamlined Development: Integrated development environment with hot reloading
  • Configuration Management: Handles environment variables and configuration between local and deployed environments
  • Zero-Config Setup: Works out of the box with sensible defaults

Installation

npm install @mcplug/vite-plugin

Usage

Add the plugin to your vite.config.ts:

import { defineConfig } from "vite";
import { mcplug } from "@mcplug/vite-plugin";

export default defineConfig({
  plugins: mcplug();
});

How It Works

The plugin:

  • Creates necessary directories and configuration files
  • Generates a Cloudflare Worker from your MCP server
  • Configures Wrangler for deployment
  • Integrates with your development workflow

Requirements

  • Node.js 16+
  • Vite 4+
  • Cloudflare account (for deployments)

About mcplug

mcplug is a marketplace for MCP servers, providing a unified endpoint for integrating APIs and external tools into AI applications. Learn more at mcplug.io.

License

MIT

FAQs

Package last updated on 06 May 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts