← Back to Plugins
MCP Server MCP

io.github.dataplat/dbatools-mcp-server

github By github 👁 1 views ▲ 0 votes

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

Homepage Verified source GitHub

Install

npx -y [email protected]

Configuration Example

{
  "remotes": [],
  "packages": [
    {
      "registryType": "npm",
      "identifier": "dbatools-mcp-server",
      "version": "0.5.0",
      "transport": {
        "type": "stdio"
      },
      "environmentVariables": [
        {
          "description": "Set to 'false' to allow write/destructive dbatools operations. Defaults to true (read-only safe mode).",
          "format": "string",
          "name": "DBATOOLS_SAFE_MODE"
        },
        {
          "description": "Maximum number of rows returned per command. Defaults to 100. Allowed range: 1–10000.",
          "format": "number",
          "name": "MAX_OUTPUT_ROWS"
        },
        {
          "description": "Timeout in seconds for each dbatools command. Defaults to 60. Allowed range: 5–3600.",
          "format": "number",
          "name": "COMMAND_TIMEOUT_SECONDS"
        },
        {
          "description": "Path to the PowerShell executable. Defaults to 'pwsh'.",
          "format": "string",
          "name": "PWSH_EXE"
        }
      ]
    }
  ]
}
mcp model-context-protocol npm

Comments

Sign in to leave a comment

Loading comments...