Koskamo

SQL Server DBA MCP

A read-only MCP server providing 42 tools for AI agents to perform SQL Server DBA tasks such as health checks, wait stats analysis, slow query identification, index review, backup status, and security schema inspection. It ensures safety by refusing to run with admin logins and strictly limiting AI-generated SQL to SELECT statements.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

SQL Server DBA MCP logo, by shadow-dbaCommunity listingLocal stdioSource reviewed; not executedPublished by shadow-dba
Vendor documentation

What you can do with it

  • Run health checks on SQL Server instances
  • Identify slow queries and analyze execution plans
  • Review unused indexes and blocking issues
  • Check backup status and Agent job configurations

Source and maintenance

Community listingRegistry 0.1.2
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

@shadow-dba/mssql-dba-mcp 0.1.2

npm
@shadow-dba/mssql-dba-mcp package definition
{
  "version": "0.1.2",
  "transport": "stdio",
  "identifier": "@shadow-dba/mssql-dba-mcp",
  "registryType": "npm",
  "environmentVariables": [
    {
      "name": "DB_AUTH_TYPE",
      "default": "sql",
      "isRequired": true,
      "description": "sql or windows (NTLM)"
    },
    {
      "name": "DB_HOST",
      "isRequired": true,
      "description": "SQL Server host name or IP"
    },
    {
      "name": "DB_NAME",
      "isRequired": true,
      "description": "Database to connect to, for example master"
    },
    {
      "name": "DB_USER",
      "isRequired": true,
      "description": "Read-only login (see README, Permissions)"
    },
    {
      "name": "DB_PASSWORD",
      "isRequired": true,
      "description": "Password of the login"
    },
    {
      "name": "DB_PORT",
      "default": "1433",
      "description": "Server port"
    },
    {
      "name": "TRUST_SERVER_CERTIFICATE",
      "default": "false",
      "description": "true accepts a self-signed certificate"
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "sql-server-dba-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@shadow-dba/mssql-dba-mcp@0.1.2"
      ],
      "env": {
        "DB_AUTH_TYPE": "<YOUR_DB_AUTH_TYPE>",
        "DB_HOST": "<YOUR_DB_HOST>",
        "DB_NAME": "<YOUR_DB_NAME>",
        "DB_USER": "<YOUR_DB_USER>",
        "DB_PASSWORD": "<YOUR_DB_PASSWORD>",
        "DB_PORT": "<YOUR_DB_PORT>",
        "TRUST_SERVER_CERTIFICATE": "<YOUR_TRUST_SERVER_CERTIFICATE>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "sql-server-dba-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@shadow-dba/mssql-dba-mcp@0.1.2"
      ],
      "env": {
        "DB_AUTH_TYPE": "<YOUR_DB_AUTH_TYPE>",
        "DB_HOST": "<YOUR_DB_HOST>",
        "DB_NAME": "<YOUR_DB_NAME>",
        "DB_USER": "<YOUR_DB_USER>",
        "DB_PASSWORD": "<YOUR_DB_PASSWORD>",
        "DB_PORT": "<YOUR_DB_PORT>",
        "TRUST_SERVER_CERTIFICATE": "<YOUR_TRUST_SERVER_CERTIFICATE>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "sql-server-dba-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@shadow-dba/mssql-dba-mcp@0.1.2"
      ],
      "env": {
        "DB_AUTH_TYPE": "<YOUR_DB_AUTH_TYPE>",
        "DB_HOST": "<YOUR_DB_HOST>",
        "DB_NAME": "<YOUR_DB_NAME>",
        "DB_USER": "<YOUR_DB_USER>",
        "DB_PASSWORD": "<YOUR_DB_PASSWORD>",
        "DB_PORT": "<YOUR_DB_PORT>",
        "TRUST_SERVER_CERTIFICATE": "<YOUR_TRUST_SERVER_CERTIFICATE>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "sql-server-dba-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@shadow-dba/mssql-dba-mcp@0.1.2"
      ],
      "env": {
        "DB_AUTH_TYPE": "<YOUR_DB_AUTH_TYPE>",
        "DB_HOST": "<YOUR_DB_HOST>",
        "DB_NAME": "<YOUR_DB_NAME>",
        "DB_USER": "<YOUR_DB_USER>",
        "DB_PASSWORD": "<YOUR_DB_PASSWORD>",
        "DB_PORT": "<YOUR_DB_PORT>",
        "TRUST_SERVER_CERTIFICATE": "<YOUR_TRUST_SERVER_CERTIFICATE>"
      }
    }
  }
}

Let your agent find its tools

Find servers like SQL Server DBA MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.