unplugin-mcp
by situ2001
A unified MCP (Model Context Protocol) plugin that creates and manages an MCP Server and provides MCP tools by which AI can know more about your codebase, build tools, and even control the build process. It works with multiple JavaScript build tools supported by unplugin, including Rollup, Vite, Webpack, and others.
Last updated: N/A
What is unplugin-mcp?
unplugin-mcp is a plugin that creates and manages an MCP Server and provides MCP tools, allowing AI to understand and interact with your codebase and build process. It's designed to work across various JavaScript build tools via unplugin.
How to use unplugin-mcp?
Install the plugin using a package manager like pnpm. Integrate it into your build tool configuration (e.g., rollup.config.js) and provide a list of UnpluginMcpTool
instances. Configure your MCP client (e.g., Cursor) to connect to the server's URL.
Key features of unplugin-mcp
Cross-Platform MCP Integration
Bi-directional AI Integration
Rich built-in tools
Extensible Tool Framework
Use cases of unplugin-mcp
Providing codebase context to AI assistants
Enabling AI to modify and control the build process
Analyzing module dependencies
Inspecting build configuration
FAQ from unplugin-mcp
Is this plugin ready for production use?
Is this plugin ready for production use?
No, this is a work in progress and not yet ready for production use.
What build tools are supported?
What build tools are supported?
The plugin supports Rollup, Vite, Webpack, and others through unplugin.
How do I add custom tools?
How do I add custom tools?
Implement the UnpluginMcpTool
interface and register your tool in the plugin options.
How do I connect to the MCP server?
How do I connect to the MCP server?
Configure your MCP client (e.g., Cursor) to connect to the server's URL, typically http://localhost:14514/mcp/sse
.
What is the license?
What is the license?
The project is licensed under the MIT License.