/* * @Description: Vue MCP Plugin - Enable MCP server for Vue application debugging */ import { VueMcp } from 'vite-plugin-vue-mcp' export default function createVueMcpPlugin() { return VueMcp({ // The host to listen on, default is `localhost` host: 'localhost', // Print the MCP server URL in the console printUrl: true, // Update the address of the MCP server in the cursor config file `.cursor/mcp.json` updateCursorMcpJson: false, // Disable for OpenCode environment // The path to the MCP server, default is `/__mcp` mcpPath: '/__mcp', }) }