# Devart MCP Server for SQL Server (ADO.NET)

> Devart MCP Server for SQL Server (ADO.NET) is an open-source MCP server for databases. Schema-aware read/write access to SQL Server through Devart dotConnect ADO.NET data provider. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/devart-ai-connectivity/devart-mcp-server-sqlserver
- **MCP Registry name:** com.devart/mcp-sqlserver
- **Categories:** databases
- **Listing updated:** 2026-11-13

## About

Schema-aware read/write access to SQL Server through Devart dotConnect ADO.NET data provider.

## Install

### Claude Code (Terminal)

```sh
claude mcp add mcp-sqlserver --env DEVART_MCP_SQLSERVER_CONNECTION='<DEVART_MCP_SQLSERVER_CONNECTION>' -- dnx Devart.Mcp.SqlServer --yes
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "mcp-sqlserver": {
      "command": "dnx",
      "args": [
        "Devart.Mcp.SqlServer",
        "--yes"
      ],
      "env": {
        "DEVART_MCP_SQLSERVER_CONNECTION": "<DEVART_MCP_SQLSERVER_CONNECTION>"
      }
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mcp-sqlserver": {
      "command": "dnx",
      "args": [
        "Devart.Mcp.SqlServer",
        "--yes"
      ],
      "env": {
        "DEVART_MCP_SQLSERVER_CONNECTION": "<DEVART_MCP_SQLSERVER_CONNECTION>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "mcp-sqlserver": {
      "type": "stdio",
      "command": "dnx",
      "args": [
        "Devart.Mcp.SqlServer",
        "--yes"
      ],
      "env": {
        "DEVART_MCP_SQLSERVER_CONNECTION": "<DEVART_MCP_SQLSERVER_CONNECTION>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp-sqlserver": {
      "command": "dnx",
      "args": [
        "Devart.Mcp.SqlServer",
        "--yes"
      ],
      "env": {
        "DEVART_MCP_SQLSERVER_CONNECTION": "<DEVART_MCP_SQLSERVER_CONNECTION>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "mcp-sqlserver": {
      "command": "dnx",
      "args": [
        "Devart.Mcp.SqlServer",
        "--yes"
      ],
      "env": {
        "DEVART_MCP_SQLSERVER_CONNECTION": "<DEVART_MCP_SQLSERVER_CONNECTION>"
      }
    }
  }
}
```

## FAQ

### Is Devart MCP Server for SQL Server (ADO.NET) free?

Yes. Devart MCP Server for SQL Server (ADO.NET) is open source, so you can use and self-host it for free.

### How do I add Devart MCP Server for SQL Server (ADO.NET) to Claude Code?

Run this command in your terminal: claude mcp add mcp-sqlserver --env DEVART_MCP_SQLSERVER_CONNECTION='<DEVART_MCP_SQLSERVER_CONNECTION>' -- dnx Devart.Mcp.SqlServer --yes

### What are the best alternatives to Devart MCP Server for SQL Server (ADO.NET)?

The closest alternatives to Devart MCP Server for SQL Server (ADO.NET) are Midplane, PlatypusDB, Lorebase, Sovaria and model2data studio.

## Alternatives

- [Midplane](https://ai-powered.com/mcp/midplane): Midplane is an open-source MCP server for databases.
- [PlatypusDB](https://ai-powered.com/mcp/platypusdb): PlatypusDB is an open-source MCP server for databases.
- [Lorebase](https://ai-powered.com/mcp/lorebase): Lorebase is an open-source MCP server for knowledge and memory.
- [Sovaria](https://ai-powered.com/mcp/sovaria): Sovaria is a freemium MCP server for databases.
- [model2data studio](https://ai-powered.com/mcp/model2data-studio): model2data studio is a freemium MCP server for databases.
- [semlayer](https://ai-powered.com/mcp/semlayer): semlayer is a free MCP server for databases.
- [bricksentry](https://ai-powered.com/mcp/bricksentry): bricksentry is an open-source MCP server for databases.
- [MCP Toolbox for Databases](https://ai-powered.com/mcp/mcp-toolbox-for-databases-2): MCP Toolbox for Databases is an open-source MCP server for databases.

---
Source: https://ai-powered.com/mcp/devart-mcp-server-for-sql-server-ado-net
