Skip to content
mcp/skillhub

Dbatools MCP Server

by dataplatio.github.dataplat/dbatools-mcp-serverv0.5.0

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

6Node.jsstdioofficial registry

context tax

queued

security

queued

cold start

queued

freshness

Slowing6mo ago

Install Dbatools MCP server

Install in Claude Code

claude mcp add dbatools -- npx -y dbatools-mcp-server

Configuration

VariableRequiredSecretDescription
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'.

Freshness

Slowing — last maintenance signal 6mo ago. The newest of the signals below sets the band.

  1. Last commit (default branch)

    2026-04-18 · 6mo ago · GitHub

  2. Latest release

    2026-04-18 · 6mo ago · GitHub · v0.5.0

  3. Package published

    no data · npm/PyPI

  4. Registry entry updated

    2026-04-18 · 6mo ago · official registry · v0.5.0

FAQ

›How do I install the Dbatools MCP server in Claude Code?

Run: claude mcp add dbatools -- npx -y dbatools-mcp-server. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.

›Does Dbatools require an API key?

No required environment variables are declared in its published metadata.

›Can I use Dbatools as a remote (hosted) MCP server?

No hosted endpoint is published; it runs locally over stdio.

›Is Dbatools in the official MCP registry?

Yes, as io.github.dataplat/dbatools-mcp-server.

Alternatives to Dbatools

Other database MCP servers.

View all