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

Business Central MCP サーバー

カーソル エディターでの使用に最適化された、Business Central プロジェクト用の標準化された開発ルールとコンテキストを提供するサーバー。

特徴

  • 静的ルール: カーソルエディターの JSON ベースのルール
  • Render のデプロイメント: Render.com への簡単なデプロイメント
  • フォールバックモード: データベース接続なしで動作します
  • チームフレンドリー: ルールはチームメンバー全員に自動的に適用されます

クイックスタート

チームメンバー向け

プロジェクトで BC 標準を使用するには:

  1. このリポジトリを複製するか、次のファイルをプロジェクトにコピーします。
    • bc-rules.json
    • .cursor-context
  2. プロジェクト内のファイルを編集するときに、カーソルはこれらのルールを自動的に取得します。

管理者向け

ルールを更新または管理するには:

  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"] } }
-
security - not tested
A
license - permissive license
-
quality - not tested

カーソル エディターでの使用に最適化された、Business Central プロジェクト用の標準化された開発ルールとコンテキストを提供するサーバー。

  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