fq-weapp-ui-mcp
v1.0.3
Published
MCP server for fq-weapp-ui and fq-weapp-ui-pro component library documentation and demo
Downloads
410
Maintainers
Readme
fq-weapp-ui-mcp
fq-weapp-ui 组件库的 MCP 服务端,支持文档、示例代码和源码获取。
功能
- 列出 fq-weapp-ui 和 fq-weapp-ui-pro 组件库的所有组件
- 获取任意组件的示例代码和源码
- GitLab Token 管理,安全访问 API
- 可集成到 VS Code MCP 插件或命令行
安装
npm install -g fq-weapp-ui-mcp
# 或直接使用 npx
npx fq-weapp-ui-mcp使用方法
https://www.yuque.com/camillelimengyi/rvimlc/accdd8xgp7yf5ho0?singleDoc# 《fq-weapp-ui-mcp使用说明》
工具列表
- list-components:列出组件库所有组件
- get-component-demo:获取组件的示例代码
- get-component-source:获取组件源码
- set-gitlab-token:设置或查询会话级 GitLab Token
工具调用示例
{
"name": "list-components",
"arguments": { "name": "fq-weapp-ui" }
}{
"name": "get-component-demo",
"arguments": { "componentName": "FQButton", "token": "glpat-xxxxx" }
}许可证
MIT
作者
Mone-Lee [email protected]
MCP server for fq-weapp-ui component library documentation, demo, and source code retrieval.
Features
- List all components in fq-weapp-ui and fq-weapp-ui-pro libraries
- Fetch demo code and source code for any component
- GitLab token management for secure API access
- Designed for integration with VS Code MCP extension or CLI
Installation
npm install -g fq-weapp-ui-mcp
# or use npx directly
npx fq-weapp-ui-mcpUsage
https://www.yuque.com/camillelimengyi/rvimlc/accdd8xgp7yf5ho0?singleDoc#
Tools
- list-components: List all components in a library
- get-component-demo: Get demo code for a component
- get-component-source: Get source code for a component
- set-gitlab-token: Set or query session GitLab token
Example Tool Usage
{
"name": "list-components",
"arguments": { "name": "fq-weapp-ui" }
}{
"name": "get-component-demo",
"arguments": { "componentName": "FQButton", "token": "glpat-xxxxx" }
}License
MIT
Author
Mone-Lee [email protected]
