MCP ServerSTDIOOfficialv0.4.0

dbatools-mcp-server MCP Server

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

io.github.dataplat/dbatools-mcp-server

Hosted URL

https://github.com/dataplat/dbatools-mcp-server

Transport

STDIO

Auth

No auth required

What the dbatools-mcp-server MCP server does

How models use it and what it is built for.

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

Connect to dbatools-mcp-server

Hosted endpoint — paste into any MCP client.

https://github.com/dataplat/dbatools-mcp-server

Environment variables

Configuration this server reads at startup.

  • 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'.

Resources

Where to find authoritative docs and source for dbatools-mcp-server.

Skip the local setup — run MCP in your browser

MCP Playground runs 10,000+ hosted MCP servers — GitHub, Linear, Notion, Stripe, Sentry and more — across Claude, GPT, Gemini, DeepSeek and 30+ AI models. Compare model answers side-by-side, save agent presets, share runs. Zero install.

Open Agent Studio

Related servers

More on MCP Playground