dbatools-mcp-server
MCP server for dbatools — exposes SQL Server management commands as MCP tools
Versions
0.5.0latest0.4.00.3.00.2.00.1.0Tools 4
list_dbatools_commands Search and list dbatools commands. Filter by verb, noun, keyword, or risk level.
get_dbatools_command_help Get the full normalized help for a specific dbatools command, including parameters and examples sourced from comment-based help.
invoke_dbatools_command Execute a dbatools command via PowerShell and return structured JSON output.\n\nSAFETY: For any destructive or change command (Remove, Drop, Disable, Reset, etc.), always explain the consequences to the user and ask for explicit confirmation before running. Only proceed with confirm:true if the user has clearly confirmed their intent. Respect DBATOOLS_SAFE_MODE: never bypass safety checks. For any command that modifies or deletes data, double-check with the user before proceeding. Show the exact command and output for transparency. Non-readonly commands require confirm:true when safe mode is enabled.
check_dbatools_environment Verify that PowerShell and the dbatools module are installed and report the help-index status.
Permissions 2
shell high env_vars low