Skip to main content
Glama
vanachterjacob

Business Central MCP Server

商业中心 MCP 服务器

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

特征

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

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

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

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

Related MCP server: Cursor DB 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_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

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.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/vanachterjacob/BC-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server