1.0.15 • Published 11 months ago

@mcplug/vite v1.0.15

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

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:

  1. Creates necessary directories and configuration files
  2. Generates a Cloudflare Worker from your MCP server
  3. Configures Wrangler for deployment
  4. 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

1.0.15

11 months ago

1.0.14

11 months ago

1.0.13

11 months ago

1.0.12

12 months ago

1.0.11

12 months ago

1.0.10

12 months ago

1.0.9

12 months ago

1.0.8

12 months ago

1.0.7

12 months ago

1.0.6

12 months ago

1.0.5

12 months ago

1.0.4

12 months ago

1.0.3

12 months ago

1.0.2

12 months ago

1.0.1

12 months ago

1.0.0

12 months ago