商业中心 MCP 服务器
为 Business Central 项目提供标准化开发规则和上下文的服务器,针对与 Cursor 编辑器的使用进行了优化。
特征
静态规则:基于 JSON 的游标编辑器规则
渲染部署:轻松部署至Render.com
回退模式:无需数据库连接即可工作
团队友好:规则自动应用于所有团队成员
Related MCP server: Cursor DB MCP Server
快速入门
对于团队成员
要在您的项目中使用 BC 标准:
克隆此存储库或将以下文件复制到您的项目:
bc-rules.json.cursor-context
当您编辑项目中的文件时,Cursor 将自动选择这些规则。
对于管理员
要更新或管理规则:
直接编辑
bc-rules.json来更新静态规则或者使用MongoDB数据库动态存储和管理规则
运行
node scripts/generateRules.js从数据库更新静态文件
部署
使用渲染(推荐)
运行
./scripts/deployRender.sh准备部署推送到 GitHub
将存储库连接到 Render.com
在渲染仪表板中设置环境变量:
NODE_ENV:productionMCP_SERVER_PORT:10000MONGODB_URI:您的 MongoDB 连接字符串(可选)
端点
/cursorrules:获取当前规则(JSON格式)/health:服务器健康检查
规则结构
规则结构如下:
{
"version": "1.0",
"rules": [
"Follow business naming conventions for all code",
"Include proper error handling in all functions"
],
"context": {
"businessDomain": "Business Central",
"preferredPatterns": ["Repository pattern", "SOLID principles"]
}
}This server cannot be installed
Resources
Looking for Admin?
Admins can modify the Dockerfile, update the server description, and track usage metrics. If you are the server author, to access the admin panel.