Dbatools MCP Server
A Model Context Protocol (MCP) server for the dbatools PowerShell module. It runs locally over stdio via the published package.
People who work with database, mssql and powershell and want it reachable from Claude, Cursor, VS Code, or another MCP client. The project is written in TypeScript.
VERIFIED ACTIVE
LAST COMMIT 2026-08-04 · ★ 5 · #101 OF 168 MAINTAINED DATABASE · VERIFIED 2026-09-18
MIT · TypeScript servers · how we verify → /methodology
01 · Install Dbatools MCP Server
before you install - you'll need
Set DBATOOLS_SAFE_MODE, MAX_OUTPUT_ROWS, COMMAND_TIMEOUT_SECONDS before connecting.
Claude Code
claude mcp add dataplat-dbatools-mcp-server -- npx -y dbatools-mcp-server Claude Desktop / Cursor / VS Code - add to config
{
"mcpServers": {
"dataplat-dbatools-mcp-server": {
"command": "npx",
"args": [
"-y",
"dbatools-mcp-server"
]
}
}
} Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.
Using another client? Same JSON, different key
Claude Desktop · mcpServers
Cursor · mcpServers
VS Code · servers
Windsurf · mcpServers
Zed · context_servers
Cline · mcpServers
Roo Code · mcpServers
Continue · mcpServers
LibreChat · mcpServers
Gemini CLI · mcpServers
Codex CLI · mcp_servers
Full setup guides: every client.
02 · Evidence
Security posture
What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.
runs as local process (stdio) - runs on your machine with your user's permissions
license MIT - declared in the repository
npm package dbatools-mcp-server - unscoped; check the name against the project README before installing
registry namespace io.github.dataplat is GitHub-verified and matches the repo owner
03 · What Dbatools MCP Server can do
Prose above is summarized from the project's README and registry record - no invented capabilities.
Latest releases
v0.5.0 · 2026-04-18
Improve performance of the Index Refresh process · bump @hono/node-server from 1.19.11 to 1.19.13 · bump hono from 4.12.9 to 4.12.14 · add selectProperties option · Categorize all Verbs · Enhance help file parsing…
v.0.4.0 · 2026-04-01
bump handlebars from 4.7.8 to 4.7.9 · bump path-to-regexp from 8.3.0 to 8.4.0 · Bump dependencies versions & enhance security · Bump dependencies and enhance security measures · New Contributors · @dependabot[bot] made…
v0.3.0 · 2026-03-26
Add installation badges and update version to 0.3.0
04 · Who maintains Dbatools MCP Server
dbatools-mcp-server is maintained by dataplat. It's the only MCP server we track from this author; the repo dates to Mar 2026.
05 · Facts
- repository
- github.com/dataplat/dbatools-mcp-server
- category
- database - ranked #101 of 168 actively-maintained database servers as of 2026-09-18.
- registry
- io.github.dataplat/dbatools-mcp-server (active, first published 2026-03-25 · 5 versions)
- packages
- npm:dbatools-mcp-server
06 · Dbatools MCP Server FAQ
What is Dbatools MCP Server?
A Model Context Protocol (MCP) server for the dbatools PowerShell module. It runs locally over stdio via the published package.
Is Dbatools MCP Server still maintained?
Yes - as of 2026-09-18, its last commit was 2026-08-04. We re-verify nightly.
How do I install Dbatools MCP Server?
Run `npx -y dbatools-mcp-server`. The README documents 3 environment variables (DBATOOLS_SAFE_MODE, MAX_OUTPUT_ROWS, COMMAND_TIMEOUT_SECONDS) to set first. Set DBATOOLS_SAFE_MODE, MAX_OUTPUT_ROWS, COMMAND_TIMEOUT_SECONDS before connecting. You can also paste the ready-made client config above.
Does Dbatools MCP Server run locally?
Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.
07 · Alternatives to Dbatools MCP Server
Alternatives to Dbatools MCP Server
Maintained database servers if Dbatools MCP Server isn't the fit.
- Dbx Query databases from AI agents using connections configured in DBX. ★ 20,017 · 2026-09-18
- Toolbox for Databases MCP Toolbox for Databases enables your agent to connect to your database. ★ 16,449 · 2026-09-18
- Butterbase Ai MCP Server Butterbase MCP server - manage your backend: schemas, auth, functions, storage, RAG, deploys. ★ 3,562 · 2026-09-18
- Dbhub Minimal, token-efficient Database MCP Server for PostgreSQL, MySQL, SQL Server, SQLite, MariaDB ★ 3,534 · 2026-09-18
- LINQ to DB Inspect database schemas and execute SQL queries across multiple database providers with LINQ to DB. ★ 3,328 · 2026-09-17
- Supabase MCP server for interacting with the Supabase platform ★ 2,910 · 2026-09-17
Pairs well with
Servers that cover what Dbatools MCP Server doesn't - only shown when the pairing reason fits the companion.
- Server Chart → data & analytics companion data & analytics · ★ 4,367
- ClaudeR - RStudio MCP Server → data & analytics companion data & analytics · ★ 342
- Server Filesystem → filesystem companion filesystem · ★ 39,038
- Pdf MCP → filesystem companion filesystem · ★ 135
- Telnyx → API integration companion API integration · ★ 197
- Microsoft 365 MCP Server → API integration companion API integration · ★ 980
More database MCP servers · Dbtrail · Mcpg · ClickHouse · Open Food Facts · Postgres MCP
More TypeScript MCP servers · Fizzy · Hunch (davesheffer) · Uptime Kuma · Apple Health MCP · Eight Sleep MCP · see all