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

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.

Try dbatools-mcp-server with 30+ AI models

Open MCP Agent Studio and connect this server to Claude, GPT, Gemini, DeepSeek and more — no install required.

Open Agent Studio

Related servers

More on MCP Playground