{"versions":{"1.0.0":{"name":"element-ui-mcp","version":"1.0.0","description":"MCP server providing comprehensive Element-UI Vue 2.15.14 component documentation and information","type":"module","main":"dist/index.js","bin":{"element-ui-mcp":"dist/stdio.js"},"scripts":{"build":"tsup && tsx scripts/copy-data.ts","extract":"tsx scripts/extract-docs.ts","test":"tsx test-server.ts","prepublishOnly":"npm run build"},"keywords":["mcp","model-context-protocol","element-ui","vue2","ai-assistant"],"author":{"name":"liuyun.dev@qq.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/yun8711/element-ui-mcp.git"},"homepage":"https://github.com/yun8711/element-ui-mcp#readme","bugs":{"url":"https://github.com/yun8711/element-ui-mcp/issues"},"dependencies":{"@modelcontextprotocol/sdk":"^1.22.0","zod":"^3.25.76"},"devDependencies":{"@types/node":"^24.10.1","tsup":"^8.5.1","tsx":"^4.20.6","typescript":"^5.9.3"},"engines":{"node":">=16.0.0"},"publishConfig":{"registry":"https://registry.npmjs.org/","access":"public"},"_id":"element-ui-mcp@1.0.0","gitHead":"66dca2d21f46839286af925e6f94a2a1caf31468","_nodeVersion":"20.19.2","_npmVersion":"10.8.2","dist":{"integrity":"sha512-bi55Tqz1KjJ8DPSOxP/RVtekM0qGLffy3pLgDb3aIKkwgJriQv6L0eMNuD+gA27nfqsUzemQ0mAOEG1eIpbGyA==","shasum":"60dbbf3ed27741c67554577f75cb4ba85c2dac27","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/element-ui-mcp/-/element-ui-mcp-1.0.0.tgz","fileCount":191,"unpackedSize":814533,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIHJCcw13+c/Iv9k6yabgsQmX/MudySODgH3/NOdY/mB2AiAe8q7m7dTd7yEFKDJtdrFFH9rSr2q2hYx5iGiBq0+jDg=="}],"size":155729},"_npmUser":{"name":"anonymous","email":"liuyun.dev@qq.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"liuyun.dev@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/element-ui-mcp_1.0.0_1763868101006_0.8321171313799554"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-11-23T03:21:41.278Z","publish_time":1763868101278,"_source_registry_name":"default","contributors":[]},"1.0.1":{"name":"element-ui-mcp","version":"1.0.1","description":"MCP server providing comprehensive Element-UI Vue 2.15.14 component documentation and information","type":"module","main":"dist/index.js","bin":{"element-ui-mcp":"dist/stdio.js"},"scripts":{"build":"tsup && tsx scripts/copy-data.ts","extract":"tsx scripts/extract-docs.ts","test":"tsx scripts/test-server.ts","prepublishOnly":"npm run build"},"keywords":["mcp","model-context-protocol","element-ui","vue2","ai-assistant"],"author":{"name":"liuyun.dev@qq.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/yun8711/element-ui-mcp.git"},"homepage":"https://github.com/yun8711/element-ui-mcp#readme","bugs":{"url":"https://github.com/yun8711/element-ui-mcp/issues"},"dependencies":{"@modelcontextprotocol/sdk":"^1.22.0","zod":"^3.25.76"},"devDependencies":{"@types/node":"^24.10.1","tsup":"^8.5.1","tsx":"^4.20.6","typescript":"^5.9.3"},"engines":{"node":">=16.0.0"},"publishConfig":{"registry":"https://registry.npmjs.org/","access":"public"},"_id":"element-ui-mcp@1.0.1","gitHead":"3e74ad918975710addb83970c6174eec95df47d4","_nodeVersion":"20.19.2","_npmVersion":"10.8.2","dist":{"integrity":"sha512-7YM4/xJ117EJ+sSe3/0qU3/U1AVsSjPDCDk8KJFN0UCjgXh3t6niJQ0qyzVRRvJ2EDxmVmqJs797z9k25e8FcA==","shasum":"bc0b15f9f295dbff4f4c2870e7d748ed0021aecd","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/element-ui-mcp/-/element-ui-mcp-1.0.1.tgz","fileCount":191,"unpackedSize":814504,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDzpxePsRr9lJqAUxtfx20RKRg2kKyf94Au/zrwSGsUVQIgT+TbFD7wZFZ9tRYIfUqylXk3nYBfl9bXeBmkIdnpdWM="}],"size":155711},"_npmUser":{"name":"anonymous","email":"liuyun.dev@qq.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"liuyun.dev@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/element-ui-mcp_1.0.1_1763908550373_0.9118049844052092"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-11-23T14:35:50.573Z","publish_time":1763908550573,"_source_registry_name":"default","contributors":[]},"1.1.0":{"name":"element-ui-mcp","version":"1.1.0","description":"MCP server providing comprehensive Element-UI Vue 2.15.14 component documentation and information","type":"module","main":"dist/index.js","bin":{"element-ui-mcp":"dist/stdio.js"},"scripts":{"build":"tsup && tsx scripts/copy-data.ts","extract":"tsx scripts/extract-docs.ts","test":"tsx scripts/test-server.ts","prepublishOnly":"npm run build"},"keywords":["mcp","model-context-protocol","element-ui","vue2","ai-assistant"],"author":{"name":"liuyun.dev@qq.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/yun8711/element-ui-mcp.git"},"homepage":"https://github.com/yun8711/element-ui-mcp#readme","bugs":{"url":"https://github.com/yun8711/element-ui-mcp/issues"},"dependencies":{"@modelcontextprotocol/sdk":"^1.22.0","zod":"^3.25.76"},"devDependencies":{"@types/node":"^24.10.1","cheerio":"^1.1.2","marked":"^17.0.1","tsup":"^8.5.1","tsx":"^4.20.6","typescript":"^5.9.3"},"engines":{"node":">=16.0.0"},"publishConfig":{"registry":"https://registry.npmjs.org/","access":"public"},"_id":"element-ui-mcp@1.1.0","gitHead":"20642f03c6d10fdf21172a0c4eaae315b7819d52","_nodeVersion":"20.19.2","_npmVersion":"10.8.2","dist":{"integrity":"sha512-LHQurBs9UylOgqDI9GHTifxe6JW5iyNIrKSr5WxWItTI2lG+2aUL971vpJERziMMhBf9KAek9Ctgxc/+zGTAOg==","shasum":"851607472c899606c0aece24a620c0e74455990a","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/element-ui-mcp/-/element-ui-mcp-1.1.0.tgz","fileCount":193,"unpackedSize":692864,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCICzNvPhmYtBZY1gDJ7L1yMDeVGkmY94nqdT0KPlBbTaAAiEAqwwyDCiQ7fsZPl9NgR820CD29re/MjOtcF17JylWv78="}],"size":143642},"_npmUser":{"name":"anonymous","email":"liuyun.dev@qq.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"liuyun.dev@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/element-ui-mcp_1.1.0_1764178098698_0.34569743899053806"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-11-26T17:28:18.939Z","publish_time":1764178098939,"_source_registry_name":"default","contributors":[]}},"dist-tags":{"latest":"1.1.0"},"name":"element-ui-mcp","time":{"created":"2025-11-23T03:21:53.486Z","modified":"2025-11-26T17:28:35.381Z","1.0.0":"2025-11-23T03:21:41.278Z","1.0.1":"2025-11-23T14:35:50.573Z","1.1.0":"2025-11-26T17:28:18.939Z"},"readme":"# Element-UI MCP Server\r\n\r\n[![中文文档](https://img.shields.io/badge/文档-中文-blue)](README.zh-CN.md)\r\n\r\nA Model Context Protocol (MCP) server that provides comprehensive information about Element-UI v2.15.14 components. This server enables AI assistants to query Element-UI component documentation, properties, events, and usage examples.\r\n\r\n## Project Introduction\r\n\r\nVue.js is an extremely powerful frontend framework, and Element-UI is one of the most popular and mature UI component libraries from the Vue 2 era. Although the Vue ecosystem has now entered the Vue 3 era, with Element-UI's last commit being on August 24, 2023, there are still many projects based on Vue 2 + Element-UI that continue to be maintained and iterated.\r\n\r\nTo enable large language models to more accurately understand Element-UI's components, properties, events, and examples when reading, generating, and completing code, and to further improve our development efficiency in maintaining legacy projects, I drew inspiration from the practices of other excellent component libraries and built this Element-UI dedicated MCP Server.\r\n\r\nI hope it will be useful in your daily development and save more time for fellow developers who continue to maintain Vue 2 projects.\r\n\r\n\r\n## Features\r\n\r\n- 📋 **List Components** - Get a complete list of all Element-UI components\r\n- 🔍 **Search Components** - Search components by name or description\r\n- 📖 **Component Details** - Get detailed information about specific components\r\n- ⚙️ **Component Properties** - Access all props, types, and defaults for components\r\n- 🎯 **Component Events** - View all events and their parameters\r\n- 📝 **Usage Examples** - Extract code examples from component documentation\r\n\r\n## Installation\r\n\r\n```bash\r\n# Clone the repository\r\ngit clone https://github.com/yun8711/element-ui-mcp.git\r\ncd element-ui-mcp\r\n\r\n# Install dependencies\r\npnpm install\r\n\r\n# Build the project\r\npnpm run build\r\n```\r\n\r\n## MCP API\r\n\r\nThe server provides 6 MCP API:\r\n\r\n### 1. `list_components`\r\nLists all available Element-UI components.\r\n\r\n### 2. `search_components`\r\nSearch for components by keyword.\r\n\r\n**Parameters:**\r\n- `keyword`: Search term\r\n- `limit` (optional): Maximum number of results\r\n\r\n### 3. `get_component`\r\nGet detailed information about a specific component.\r\n\r\n**Parameters:**\r\n- `tagName`: Component tag name (e.g., \"el-button\")\r\n\r\n### 4. `get_component_props`\r\nGet all properties for a specific component.\r\n\r\n**Parameters:**\r\n- `tagName`: Component tag name\r\n- `propName` (optional): Specific property name\r\n\r\n### 5. `get_component_events`\r\nGet all events for a specific component.\r\n\r\n**Parameters:**\r\n- `tagName`: Component tag name\r\n- `eventName` (optional): Specific event name\r\n\r\n### 6. `get_component_examples`\r\nGet usage examples for a specific component.\r\n\r\n**Parameters:**\r\n- `tagName`: Component tag name\r\n- `exampleIndex` (optional): Index of specific example\r\n\r\n## MCP Integration\r\n\r\nTo use this server with MCP-compatible clients, you can configure it in two ways:\r\n\r\n### Option 1: Local Installation\r\nIf you have cloned and built the project locally:\r\n\r\n```json\r\n{\r\n  \"mcpServers\": {\r\n    \"element-ui\": {\r\n      \"command\": \"node\",\r\n      \"args\": [\"/path/to/element-ui-mcp/stdio.js\"]\r\n    }\r\n  }\r\n}\r\n```\r\n\r\n### Option 2: Global Installation (Recommended)\r\nInstall the package globally and use npx:\r\n\r\n```bash\r\nnpm install -g element-ui-mcp\r\n```\r\n\r\nThen configure in your MCP client:\r\n\r\n```json\r\n{\r\n  \"mcpServers\": {\r\n    \"element-ui\": {\r\n      \"command\": \"npx\",\r\n      \"args\": [\"-y\", \"element-ui-mcp\"]\r\n    }\r\n  }\r\n}\r\n```\r\n\r\nThe npx approach is recommended as it automatically manages the package and ensures you're using the latest version.\r\n\r\n## Data Source\r\n\r\nThe component data is extracted from Element-UI v2.15.14 documentation and type definitions, including:\r\n\r\n- Component properties and types\r\n- Event definitions\r\n- Usage examples from documentation\r\n- TypeScript definitions\r\n\r\n## License\r\n\r\nMIT","users":{}}