← Back to search

dbatools-mcp-server

GitHub Actions Scanned 23h ago

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

B
89.4 / 100

Versions

0.5.0latest
Apr 18, 2026
0.4.0
Apr 1, 2026
0.3.0
Mar 26, 2026
0.2.0
Mar 26, 2026
0.1.0
Mar 25, 2026
PermissionsTool SafetyAuthAnnotationsCode QualityStabilitySpecVuln HistoryAuthorTransparencyCommunity

Tools 4

list_dbatools_commands
annotations: none low

Search and list dbatools commands. Filter by verb, noun, keyword, or risk level.

get_dbatools_command_help
annotations: none low

Get the full normalized help for a specific dbatools command, including parameters and examples sourced from comment-based help.

invoke_dbatools_command
annotations: none low

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
annotations: none low

Verify that PowerShell and the dbatools module are installed and report the help-index status.

Permissions 2

shell high
Server uses shell capabilities via: child_process, spawn()
env_vars low
Server uses env_vars capabilities via: process.env

Scan Findings 17

low
Tool 'list_dbatools_commands' has no annotations annotation_checker · 100%
low
Tool 'get_dbatools_command_help' has no annotations annotation_checker · 100%
low
Tool 'invoke_dbatools_command' has no annotations annotation_checker · 100%
low
Tool 'check_dbatools_environment' has no annotations annotation_checker · 100%
info
Sandbox failed to start for behavioral verification behavioral_verifier · 100%
info
package.json metadata manifest_parser · 100%
info
Tool: list_dbatools_commands manifest_parser · 70%
info
Tool: get_dbatools_command_help manifest_parser · 70%
info
Tool: invoke_dbatools_command manifest_parser · 70%
info
Tool: check_dbatools_environment manifest_parser · 70%
info
Transport: stdio manifest_parser · 90%
info
Required env vars (2) manifest_parser · 80%
info
Sandbox failed to start for output poisoning scan output_poisoning · 100%
high
Permission: shell access detected permission_analyzer · 95%
low
Permission: env_vars access detected permission_analyzer · 90%
info
SBOM generated: 385 components sbom_generator · 100%
medium
No build provenance detected (SLSA L0) slsa_assessor · 90%