MCP Node Mssql MCP Server

MCP Server for SQL Server using node-mssql

Local serverstdio

What is the MCP Node Mssql MCP server?

MCP Node Mssql MCP server is a locally run integration for AI assistants that speak the Model Context Protocol. MCP Server for SQL Server using node-mssql.

What you get

See the official Cursor docs for more information.

Setting it up

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.

What the assistant can call

Once MCP Node Mssql is connected, these are the calls the assistant has available:

  • Cursor — See the official Cursor docs for more information
  • Windsurf — See the official Windsurf docs for more information
  • Installation — The Installation tool exposed by this server
  • Build — The Build tool exposed by this server

Configuration and credentials

You will need 8 environment variables: DB_HOST, DB_PORT, DB_USERNAME, DB_PASSWORD, DB_DATABASE, DB_ENCRYPT, DB_ENABLE_ARITH_ABORT, DB_TRUST_SERVER_CERTIFICATE. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the mcp node mssql mcp server does with a few real requests.

Choosing this one

This sits in the database access group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. MCP Node Mssql's toolset — Cursor, Windsurf, Installation and 1 more — is a fair guide to whether it matches your workflow. It is maintained by cwilby; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against MCP Node Mssql's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Available tools

ToolWhat it does
CursorSee the [official Cursor docs](https://docs.cursor.com/context/model-context-protocol) for more information.
WindsurfSee the [official Windsurf docs](https://codeium.com/docs/windsurf/mcp) for more information.
InstallationThe Installation tool exposed by this server.
BuildThe Build tool exposed by this server.

How to install the MCP Node Mssql MCP server

{
  "mcpServers": {
    "mssql": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-node-mssql"
      ],
      "env": {
        "DB_HOST": "localhost",
        "DB_PORT": "1433",
        "DB_USERNAME": "<username>",
        "DB_PASSWORD": "<password>",
        "DB_DATABASE": "<database>",
        "CONNECTION_TIMEOUT": 600000,
        "REQUEST_TIMEOUT": 300000
        "DB_ENCRYPT": "false",
        "DB_ENABLE_ARITH_ABORT": "false",
        "DB_TRUST_SERVER_CERTIFICATE": "false",
        "TRUSTED_CONNECTION": "false"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
DB_HOSTEndpoint or connection string the server talks to.Optional
DB_PORTConfiguration value read at startup.Optional
DB_USERNAMEConfiguration value read at startup.Optional
DB_PASSWORDConfiguration value read at startup.Optional
DB_DATABASEConfiguration value read at startup.Optional
DB_ENCRYPTConfiguration value read at startup.Optional
DB_ENABLE_ARITH_ABORTConfiguration value read at startup.Optional
DB_TRUST_SERVER_CERTIFICATEConfiguration value read at startup.Optional

Example prompts to try

  • Use MCP Node Mssql to Cursor.
  • Use MCP Node Mssql to Windsurf.
  • Use MCP Node Mssql to Installation.

Frequently asked questions

It connects MCP Node Mssql to MCP-compatible AI assistants such as Claude and Cursor, exposing 4 tools (Cursor, Windsurf, Installation, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with MCP Node Mssql directly.