Skip to content

Hal-Spidernight/vitepress-plugin-mcp

Repository files navigation

Vite Plugin VitePress MCP

npm

https://www.npmjs.com/package/vitepress-plugin-mcp

Description

This Vite plugin is an extension plugin for using VitePress as an MCP server. By adding the plugin to the VitePress config, you can launch the MCP server.

Install

pnpm add -D vitepress-plugin-mcp

Example

import { defineConfig } from "vitepress";
import { MCPPlugin } from "vitepress-plugin-mcp";

export default defineConfig({
  title: "VitePress MCP Server",
  description: "Vitepress Search MCP",
  themeConfig: {
    search: {
      provider: "local",
      options: {}, //INSERT THIS
    },
    ...
  },
  vite: {
    plugins: [MCPPlugin({ port: 4000 })], //INSERT THIS
  },
});

Tools

name description
search_vitepress_docs Search VitePress Documents For This Product. Extract up to five keywords each English and native language, and define all of them as single words. e.g. Vitepress, API, Specification,Extensions etc.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published