1.0.15 • Published 6 months ago

@mcplug/vite v1.0.15

Weekly downloads
-
License
MIT
Repository
github
Last release
6 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

6 months ago

1.0.14

6 months ago

1.0.13

6 months ago

1.0.12

6 months ago

1.0.11

6 months ago

1.0.10

6 months ago

1.0.9

6 months ago

1.0.8

6 months ago

1.0.7

6 months ago

1.0.6

6 months ago

1.0.5

6 months ago

1.0.4

6 months ago

1.0.3

6 months ago

1.0.2

6 months ago

1.0.1

6 months ago

1.0.0

6 months ago