
uni app x ai rules
一个为 uni-app-x 提供的 AI 规则配置工具集。
Repository Info
About This Server
一个为 uni-app-x 提供的 AI 规则配置工具集。
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
使用规则
复制.cursor下的rules目录到uni-app-x项目根目录下
使用mcp
1、下载mcp包
$ npm i uni-app-x-mcp -g
2、在Cursor中使用
在项目根路径创建.cursor/mcp.json文件,文件内容如下
{
"mcpServers": {
"uni-app-x": {
"command": "npx",
"args": [
"uni-app-x-mcp"
]
}
}
}
3、默认启动mcp服务
- 点击cursor setting -> 点击mcp
- 会出现一个mcp列表,选择自己需要启动mcp就行(默认是关闭状态)

ps: 默认需要自己点击是否使用mcp服务,也可以设置为自动代理的方式文档
使用方式

Quick Start
Clone the repository
git clone https://github.com/dcloudio-hbuilder/uni-app-x-ai-rulesInstall dependencies
cd uni-app-x-ai-rules
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.