Devart MCP Server for SQL Server (ADO.NET)

MCP server tự lưu trữ, cung cấp cho các ứng dụng AI quyền truy cập đọc/ghi có nhận biết lược đồ vào SQL Server thông qua Devart dotConnect for SQL Server. Công cụ .NET miễn phí trên NuGet (Windows x64); cần có giấy phép dotConnect thương mại (dùng thử miễn phí 30 ngày).

Tài liệu

Prefix Reserved

.NET 8.0 This package targets.NET 8.0. The package is compatible with this framework or higher.

{
  "inputs": [
    {
      "type": "promptString",
      "id": "server",
      "description": "SQL Server host, optionally with an instance or a port: localhost, dbserver\\sqlexpress, dbserver,1433.",
      "password": false,
      "default": "localhost"
    },
    {
      "type": "promptString",
      "id": "database",
      "description": "Database to connect to.",
      "password": false
    },
    {
      "type": "promptString",
      "id": "user",
      "description": "SQL Server login.",
      "password": false
    },
    {
      "type": "promptString",
      "id": "password",
      "description": "Password for the login.",
      "password": true
    },
    {
      "type": "promptString",
      "id": "license_key",
      "description": "Devart dotConnect for SQL Server license key, from the Devart Customer Portal.",
      "password": true
    }
  ],
  "servers": {
    "Devart.Mcp.SqlServer": {
      "type": "stdio",
      "command": "dnx",
      "args": ["Devart.Mcp.SqlServer@1.1.0", "--yes", "--", "run"],
      "env": {
        "DEVART_MCP_SQLSERVER_CONNECTION": "Data Source=${input:server};Initial Catalog=${input:database};User Id=${input:user};Password=${input:password};License Key=${input:license_key};"
      }
    }
  }
}

[!brand-info] Brand-info This package contains an MCP Server. The server can be used in VS Code by copying the generated JSON to your VS Code workspace's .vscode/mcp.json settings file.

dotnet tool install --global Devart.Mcp.SqlServer --version 1.1.0

[!brand-info] Brand-info This package contains a .NET tool you can call from the shell/command line.

dotnet new tool-manifest
                    

                            if you are setting up this repo
dotnet tool install --local Devart.Mcp.SqlServer --version 1.1.0

[!brand-info] Brand-info This package contains a .NET tool you can call from the shell/command line.

#tool dotnet:?package=Devart.Mcp.SqlServer&version=1.1.0

[!brand-warning] Brand-warning The NuGet Team does not provide support for this client. Please contact its maintainers for support.

nuke :add-package Devart.Mcp.SqlServer --version 1.1.0

[!brand-warning] Brand-warning The NuGet Team does not provide support for this client. Please contact its maintainers for support.