Dbatools MCP Server runs on your own machine — the client starts it, so there is no endpoint to ping. 39 installs a week from npm. Last commit 18 Apr 2026.
MCP server for dbatools — exposes SQL Server management commands as MCP tools
We read the source, 21 h ago · rules 3dff92dd89df
What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.
const pwsh = spawn(
Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.
We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add dbatools-mcp-server -- npx -y dbatools-mcp-server
{
"mcpServers": {
"dbatools-mcp-server": {
"args": [
"-y",
"dbatools-mcp-server"
],
"command": "npx"
}
}
}
[mcp_servers.dbatools-mcp-server]
command = "npx"
args = ["-y", "dbatools-mcp-server"]
{
"mcpServers": {
"dbatools-mcp-server": {
"args": [
"-y",
"dbatools-mcp-server"
],
"command": "npx"
}
}
}
{
"mcpServers": {
"dbatools-mcp-server": {
"args": [
"-y",
"dbatools-mcp-server"
],
"command": "npx"
}
}
}
This one needs environment variables set before it will start:
DBATOOLS_SAFE_MODE (Set to 'false' to allow write/destructive dbatools operations. Defaults to true (read-only safe mode).), MAX_OUTPUT_ROWS (Maximum number of rows returned per command. Defaults to 100. Allowed range: 1–10000.), COMMAND_TIMEOUT_SECONDS (Timeout in seconds for each dbatools command. Defaults to 60. Allowed range: 5–3600.), PWSH_EXE (Path to the PowerShell executable. Defaults to 'pwsh'.).
The author declared them in the registry entry; get the values from the project itself.
PostgreSQL MCP Server — 27 tools for queries, schema, CRUD, DBA, HA & server management
MCP server exposing MySQL database functionalities as tools
MCP server exposing cPanel UAPI (domains, DNS, email, MySQL, files) as tools for AI assistants.
Token-efficient MCP server for MySQL, PostgreSQL, and SQLite
Token-efficient MCP server for MySQL, PostgreSQL, and SQLite
An MCP server for MySQL databases.
PostgreSQL, MySQL, and SQL Server in one session. 26 read-only MCP tools for AI agents.
Database MCP server for schema discovery, comments, and SQL queries.
Answers built from our own checks of this server.