mcpbeat Sign in

Dbatools MCP Server

local only

Dbatools MCP Server runs on your own machine — the client starts it, so there is no endpoint to ping. 169 installs a week from npm. Last commit 22 Oct 2026.

MCP server for dbatools — exposes SQL Server management commands as MCP tools

Installs per day peak 14 · avg 7 · +20% w/w
a month agotoday
169
Installs / week
npm · dbatools-mcp-server
6
Stars
0 open issues
22 Oct 2026
Last commit
2 releases in 90 days
MIT
License
TypeScript

What the code does

We read the source, 1 d ago · rules 995398eba69f

Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

      const child = spawn(

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

This code can reach further than it looks

We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add dbatools-mcp-server -- npx -y dbatools-mcp-server
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "dbatools-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "dbatools-mcp-server"
      ]
    }
  }
}
~/.codex/config.toml
[mcp_servers.dbatools-mcp-server]
command = "npx"
args = ["-y", "dbatools-mcp-server"]
.cursor/mcp.json
{
  "mcpServers": {
    "dbatools-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "dbatools-mcp-server"
      ]
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "dbatools-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "dbatools-mcp-server"
      ]
    }
  }
}

Optional settings from the registry entry, left out of the block above: DBATOOLS_SAFE_MODE (Set to 'false' to allow write/destructive dbatools operations. Defaults to true (read-only safe mode)), MAX_OUTPUT_ROWS (Maximum number of rows returned per command. Defaults to 100. Allowed range: 1–10000), COMMAND_TIMEOUT_SECONDS (Timeout in seconds for each dbatools command. Defaults to 60. Allowed range: 5–3600), PWSH_EXE (Path to the PowerShell executable. Defaults to 'pwsh').

Alternatives to Dbatools MCP Server

same job, measured the same way
PostgreSQL MCP Server
by itunified-io

PostgreSQL MCP Server — 27 tools for queries, schema, CRUD, DBA, HA & server management

43 installs/wk local only
MCP Mysql Connector
by daedalus

MCP server exposing MySQL database functionalities as tools

83 installs/wk local only
Obambu cPanel MCP
by rodriguedev13

MCP server exposing cPanel UAPI (domains, DNS, email, MySQL, files) as tools for AI assistants.

52 installs/wk local only
MCP SQL Rust
by rzlco666

Token-efficient MCP server for MySQL, PostgreSQL, and SQLite

local only
Strut Stack SQL
by rzlco666

Token-efficient MCP server for MySQL, PostgreSQL, and SQLite

local only
Mysql
by marcelo-ochoa

An MCP server for MySQL databases.

101 installs/wk local only
D
Data
by thinair

PostgreSQL, MySQL, and SQL Server in one session. 26 read-only MCP tools for AI agents.

answering
AdoMcp
by john0king

Database MCP server for schema discovery, comments, and SQL queries.

local only

Dbatools MCP Server — questions

Answers built from our own checks of this server.

Why is there no uptime for Dbatools MCP Server?
Dbatools MCP Server runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package dbatools-mcp-server was installed 169 times last week.
How do I connect Dbatools MCP Server?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls dbatools-mcp-server straight from npm; nothing to host, nothing to sign up for.
How many people use Dbatools MCP Server?
The npm package dbatools-mcp-server was installed 169 times in the last week. Week over week that is +20%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Dbatools MCP Server open source?
Yes — it is published under the MIT licence, written in TypeScript and 6 stars on GitHub. The source link is on this page, so you can read exactly what it does with your data before you connect it.