インストール不要。2分以内に動きます。
cloud.anythingmcp.com で無料トライアルを開始し、Microsoft Dynamics 365 Business Central をワンクリックで追加して、AI クライアント(Claude、ChatGPT、Copilot、Cursor)を生成された MCP エンドポイントに向けるだけ。Docker も git clone も、開発経験も不要です。
概要
AI に Business Central で作業させます。顧客、仕入先、品目の検索、販売見積、販売注文、販売請求書、購買請求書、総勘定元帳、勘定科目表、ディメンションの参照、顧客の作成と見積・注文の下書き作成ができます。標準 API v2.0 経由で Business Central online に対応し、Microsoft アカウントでサインインします。
こう聞いてみよう
Microsoft Dynamics 365 Business Central のサンプルプロンプト
プロンプトをクリックでコピー。Claude / ChatGPT / Cursor / Gemini / Copilot / OpenClaw に貼り付けて、このコネクターで実行できます。
Claude は AI のため誤ることがあります。回答をご確認ください。
💡 インストール不要? cloud.anythingmcp.com を直接利用してください。 サインインし、Connectors → Microsoft Dynamics 365 Business Central をクリック、認証情報を貼り付け、MCP API キーを発行すれば完了です。Docker も
git cloneもローカルサーバーも不要。
Dynamics 365 Business Central + Meta Muse
AI に Business Central で作業させます。顧客、仕入先、品目の検索、販売見積、販売注文、販売請求書、購買請求書、総勘定元帳、勘定科目表、ディメンションの参照、顧客の作成と見積・注文の下書き作成ができます。標準 API v2.0 経由で Business Central online に対応し、Microsoft アカウントでサインインします。
前提条件
完全なセットアップ手順はコネクタ自体に組み込まれています (ストアでコネクタを選択すると表示)。必要な環境変数:
MICROSOFT_CLIENT_ID, MICROSOFT_CLIENT_SECRET, MICROSOFT_TENANT_ID, BC_ENVIRONMENT
ステップ 1 — 認証情報を取得
- Microsoft Entra 管理センター(
https://entra.microsoft.com)を開き、Applications → App registrations → New registration に進みます。Outlook、OneDrive、SharePoint のコネクター用に作成したアプリを使い回してもかまいません。通常は Accounts in this organizational directory only を選びます。 - プラットフォーム Web でリダイレクト URI を追加します:
https://cloud.anythingmcp.com/api/mcp-oauth/callback(AnythingMCP をセルフホストしている場合は<your AnythingMCP URL>/api/mcp-oauth/callback)。完全に一致している必要があり、一致しないと Microsoft はAADSTS50011を返します。 - API permissions → Add a permission → Dynamics 365 Business Central → Delegated permissions で、
Financials.ReadWrite.All(とuser_impersonation)にチェックを入れます。組織でユーザー自身による同意が許可されていない場合は、Grant admin consent をクリックします。 - Certificates & secrets → New client secret で、シークレットの Value をコピーします。表示されるのは一度だけです。必要なのは Secret ID ではありません。
MICROSOFT_CLIENT_ID(Application (client) ID)、MICROSOFT_CLIENT_SECRET、MICROSOFT_TENANT_ID、BC_ENVIRONMENTを入力し、コネクターをインストールします。- Authorize with Provider をクリックし、Business Central のユーザーでサインインします。アクセストークンは自動で更新されます。
bc_list_companiesを実行します。ほかのツールはすべて 1 つの会社の中で動作し、その会社の ID を指定して使います。
テナントと環境: MICROSOFT_TENANT_ID には、Directory (tenant) ID か contoso.onmicrosoft.com のようなドメインを入れます。テナントは Business Central のアドレスの一部なので、ここでは common と organizations は使えません。BC_ENVIRONMENT は、Business Central 管理センターに表示されているとおりの環境名です。ほとんどの本番テナントでは Production、テスト環境では Sandbox または独自の名前になります。名前は bc_list_environments で確認できます。まずはサンドボックスでコネクターを試してください。本番環境では、コネクターが作成する顧客やドキュメントは実際のデータになります。
ユーザーと同じ権限: すべての呼び出しはサインインしたユーザーとして実行され、そのユーザーの Business Central ライセンスと権限セットが適用されます。AI が参照、変更できるのは、そのユーザーに許可された範囲だけです。
読み取りと書き込みの対象: 顧客、仕入先、品目、販売見積、販売注文、販売請求書、購買請求書、総勘定元帳エントリ、勘定科目表、ディメンション、従業員に加え、bc_query を使えば標準 API v2.0 のほかのリソース(連絡先、購買発注、クレジットメモ、売掛金と買掛金の年齢分析、試算表など)も扱えます。顧客と、明細行付きの販売見積・販売注文を作成でき、顧客の更新もできます。ドキュメントはオープン状態の下書きのままで、リリース、出荷、請求、転記は一切行いません。AI はドキュメントを作成する前に、顧客、品目、数量、価格をあなたに確認します。
インストール時はオフ: bc_delete_customer、bc_make_order_from_quote、bc_delete_sales_quote、bc_delete_sales_order。レコードの削除や見積から注文への変換は元に戻せないため、必要な場合にだけツールごとにオンにしてください。
上限: Business Central の API 呼び出しは、ユーザーごとに 5 分あたり約 6,000 回までです。これを超えると、Business Central がコネクターに待機を求めます。
よくあるエラー: 401 は、承認が取り消されたかクライアントシークレットの期限が切れたことを示します。必要に応じて新しいシークレットを貼り付け、もう一度承認してください。403 は、ユーザーにライセンスや権限セットがないか、管理者の同意がないことを示します。404 NoEnvironment は、BC_ENVIRONMENT か MICROSOFT_TENANT_ID が間違っていることを示します。412 は、読み取った後に誰かがレコードを変更したことを示すため、AI がもう一度読み込みます。
対象は Business Central online のみです。オンプレミス環境には対応しておらず、以前の NAV 環境には専用の Dynamics NAV コネクター があります。拡張機能が公開するカスタム API にはアクセスできません。
ステップ 2 — アダプターをインストール
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
ステップ 3 — Muse にコネクタを追加
サーバーURL: AnythingMCP で MCP Servers を開き、このコネクタがあるサーバーを選んで URL(
https://cloud.anythingmcp.com/mcp/…)をコピーします。このガイドでYOUR_SERVER_IDと表示されている箇所に使ってください。
Muse はリモート MCP サーバーをカスタムコネクタとして追加し、OAuth でサインインします。
- Muse で Settings → Connectors を開き、Add custom connector を選びます。
- MCP サーバーの URL
https://cloud.anythingmcp.com/mcp/YOUR_SERVER_IDを貼り付けます。 - Muse が AnythingMCP のサインインページを開きます。サインインしてアクセスを承認します。
- チャットで、
Dynamics 365 Business Centralのツールが必要になる依頼を Muse にしてみましょう。
チャットから設定することもできます(Web、iOS・Android アプリ、WhatsApp)。Muse に次のメッセージを送ってください:
Create a Custom Connector for a new remote MCP server, then connect to it:
Name: AnythingMCP
Transport: remote streamable HTTP
URL: https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID
Auth: OAuth
セルフホストの場合は、https://cloud.anythingmcp.com の代わりにインスタンスの公開 HTTPS アドレスを使ってください。Muse は Meta のクラウドから接続するため、localhost は使えません。
利用可能なツール
| Tool | What it does |
|---|---|
bc_list_environments | List the Business Central environments of the tenant: name, type (Production or Sandbox), country and web client URL |
bc_list_companies | List the companies in the connected environment with their id, name and display name |
bc_list_customers | List or search customers: number, name, address, phone, email, balance, credit limit, currency, blocked state |
bc_get_customer | Read one customer with every field, including its @odata.etag for updates |
bc_create_customer | Create a customer |
bc_update_customer | Change fields of one customer; fields left out keep their values |
bc_delete_customer | Delete one customer |
bc_list_vendors | List or search vendors (suppliers): number, name, address, phone, email, balance, currency, blocked state |
bc_get_vendor | Read one vendor with every field: address, contact details, balance, payment terms and its @odata.etag |
bc_list_items | List or search items: number, name, type (Inventory, Service, Non-Inventory), category, inventory on hand, unit price, unit cost, base unit… |
bc_get_item | Read one item with every field: prices, cost, inventory, units of measure, GTIN, category |
bc_list_sales_quotes | List sales quotes: number, customer, dates, status (Draft, Sent, Accepted, Expired), amounts |
bc_get_sales_quote | Read one sales quote with every header field; expand=salesQuoteLines adds the lines |
bc_create_sales_quote | Create a sales quote for a customer, optionally with its lines in the same call |
bc_add_sales_quote_line | Add one line to an open sales quote: an item with quantity and optionally price and discount, a G/L account, a resource or a comment |
bc_make_order_from_quote | Turn a sales quote into a sales order (Business Central's Make Order) |
bc_delete_sales_quote | Delete one sales quote with its lines |
bc_list_sales_orders | List sales orders: number, customer, order and delivery dates, status (Draft, In Review, Open), fully shipped flag, amounts |
bc_get_sales_order | Read one sales order with every header field; expand=salesOrderLines adds the lines with shipped and invoiced quantities |
bc_create_sales_order | Create a sales order for a customer, optionally with its lines in the same call |
bc_add_sales_order_line | Add one line to an open sales order: an item with quantity and optionally price and discount, a G/L account, a resource or a comment |
bc_delete_sales_order | Delete one open sales order with its lines |
bc_list_sales_invoices | List sales invoices: number, customer, invoice and due dates, status (Draft, In Review, Open, Paid, Canceled, Corrective), total and… |
bc_get_sales_invoice | Read one sales invoice with every header field; expand=salesInvoiceLines adds the lines |
bc_list_purchase_invoices | List purchase invoices (vendor bills): number, vendor, vendor invoice number, invoice and due dates, status (Draft, In Review, Open, Paid… |
bc_get_purchase_invoice | Read one purchase invoice with every header field; expand=purchaseInvoiceLines adds the lines |
bc_list_general_ledger_entries | List posted general ledger entries: entry number, posting date, document type and number, G/L account, description, debit and credit amount |
bc_list_accounts | List the chart of accounts (G/L accounts): number, name, category (Assets, Liabilities, Equity, Income, Cost of Goods Sold, Expense)… |
bc_list_dimensions | List the dimensions (for example DEPARTMENT, PROJECT, AREA) with their codes. bc_list_dimension_values lists the values of one |
bc_list_dimension_values | List the values of one dimension, e.g. the departments of DEPARTMENT, with code and name |
bc_list_employees | List employees: number, name, job title, email, phone, status (Active, Inactive, Terminated), employment date |
bc_query | Read any other API v2.0 resource of a company that has no dedicated tool, e.g. contacts, purchaseOrders, salesCreditMemos, salesShipments… |
プロンプトの例
- 「支払期限を過ぎた請求書がある顧客はどこ?顧客ごとの合計金額も教えて。」
- 「今月の販売注文のうち、まだ出荷が完了していないものを見せて。」
- 「Adatum Corporation 向けに、品目 1896-S を 10 個で販売見積を作成して。保存する前に内容を見せて。」
- 「9 月に収益勘定に転記した内容を、部門別に教えて。」
FAQ
Muse はどこで使えますか? Meta は現在、Muse を米国とカナダで提供しています。Web、iOS・Android アプリ、WhatsApp で利用できます。
Meta はこのコネクタを審査しますか? いいえ。Meta はカスタムコネクタを審査しません。Muse に見えるのは、AnythingMCP でこの MCP サーバーに対して有効にしたツールだけです。コネクタはいつでも Settings → Connectors で切断できます。
次のステップ
このガイドは役に立ちましたか?