
Devart MCP Server for Dynamics 365 (ADO.NET)
com.devart由 devart.com 发布v1.1.0更新于 Oct 24, 2026
Schema-aware read/write access to Dynamics 365 through Devart dotConnect ADO.NET data provider.
概览
一个本地 MCP 服务器,通过 Devart dotConnect ADO.NET 或 ODBC 驱动,让 AI 助手以感知架构的方式读写 Dynamics 365 业务数据。
- 可以做什么
- 用自然语言查询 Dynamics 365 数据,请求被转换为结构化查询并经 Devart 连接驱动执行,结果以结构化形式返回给助手。通过感知架构的连接读取和写入 Dynamics 365 记录。支持对销售管道、客户与联系人、服务案例、营销活动、活动历史以及收入或配额数据进行分析和报表。可通过 stdio 运行(由 AI 客户端自动启动),也可在配置的端口上通过 HTTP 运行。
- 适用场景
- 适合主要业务数据存放在 Dynamics 365 的团队,希望以对话方式查询、分析或更新数据,而不必导出数据或手写查询。适用于销售、客户服务、营销和收入报表等场景。
- 运行要求
- 作为本地 Windows 进程运行(仅限桌面)。从源码构建需要 .NET 8 SDK,需要 Devart dotConnect for Dynamics 365 或 Devart ODBC Driver for Dynamics 365 连接,并在可执行文件旁的 mcpserver.json 中配置连接。连接字符串通过环境变量 DEVART_MCP_DYNAMICS365_CONNECTION 提供。
安装
在 SourceWeft 中
- 打开 控制台中的 Devart MCP Server for Dynamics 365 (ADO.NET),将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
[Devart MCP Server for Dynamics 365]
Version 1.1.0
Devart MCP Server for Dynamics 365
Devart MCP Server for Dynamics 365 enables AI clients to interact with your data through a secure server running in your environment. It turns a regular AI chat into a practical way to work with real-world business data — and it is faster than conventional export or manual querying.
Key benefits
Devart MCP Server for Dynamics 365 allows you to:
- Work with data intuitively through natural language.
- Retrieve the required data for analysis within minutes.
- Report on your data faster with AI-powered assistance.
- Minimize manual data handling and integration maintenance.
How it works
Devart MCP Server for Dynamics 365 helps AI clients communicate directly with Dynamics 365 databases using natural-language prompts. It translates AI requests into structured queries, executes them through Devart connectivity drivers, and returns clean, structured results for seamless AI-powered data access.
[Devart MCP Server architecture]
Quick start
To get started with Devart MCP Server for Dynamics 365:
1. Download and install Devart ODBC Driver for Dynamics 365.
2. Download and install Devart MCP Server for Dynamics 365.
3. In Devart MCP Server for Dynamics 365, configure your data connection and integration settings.
[Devart MCP Server configuration]
4. Run your first natural-language query.
[Need an MCP Server for multiple data sources?]
Manual installation and configuration
Prerequisites
Before building and running Devart MCP Server for Dynamics 365, ensure the following components are installed:
- .NET 8 SDK
- ADO.NET connection — Devart.AI.McpServer.AdoNet.Dynamics365.csproj Devart dotConnect for Dynamics 365 (installed automatically via NuGet during build)
- ODBC connection — Devart.AI.McpServer.Odbc.Dynamics365.csproj Devart ODBC Driver for Dynamics 365 (requires manual download and installation)
Step 1: Clone the repository
Clone the project repository and navigate to the project directory:
1. Open Command Prompt.
2. Enter the following command:
Step 2: Build the MCP Server from source
You can build Devart MCP Server for Dynamics 365 from source using either of the supported database connectivity technologies: ADO.NET or ODBC.
- To build the MCP server with ADO.NET, run the following command:
The Devart dotConnect for Dynamics 365 NuGet package is downloaded and restored automatically.
- To build the MCP server with ODBC, select the command based on the bitness of your data source.
For 64-bit data source, run the following command:
For 32-bit data source, run the following command:
Note
The target platform must match the bitness of your ODBC data source.
Step 3: Configure the database connection for the MCP Server
1. Create an mcpserver.json configuration file in the directory containing the built MCP Server executable.
2. In the file, configure the database connection.
- Configure a connection with ADO.NET.
Add the following configuration to the mcpserver.json file:
- Configure a connection with ODBC.
Add the following configuration to the mcpserver.json file:
- Configure a connection with ODBC using a connection string.
Add the following configuration to the mcpserver.json file:
where:
-
Name— The connection name. -
ConnectionString(applies to ADO.NET) — A database-specific connection string used to establish a connection to the target database. -
DsnName(applies to ODBC) — The name of your data source. -
ProtocolType— A transport protocol. The possible options are:stdioorhttp. -
HttpPort(required ifProtocolTypeis set tohttp) — The port number for thehttpprotocol.
Step 4: Run the MCP server
After you configure the MCP Server, you can start it.
Note
This step is required only when
ProtocolTypeis configured ashttp. If you use thestdiotransport protocol, your AI client starts the server automatically.
- To start the server with ADO.NET, run the following command:
- To start the server with ODBC, run the following command:
where my_dynamics365 is the name of the ODBC connection.
Step 5: Integrate with Claude Desktop
1. Open claude_desktop_config.json, the Claude configuration file.
Tip
If you can't locate the configuration file, it may not exist yet. To create it, open Claude Desktop and navigate to File > Settings > Developer, then click Edit Config. The folder with the
claude_desktop_config.jsonfile opens.
2. Add one of the following objects, depending on the transport protocol used by MCP Server:
- STDIO
where:
-
devartis the connector name that will appear in Claude Desktop. -
C:\\path\\to\\Devart.AI.McpServer.AdoNet.Dynamics365.exeis the path to the executable file. For an ODBC connection, useDevart.AI.McpServer.Odbc.Dynamics365.exe. -
my_dynamics365is the connection name specified in themcpserver.jsonconfiguration file. -
HTTP
where:
devartis the connector name that will appear in Claude Desktop.5000is the MCP Server listening port.
3. Save the file.
4. Restart Claude Desktop.
Devart MCP Server for Dynamics 365 is now integrated with Claude, and devart appears in the Claude Desktop app in Customize > Connectors.
You can also integrate Devart MCP Server for Dynamics 365 with other AI clients such as Cline, Codex, Cursor, Visual Studio Code, Windsurf, Zed.
Supported clients
Devart MCP Server for Dynamics 365 supports integration with the following AI clients:
- Claude Desktop
- Visual Studio Code
- Cursor
- Codex
- Windsurf
- Cline
- Zed
- ...and other MCP-compatible AI clients
Typical use cases
Devart MCP Server for Dynamics 365 is a practical fit for teams working with Dynamics 365 as their primary data source.
-
Sales pipeline analysis and forecasting
Let sales managers and reps query opportunity stages, deal values, close probabilities, and pipeline health directly from Dynamics 365 in natural language. -
Customer and account intelligence
Access full account histories, contact interactions, and relationship timelines stored in Dynamics 365 to support account management and customer research. -
Service queue and case management analytics
Analyze open cases, resolution times, agent workloads, and SLA compliance across Dynamics 365 customer service data. -
Marketing campaign performance
Query lead sources, campaign responses, and conversion data from Dynamics 365 marketing entities to evaluate campaign effectiveness. -
Activity and interaction history
Retrieve email logs, call records, meeting notes, and task histories attached to Dynamics 365 records to support relationship management workflows. -
Revenue and quota reporting
Generate revenue summaries, quota attainment reports, and win/loss analyses from Dynamics 365 opportunity and order data on demand.
Licensing and activation
Devart MCP Server for Dynamics 365 is distributed as a free single-source MCP server.
To connect to Dynamics 365, the server requires the corresponding Devart ODBC Driver for Dynamics 365, which is a paid product.
A 30-day free trial is available for the Devart ODBC Driver for Dynamics 365.
See the product page and documentation for the latest installation and activation details.
Support
Other Devart connectivity solutions
来源:README.md,提交 7a654f7
工具
0版本历史
1- v1.1.0最新Sep 23, 2026
评分
已满足适用检查项的 40%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
请在仓库或注册中心条目中声明许可证。