SP

srikanth-paladugula/mcp-dynamics365-server

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

22 stars 18 forks 品質 66 トレンド 0MIT

Microsoft Dynamics 365のMCPサーバー

概要

Anthorpic を使って Microsoft Dynamics 365 とやり取りするツールを提供する MCP サーバーです。 ユーザーは、ユーザー情報、アカウント、アカウントに関連する機会、アカウントの作成、更新などのさまざまな操作を実行できます。 このプロジェクトでは、MCP サーバーとツールを実装するために @modelcontextprotocol/sdk ライブラリを使用しており、データ操作用の Dynamics 365 API と連携します。 プロジェクトを設定する前に、以下のインストールを行ってください。 - (v16以上) - (Node Package Manager) - Dynamics 365 APIアクセス用に構成されたAPIアクセス - Azure Active Directory(AAD)アプリケーションでDynamics 365 APIアクセス これらの手順に従って、プロジェクトをローカルにセットアップして実行します。 プロジェクトのルートで .env ファイルを作成し、次の変数を追加します。 - Claudeデスクトップをインストール - [設定]> [開発者]> [設定の編集] - [claude desktop configの編集]に移動します.

概要(AI 翻訳)

概要

Microsoft Dynamics 365 MCP Serverは、Anthorpicの**Model Context Protocol(MCP)**を使用してMicrosoft Dynamics 365と対話するためのツールを提供するMCPサーバーです。 ユーザーは、ユーザー情報、アカウント、アカウントに関連する機会の取得、Claude Desktopからアカウントの作成および更新などのさまざまな操作を実行できます。

このプロジェクトでは、MCP サーバーとツールを実装するために [@modelcontextprotocol/sdk ライブラリを使用し、データ操作用の Dynamics 365 API と統合します。

お問い合わせ

ツールの一覧を見る

************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************
[get-user-info
[fetch-accounts

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Dynamics 365 MCP Server 🚀

Overview

The Microsoft Dynamics 365 MCP Server is a MCP server that provides tools to interact with Microsoft Dynamics 365 using the Model Context Protocol(MCP) by Anthorpic. It allows users to perform various operations such as retrieving user information, accounts, opportunities associated with an account, create and update accounts from Claude Desktop.

This project uses the @modelcontextprotocol/sdk library to implement the MCP server and tools, and it integrates with Dynamics 365 APIs for data operations.


List of Tools 🛠️

Tool Name Description Input Output
get-user-info Fetches information about the currently authenticated user. None User details including name, user ID, and business unit ID.
fetch-accounts Fetches all accounts from Dynamics 365. None List of accounts in JSON format.
get-associated-opportunities Fetches opportunities associated with a given account. accountId (string, required) List of opportunities in JSON format.
create-account Creates a new account in Dynamics 365. accountData (object, required) containing account details. Details of the created account in JSON format.
update-account Updates an existing account in Dynamics 365. accountId (string, required), accountData (object, required) containing updated details. Details of the updated account in JSON format.

Prerequisites 📝

Before setting up the project, ensure you have the following installed:

  • Node.js (v16 or higher)
  • NPM (Node Package Manager)
  • A Dynamics 365 instance with API access
  • Azure Active Directory (AAD) application configured for Dynamics 365 API access

Configuration Steps ⚙️

Follow these steps to set up and run the project locally:

GitHub で README 全文を見る

インストール

npx @modelcontextprotocol/inspector node build/index.js
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "Dynamics365": { "command": "node", "args": [ "<Path to your MCP server build file ex: rootfolder/build/index.js>" ], "env": { "CLIENT_ID": "<D365 Client Id>", "CLIENT_SECRET": "<D365 Client Secret>", "TENANT_ID": "<D365 Tenant ID>", "D365_URL": "Dynamics 365 url" } } } }