Skip to main content
Glama

Vue MCP Server

by webfansplz
MIT License
179
394

vite-플러그인-vue-mcp

Vue 앱의 MCP 서버가 구성 요소 트리, 상태, 경로, 피니아 트리 및 상태에 대한 정보를 제공할 수 있도록 하는 Vite 플러그인입니다.

설치 📦

지엑스피1

사용법 🔨

// vite.config.ts import { VueMcp } from 'vite-plugin-vue-mcp' export default defineConfig({ plugins: [VueMcp()], })

그러면 MCP 서버는 http://localhost:[port]/__mcp/sse 에서 사용할 수 있습니다.

Cursor를 사용하는 경우 프로젝트 루트에 .cursor/mcp.json 파일을 생성하세요. 이 플러그인이 자동으로 업데이트해 줍니다. MCP에 대한 자세한 내용은 Cursor 공식 문서를 참조하세요.

옵션

export interface VueMcpOptions { /** * The host to listen on, default is `localhost` */ host?: string /** * Print the MCP server URL in the console * * @default true */ printUrl?: boolean /** * The MCP server info. Ingored when `mcpServer` is provided */ mcpServerInfo?: McpServerInfo /** * Custom MCP server, when this is provided, the built-in MCP tools will be ignored */ mcpServer?: (viteServer: ViteDevServer) => Awaitable<McpServer> /** * Setup the MCP server, this is called when the MCP server is created * You may also return a new MCP server to replace the default one */ mcpServerSetup?: (server: McpServer, viteServer: ViteDevServer) => Awaitable<void | McpServer> /** * The path to the MCP server, default is `/__mcp` */ mcpPath?: string /** * Update the address of the MCP server in the cursor config file `.cursor/mcp.json`, * if `.cursor` folder exists. * * @default true */ updateCursorMcpJson?: boolean | { enabled: boolean /** * The name of the MCP server, default is `vue-mcp` */ serverName?: string } /** * append an import to the module id ending with `appendTo` instead of adding a script into body * useful for projects that do not use html file as an entry * * WARNING: only set this if you know exactly what it does. * @default '' */ appendTo?: string | RegExp }

기능/도구 ✨

구성 요소 트리 가져오기

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 님께 감사드립니다.

라이센스 📖

MIT 라이선스 © Arlo

-
security - not tested
A
license - permissive license
-
quality - not tested

모델 컨텍스트 프로토콜 서버를 통해 구성 요소 트리, 상태, 경로 및 Pinia 데이터를 노출하여 Vue 앱에 대한 애플리케이션 통찰력을 제공합니다.

  1. 설치 📦
    1. 사용법 🔨
      1. 옵션
    2. 기능/도구 ✨
      1. 구성 요소 트리 가져오기
      2. 구성 요소 상태 가져오기
      3. 구성 요소 상태 편집
      4. 구성 요소 강조
      5. 경로 가져오기
      6. 피니아 나무를 얻으세요
      7. 피니아 주를 얻으세요
    3. 건축 ⚡️
      1. 공지사항 💡
        1. 크레딧 💖
          1. 라이센스 📖

            Related MCP Servers

            • A
              security
              A
              license
              A
              quality
              A 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 -
              84
              40
              Python
              MIT License
              • Linux
              • Apple
            • -
              security
              A
              license
              -
              quality
              A server that helps AI models better understand Vite/Nuxt applications, providing enhanced context awareness for development support.
              Last updated -
              637
              TypeScript
              MIT License
            • A
              security
              A
              license
              A
              quality
              A 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 -
              7
              132
              33
              TypeScript
              MIT License
              • Apple
            • -
              security
              F
              license
              -
              quality
              A 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 -
              46
              2
              Python
              • Linux
              • Apple

            View all related MCP servers

            MCP directory API

            We provide all the information about MCP servers via our MCP API.

            curl -X GET 'https://glama.ai/api/mcp/v1/servers/webfansplz/vite-plugin-vue-mcp'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server