Devart MCP Server for SQL Server (ODBC)

Self-hosted MCP server for secure AI access to Microsoft SQL Server. Free to use on Windows; requires the commercial Devart ODBC Driver for SQL Server (free 30-day trial).

Documentation

Connect your AI tools to live SQL Server data

MCP Server for SQL Server is a free, self-hosted solution that lets AI tools access your live SQL Server data. It provides a natural-language interface for investigating database behavior and finding the information you need without developing a custom AI-to-database integration.

  • Explore stored procedures and relationships

  • Analyze queries and execution plans

  • Troubleshoot deadlocks and performance issues

  • Control AI access to SQL Server through database permissions

What is Devart MCP Server for SQL Server?

Devart MCP Server for SQL Server connects AI assistants and agents to Microsoft SQL Server through the Model Context Protocol (MCP). This free, self-hosted solution allows AI tools to query data, explore database objects, and investigate database behavior using natural-language requests without requiring a custom AI-to-database integration.

For database access, MCP Server uses Devart ODBC Driver for SQL Server to connect to SQL Server and provide structured access to data and metadata. The driver handles database connectivity and query execution, while MCP Server processes requests from AI clients and returns the requested results.

How Devart MCP Server for SQL Server works

Why connect AI to SQL Server data through MCP?

Connecting AI to SQL Server through MCP turns a conventional AI chat into a practical way of working with live data. It is much faster than manual data export or SQL querying.

Ask SQL Server in plain language

Retrieve data, inspect schemas, and investigate issues in the most natural and convenient way.

Ask SQL Server in plain language

Built for teams working with SQL Server

MCP Server for SQL Server gives teams a natural-language interface to SQL Server for analysis, development, troubleshooting, validation, and controlled AI access.

Team

Request

Analysts & BI teams

Show bookings by business unit this quarter.

Queries SQL Server and returns bookings grouped by business unit, without requiring analysts to write T-SQL or prepare manual exports.

Developers, DBAs & data engineers

Why is this stored procedure slow?

Examines stored procedure logic, execution plans, and indexes to help teams investigate query performance and identify potential bottlenecks.

QA, support & operations teams

Retrieves related records across SQL Server databases to help teams reproduce, investigate, and verify issues without manual lookups.

Platform & security teams

How can we give teams AI access to SQL Server without giving them direct database access?

Provides a self-hosted layer for controlled AI access to SQL Server while keeping database connectivity within your environment.

How to get started with an MCP Server for SQL Server

1

2

3

4

1

Download MCP Server

Install the self-hosted server and open the setup.

Download

2

Access your SQL Server

Use an existing DSN or create a custom SQL Server connection.

3

Connect your AI tool

Integrate Claude, VS Code, Cursor, Codex, or another compatible MCP tool.

4

Ask in plain language

Begin querying your SQL Server data in natural language through the MCP layer.

Devart MCP Server for SQL Server

Get started with MCP Server for SQL Server

Download and set up the free, self-hosted MCP Server to securely connect your AI tools to SQL Server and start asking questions in plain language.

WhoBenefitsTitle

TechnicalTeamsImageAlt TechnicalTeamsImageAlt TechnicalTeamsImageAlt

TechnicalTeams

Developers, DBAs, data engineers, and architects who build and maintain SQL Server databases and need quick access to their structure, logic, and live data without opening SSMS for every question. They can use natural-language queries to explore schemas and database objects, inspect stored procedures and dependencies, examine execution plans and indexes, retrieve relevant data, and investigate query performance, blocking, and other database issues directly from their AI tools.

BusinessTeams

Sales ops, RevOps, finance, support, accounting, and operations teams that need answers from SQL Server data in plain language, without waiting on T-SQL queries or manual exports.

BusinessTeamsImageAlt BusinessTeamsImageAlt

AiAndAutomationTeams

Teams developing database assistants and automated engineering workflows that need SQL Server data, schema information, and database context for AI-driven tasks.

AiAndAutomationTeamsImageAlt AiAndAutomationTeamsImageAlt Devart MCP Server Universal

Need an MCP Server for multiple data sources?

A single MCP layer for all your databases and cloud services.

Devart MCP Server Universal

Explore other MCP servers

Frequently asked questions

What is MCP Server for SQL Server?

MCP Server for SQL Server provides a self-hosted bridge between SQL Server and AI assistants that support the Model Context Protocol (MCP). It gives AI tools a standard interface for accessing database data and objects while keeping SQL Server connections under your control.

How does MCP Server connect AI to SQL Server?

AI clients interact with SQL Server through MCP tools rather than opening a database connection themselves. The server receives tool calls, performs the requested operations through Devart ODBC Driver for SQL Server, and sends structured results back to the client.

Can AI query live SQL Server data through MCP?

Yes. AI assistants can retrieve current data directly from the connected SQL Server database. They can also examine schemas and database objects, run SQL queries, and use the returned information for analysis and troubleshooting.

Is MCP Server for SQL Server secure?

MCP Server is deployed within your infrastructure and works with database connections that you configure. SQL Server permissions determine which data and operations are available, giving you control over the level of access granted to AI tools.

Is MCP Server for SQL Server free?

Yes. MCP Server for SQL Server is free to download and use, with no license key, activation, or expiration. Database connectivity is provided through Devart ODBC Driver for SQL Server, which is licensed separately and includes a 30-day trial.

What can AI assistants do with SQL Server through MCP?

AI assistants can explore database objects, analyze queries, review stored procedures, retrieve related records, and investigate performance issues. They can also assist with ad-hoc analysis and reporting using live SQL Server data.

Can AI explain execution plans for SQL Server queries?

Yes. When execution plan information is available, an AI assistant can interpret operators, costs, joins, scans, and other plan details in plain language. It can use that context to help identify potential performance bottlenecks and optimization opportunities.

Can AI help investigate deadlocks and blocking in SQL Server?

Yes. AI assistants can analyze available information about blocked sessions, queries, and deadlocks to help identify the statements and resources involved. They can then explain the findings and suggest areas to investigate further.

Do I need to build a custom API integration to connect SQL Server to AI?

No. After installing the MCP Server, configure your SQL Server connection and add the server to a compatible AI client. MCP handles communication between the client and server, removing the need to develop a dedicated API integration.

Which AI tools work with MCP Server for SQL Server?

MCP Server for SQL Server works with MCP-compatible clients, including Claude, Visual Studio Code, Cursor, Codex, Windsurf, Cline, and Zed. Other AI tools can also connect if they support the Model Context Protocol and the required server configuration.