
Devart MCP Server for SQL Server (ADO.NET)
com.devart由 devart.com 發布v1.1.0更新於 Oct 24, 2026
Schema-aware read/write access to SQL Server through Devart dotConnect ADO.NET data provider.
概覽
透過 Devart dotConnect ADO.NET 或 ODBC 連線,讓 AI 助理以自然語言查詢與修改 SQL Server 資料庫。
- 可以做什麼
- 把自然語言請求轉換成結構化 SQL 查詢,並在已設定的 SQL Server 連線上執行
- 以感知結構描述的方式讀寫資料,回傳結構化結果供分析與報表使用
- 檢視結構描述、預存程序與資料問題,協助開發人員與 DBA 排錯
- 針對 .NET 應用程式、Dynamics/ERP、SharePoint 或內部網路平台背後的資料庫回答臨時業務問題
- 適用情境
- 適合 SQL Server 是團隊主要資料來源,且希望以對話方式查詢、做臨時報表或瀏覽結構描述,而不必手寫 SQL 或等待 BI 團隊的情況。也適合希望資料留在自有基礎設施內的內部部署環境。
- 執行需求
- 以本機 Windows 程序執行(從原始碼建置需 .NET 8 SDK;NuGet 套件 Devart.Mcp.SqlServer)。需在 mcpserver.json 中設定 SQL Server 連線,可使用 ADO.NET 連接字串或 ODBC DSN;ODBC 方式另需安裝 Devart ODBC Driver for SQL Server。連接字串透過環境變數 DEVART_MCP_SQLSERVER_CONNECTION 提供。支援 stdio 或 http 傳輸。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Devart MCP Server for SQL Server (ADO.NET),將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
[Devart MCP Server for SQL Server]
Version 1.1.0
Devart MCP Server for SQL Server
Devart MCP Server for SQL Server 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 SQL Server 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 SQL Server helps AI clients communicate directly with SQL Server 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 SQL Server:
1. Download and install Devart ODBC Driver for SQL Server.
2. Download and install Devart MCP Server for SQL Server.
3. In Devart MCP Server for SQL Server, 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 SQL Server, ensure the following components are installed:
- .NET 8 SDK
- ADO.NET connection — Devart.AI.McpServer.AdoNet.SqlServer.csproj Devart dotConnect for SQL Server (installed automatically via NuGet during build)
- ODBC connection — Devart.AI.McpServer.Odbc.SqlServer.csproj Devart ODBC Driver for SQL Server (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 SQL Server 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 SQL Server 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_sqlserver 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.SqlServer.exeis the path to the executable file. For an ODBC connection, useDevart.AI.McpServer.Odbc.SqlServer.exe. -
my_sqlserveris 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 SQL Server is now integrated with Claude, and devart appears in the Claude Desktop app in Customize > Connectors.
You can also integrate Devart MCP Server for SQL Server with other AI clients such as Cline, Codex, Cursor, Visual Studio Code, Windsurf, Zed.
Supported clients
Devart MCP Server for SQL Server 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 SQL Server is a practical fit for teams working with SQL Server as their primary data source.
-
.NET application data access
Query business data from SQL Server databases backing .NET web applications, APIs, and enterprise software, without SQL or developer involvement. -
Microsoft Dynamics and ERP analytics
Access CRM, ERP, and operational data stored in SQL Server by Microsoft Dynamics on-premises deployments directly through AI tools. -
SharePoint and intranet data exploration
Query content databases, list data, and metadata from SQL Server instances backing SharePoint or other Microsoft intranet platforms. -
BI and reporting without SSRS
Answer ad-hoc business questions directly from SQL Server databases without building SSRS reports or waiting for BI team involvement. -
Developer and DBA productivity
Help SQL Server developers and DBAs investigate data issues, explore stored procedures, audit schemas, and troubleshoot performance problems with AI assistance. -
Secure on-premises AI access to SQL Server
Keep SQL Server data inside your infrastructure, including Azure-connected instances with private networking, while enabling AI-driven analysis.
Licensing and activation
Devart MCP Server for SQL Server is distributed as a free single-source MCP server.
To connect to SQL Server, the server requires the corresponding Devart ODBC Driver for SQL Server, which is a paid product.
A 30-day free trial is available for the Devart ODBC Driver for SQL Server.
See the product page and documentation for the latest installation and activation details.
Support
Other Devart connectivity solutions
來源:README.md,提交 ecb6efc
工具
0版本歷史
1- v1.1.0最新Sep 17, 2026
評分
已滿足適用檢查項的 40%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
請在儲存庫或註冊中心條目中宣告授權條款。