vite-プラグイン-vue-mcp
Vue アプリの MCP サーバーがコンポーネント ツリー、状態、ルート、ピニア ツリーと状態に関する情報を提供できるようにする Vite プラグイン。
インストール📦
使用方法🔨
その後、MCP サーバーはhttp://localhost:[port]/__mcp/sse
で利用できるようになります。
Cursor をご利用の場合は、プロジェクトルートに.cursor/mcp.json
ファイルを作成してください。このプラグインによって自動的に更新されます。MCP の詳細については、 Cursor の公式ドキュメントをご覧ください。
オプション
機能/ツール ✨
コンポーネントツリーを取得
get-component-tree
: Vue コンポーネントツリーを取得します。
コンポーネントの状態を取得する
get-component-state
: コンポーネントの状態を取得します (入力: componentName
)。
コンポーネントの状態を編集する
edit-component-state
: コンポーネントの状態を編集します (入力: componentName
、 path
、 value
、 valueType
)。
ハイライトコンポーネント
highlight-component
: コンポーネントをハイライトします (入力: componentName
)。
ルートを取得
get-router-info
: アプリケーションの Vue ルーター情報を取得します。
ピニアツリーを入手する
get-pinia-tree
: アプリケーションの Pinia ツリーを取得します。
ピニア州を取得する
get-pinia-state
: アプリケーションの Pinia 状態を取得します (入力: storeName
)。
建築⚡️
お知らせ💡
機能を使用する前に、ブラウザでアプリケーションが実行されていることを確認してください。
クレジット💖
このプロジェクトはvite-plugin-mcpにインスピレーションを受けています。素晴らしい仕事をしてくださった@antfuに感謝します。
ライセンス📖
Related MCP Servers
- AsecurityAlicenseAqualityA Model Context Protocol server that allows AI assistants to interact with Appwrite's API, providing tools to manage databases, users, functions, teams, and other resources within Appwrite projects.Last updated -8440PythonMIT License
- -securityAlicense-qualityA server that helps AI models better understand Vite/Nuxt applications, providing enhanced context awareness for development support.Last updated -637TypeScriptMIT License
- AsecurityAlicenseAqualityA Model Context Protocol server that allows AI assistants to interact with the VRChat API, enabling retrieval of user information, friends lists, and other VRChat data through a standardized interface.Last updated -713233TypeScriptMIT License
- -securityFlicense-qualityA Model Context Protocol server that provides a comprehensive interface for interacting with the ConnectWise Manage API, simplifying API discovery, execution, and management for both developers and AI assistants.Last updated -462Python