Dbatools MCP Server
Rank #20,173io.github.dataplat/dbatools-mcp-server
MCP server for dbatools — exposes SQL Server management commands as MCP tools
Dbatools MCP Server is a Model Context Protocol (MCP) server published by dataplat. It ranks #20,173 of 132,046 servers tracked on MCP Toplist, and its repository has 5 GitHub stars. Dbatools MCP Server is listed across 3 registries — Official MCP, PulseMCP and Glama, with 5 tracked versions. It was first listed on Mar 25, 2026 and most recently updated on Apr 18, 2026.
Ranks ahead of 111,873 of 132,046 servers on MCP Toplist.
Use Dbatools MCP Server
No credentials or required configuration declared — add it to your MCP client and go.
claude mcp add dbatools-mcp-server -e "DBATOOLS_SAFE_MODE=<your DBATOOLS_SAFE_MODE>" -e "MAX_OUTPUT_ROWS=<your MAX_OUTPUT_ROWS>" -e "COMMAND_TIMEOUT_SECONDS=<your COMMAND_TIMEOUT_SECONDS>" -e "PWSH_EXE=<your PWSH_EXE>" -- npx -y dbatools-mcp-serverReplace each placeholder with your own value before saving.
[mcp_servers.dbatools-mcp-server]
command = "npx"
args = ["-y", "dbatools-mcp-server"]
[mcp_servers.dbatools-mcp-server.env]
DBATOOLS_SAFE_MODE = "<your DBATOOLS_SAFE_MODE>"
MAX_OUTPUT_ROWS = "<your MAX_OUTPUT_ROWS>"
COMMAND_TIMEOUT_SECONDS = "<your COMMAND_TIMEOUT_SECONDS>"
PWSH_EXE = "<your PWSH_EXE>"Add to ~/.codex/config.toml. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"dbatools-mcp-server": {
"command": "npx",
"args": [
"-y",
"dbatools-mcp-server"
],
"env": {
"DBATOOLS_SAFE_MODE": "<your DBATOOLS_SAFE_MODE>",
"MAX_OUTPUT_ROWS": "<your MAX_OUTPUT_ROWS>",
"COMMAND_TIMEOUT_SECONDS": "<your COMMAND_TIMEOUT_SECONDS>",
"PWSH_EXE": "<your PWSH_EXE>"
}
}
}
}Add to claude_desktop_config.json (Settings → Developer → Edit Config). Replace each placeholder with your own value before saving.
{
"mcpServers": {
"dbatools-mcp-server": {
"command": "npx",
"args": [
"-y",
"dbatools-mcp-server"
],
"env": {
"DBATOOLS_SAFE_MODE": "<your DBATOOLS_SAFE_MODE>",
"MAX_OUTPUT_ROWS": "<your MAX_OUTPUT_ROWS>",
"COMMAND_TIMEOUT_SECONDS": "<your COMMAND_TIMEOUT_SECONDS>",
"PWSH_EXE": "<your PWSH_EXE>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (per project). Replace each placeholder with your own value before saving.
{
"servers": {
"dbatools-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"dbatools-mcp-server"
],
"env": {
"DBATOOLS_SAFE_MODE": "<your DBATOOLS_SAFE_MODE>",
"MAX_OUTPUT_ROWS": "<your MAX_OUTPUT_ROWS>",
"COMMAND_TIMEOUT_SECONDS": "<your COMMAND_TIMEOUT_SECONDS>",
"PWSH_EXE": "<your PWSH_EXE>"
}
}
}
}Save as .vscode/mcp.json in your workspace. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"dbatools-mcp-server": {
"command": "npx",
"args": [
"-y",
"dbatools-mcp-server"
],
"env": {
"DBATOOLS_SAFE_MODE": "<your DBATOOLS_SAFE_MODE>",
"MAX_OUTPUT_ROWS": "<your MAX_OUTPUT_ROWS>",
"COMMAND_TIMEOUT_SECONDS": "<your COMMAND_TIMEOUT_SECONDS>",
"PWSH_EXE": "<your PWSH_EXE>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"dbatools-mcp-server": {
"command": "npx",
"args": [
"-y",
"dbatools-mcp-server"
],
"env": {
"DBATOOLS_SAFE_MODE": "<your DBATOOLS_SAFE_MODE>",
"MAX_OUTPUT_ROWS": "<your MAX_OUTPUT_ROWS>",
"COMMAND_TIMEOUT_SECONDS": "<your COMMAND_TIMEOUT_SECONDS>",
"PWSH_EXE": "<your PWSH_EXE>"
}
}
}
}Replace each placeholder with your own value before saving.
Show your rank
Maintain this server? Add the live rank badge to your README — it updates automatically as the leaderboard changes.
[](https://mcptoplist.com/server/io.github.dataplat%2Fdbatools-mcp-server)<a href="https://mcptoplist.com/server/io.github.dataplat%2Fdbatools-mcp-server"><img src="https://mcptoplist.com/badge/io.github.dataplat%2Fdbatools-mcp-server.svg" alt="MCP Toplist: Top 25% of 132,046" /></a>Variants: append ?metric=score or ?metric=stars to the image URL.
Listed on 3 registries
dataplat
Available versions (5)
| Version | Published |
|---|---|
| 0.5.0 | 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 |
Frequently asked questions
- Who maintains Dbatools MCP Server?
- Dbatools MCP Server is maintained by dataplat, which publishes 1 MCP server (5 total versions) tracked on MCP Toplist.
- Is Dbatools MCP Server listed on the Official MCP Registry?
- Yes — Dbatools MCP Server is listed on the Official MCP Registry, alongside PulseMCP and Glama.
- How many versions does Dbatools MCP Server have?
- MCP Toplist tracks 5 versions of Dbatools MCP Server, most recently published on Apr 18, 2026.
- Where can I find the source code for Dbatools MCP Server?
- The source code for Dbatools MCP Server is hosted at github.com/dataplat/dbatools-mcp-server.
Do you run this server?
Community projects list the MCP servers behind real agents and apps. Publish yours and this page will link to it.