
srikanth-paladugula/mcp-dynamics365-server
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
Microsoft Dynamics 365를 위한 MCP 서버
개요
Anthorpic을 사용하여 Microsoft Dynamics 365과 상호 작용하는 도구를 제공하는 MCP 서버입니다. 사용자는 사용자 정보, 계정, 계정, 계정과 관련된 다양한 작업을 수행 할 수 있습니다. 계정, 생성 및 업데이트 계정 . 이 프로젝트는 MCP 서버와 도구를 구현하기 위해 @modelcontextprotocol/sdk 라이브러리를 사용하고 데이터 작업에 대해 Dynamics 365 API와 통합합니다. 프로젝트를 설정하기 전에 다음 설치를해야합니다. - (v16 이상) - (Node Package Manager) - API 액세스와 동적 365 인스턴스 - 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와 통합합니다.
도구 목록 ️
|Tool Name |Description | ** 입력** | ** 출력** |
| get-user-info | 현재 인증된 사용자에 대한 정보를 Fetches. | none | 이름, 사용자 ID 및 비즈니스 단위 ID를 포함한 사용자 세부 정보. |
| fetch-accounts | Dynamics 365의 모든 계정이 있습니다. | 없음 | JSON 형식의 계정 목록. |
이 페이지는 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:
설치
npx @modelcontextprotocol/inspector node build/index.js설정
{
"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"
}
}
}
}