MCP Server
MCP
io.github.dataplat/dbatools-mcp-server
MCP server for dbatools — exposes SQL Server management commands as MCP tools
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
By
Comments
Sign in to leave a comment