Skip to main content
Glama
Business Central MCP Server

Business Central MCP Server

商业中心 MCP 服务器

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

特征

  • 静态规则:基于 JSON 的游标编辑器规则

  • 渲染部署:轻松部署至Render.com

  • 回退模式:无需数据库连接即可工作

  • 团队友好:规则自动应用于所有团队成员

Related MCP server: Azure Revisor MCP Server

快速入门

对于团队成员

要在您的项目中使用 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_ENV : production

    • MCP_SERVER_PORT : 10000

    • 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"]
  }
}

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      An MCP server that provides detailed information about your development environment to the Cursor code editor, enabling more context-aware assistance.
      6
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      A Model Context Protocol server that provides development standards and best practices context to AI coding assistants, ensuring generated code adheres to team/project conventions.
      3
      22 npm
      1
      MIT