Business Central MCP Server

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Integrations

  • Supports pushing code to GitHub as part of the deployment process to Render

  • Optional integration for storing and managing rules dynamically instead of using static files

  • Provides streamlined deployment to Render.com with included scripts and configuration recommendations

商业中心 MCP 服务器

为 Business Central 项目提供标准化开发规则和上下文的服务器,针对与 Cursor 编辑器的使用进行了优化。

特征

  • 静态规则:基于 JSON 的游标编辑器规则
  • 渲染部署:轻松部署至Render.com
  • 回退模式:无需数据库连接即可工作
  • 团队友好:规则自动应用于所有团队成员

快速入门

对于团队成员

要在您的项目中使用 BC 标准:

  1. 克隆此存储库或将以下文件复制到您的项目:
    • bc-rules.json
    • .cursor-context
  2. 当您编辑项目中的文件时,Cursor 将自动选择这些规则。

对于管理员

要更新或管理规则:

  1. 直接编辑bc-rules.json来更新静态规则
  2. 或者使用MongoDB数据库动态存储和管理规则
  3. 运行node scripts/generateRules.js从数据库更新静态文件

部署

使用渲染(推荐)

  1. 运行./scripts/deployRender.sh准备部署
  2. 推送到 GitHub
  3. 将存储库连接到 Render.com
  4. 在渲染仪表板中设置环境变量:
    • NODE_ENVproduction
    • MCP_SERVER_PORT10000
    • MONGODB_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"] } }
-
security - not tested
A
license - permissive license
-
quality - not tested

为 Business Central 项目提供标准化开发规则和上下文的服务器,针对与 Cursor 编辑器的使用进行了优化。

  1. Features
    1. Quick Start
      1. For Team Members
      2. For Administrators
    2. Deployment
      1. Using Render (Recommended)
    3. Endpoints
      1. Rule Structure
        ID: d0ibbplbtq