Skip to content
Agentmart
Submit a tool

Dbatools MCP Server

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

Connector by dataplat · GitHub account verified by the MCP Registry

IndexedMITLocal (stdio)★ 6
Write a review

Install

Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.

npx agentmarket install connector/dataplat-dbatools-mcp-server

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

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

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this server can do and what it asks for, from its tool list, install config and code. Checked Oct 25, 2026.

Tools
3 read · 1 write · 0 delete
Secrets
None asked for
Install scripts
None found
Runs as
Node.js package

Tools by what they do 4

Read from the source code; the running server may list different tools.

Read 3 · Look things up without changing anything.

  • check_dbatools_environment
  • get_dbatools_command_help
  • list_dbatools_commands

Write 1 · Create, change, send or run things.

  • invoke_dbatools_command

Secrets and settings it asks for

Other settings (environment variables or headers).

  • COMMAND_TIMEOUT_SECONDS
  • DBATOOLS_SAFE_MODE
  • MAX_OUTPUT_ROWS
  • PWSH_EXE

Network hosts it talks to 2

  • dbatools.io · found in code
  • github.com · found in code

Tools (4)

Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].

  • check_dbatools_environment

    Verify that PowerShell and the dbatools module are installed and report the help-index status.

  • get_dbatools_command_help

    Get the full normalized help for a specific dbatools command, including parameters and examples sourced from comment-based help.

  • invoke_dbatools_command

    Execute a dbatools command via PowerShell and return structured JSON output. SAFETY: For any destructive or change command (Remove, Drop, Disable, Reset, etc.), always explain the consequences to the user and ask for explicit confirmation before running. Only proceed with confirm:true if the user has clearly confirmed their intent. Respect DBATOOLS_SAFE_MODE: never bypass safety checks. For any command that modifies or deletes data, double-check with the user before proceeding. Show the exact command and output for transparency. Non-readonly commands require confirm:true when safe mode is ena…

  • list_dbatools_commands

    Search and list dbatools commands. Filter by verb, noun, keyword, or risk level.

Signals

Stars
6
Forks
1
Open issues
0
Last commit
Oct 22, 2026 (7 days ago)
Last release
Oct 22, 2026 (7 days ago)

From GitHub (fetched Oct 24, 2026).

Details

Registry name
io.github.dataplat/dbatools-mcp-server
Version
0.5.0
Auth
No auth
License
MIT
First seen
Oct 24, 2026
Last checked
Oct 25, 2026
Cite this page

Dbatools MCP Server. Agent Mart. https://agentmart.dev/connectors/dataplat-dbatools-mcp-server (last updated 2026-10-25)