MCP server intelligence profile

dbatools-mcp-server MCP Server

A Model Context Protocol (MCP) server for the dbatools PowerShell module. Exposes dbatools commands as MCP tools so AI assistants can discover, explain, and execute dbatools commands directly

Local OnlyOfficial distributiondataplat
Verified cleanNpm · 0.5.0

Our scanner tested version 0.5.0 without proving a finding in the methods exercised. This is not a guarantee that every deployment is secure.

1Distribution channel
4Independently observed tools
0Linked remote endpoints
AvailableVersion intelligence

Install and connect

Installation and connection instructions are shown only when supported by retained package, repository, or endpoint evidence.

Install dbatools-mcp-server from npm

Version 0.5.0 declares 1 executable entrypoint.

npm install --save-exact dbatools-mcp-server@0.5.0
npx -y -p dbatools-mcp-server@0.5.0 dbatools-mcp-server
MCP client configuration example
{
  "mcpServers": {
    "dbatools-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "-p",
        "dbatools-mcp-server@0.5.0",
        "dbatools-mcp-server"
      ]
    }
  }
}

Identity

Canonical slugdbatools-mcp-server-7786fd02DeploymentLocal Only
Canonical packagenpm:dbatools-mcp-serverRepositorydataplat/dbatools-mcp-server
First publishedLatest release
Last security verificationAug 21, 2026Classification confidence90%
PublicationPublishedOfficial distributionYes

Distributions

ChannelIdentifierCurrent versionVersionsSource
npmdbatools-mcp-server0.5.01Repository

Current release

PackageVersionPublished / observedInventorySecurity scan
npmdbatools-mcp-server0.5.0CurrentSep 5, 20264 toolsSucceeded · 0 resources · 0 promptsVerified clean
Enterprise protection

Continuously monitor this MCP for security risk

Independently scan the exact version your agents use, receive alerts when its risk changes, and investigate every finding with retained version evidence.

  • Independent exact-version security scans
  • Continuous release and vulnerability monitoring
  • Risk-change alerts with capability context
  • Historical evidence and API exports
Custom pricingContact salesTailored to your organization, integrations, data needs, and support requirements.

Current version evidence

Provenanceartifact_hash_verifiedSignature
MCP SDK@modelcontextprotocol/sdk Artifact SHA-256b0885a4040d47e1ff13a5485b7e896649eeebbcf0580ac3ff7b60ab2cc16b493
Scannermcp-proof-engine 0.1.0Scan completedAug 21, 2026
Security rating48 / 100Methodologyversion-rating-1.0
Executable entrypoints
[
  "dbatools-mcp-server"
]
Rating reasons
[
  "security_policy_not_observed"
]
0Proven
309Clean
0Inconclusive
0Flaky
0Errors

Current protocol inventory

2025-06-18Negotiated protocol
dbatools-mcp-serverServer-reported name
1Capability groups
Aug 21, 2026Observed

Tools 4

ToolCategoryAnnotationsRisk
check_dbatools_environmentVerify that PowerShell and the dbatools module are installed and report the help-index status.
Input schema
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {}
}
get_dbatools_command_helpGet the full normalized help for a specific dbatools command, including parameters and examples sourced from comment-based help.
Input schema
{
  "type": "object",
  "properties": {
    "commandName": {
      "type": "string",
      "maxLength": 100,
      "description": "Exact command name, e.g. Get-DbaDatabase"
    }
  },
  "required": [
    "commandName"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
invoke_dbatools_commandExecute 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 enabled.
Input schema
{
  "type": "object",
  "properties": {
    "commandName": {
      "type": "string",
      "maxLength": 100,
      "description": "Exact dbatools command name to execute, e.g. Get-DbaDatabase"
    },
    "parameters": {
      "type": "object",
      "additionalProperties": {},
      "default": {},
      "description": "Key-value map of parameters. Strings, numbers, and booleans map directly to PowerShell parameters. For SQL authentication pass SqlCredential as an object: { \"username\": \"sa\", \"password\": \"secret\" }. Example: { \"SqlInstance\": \"localhost,2022\", \"SqlCredential\": { \"username\": \"sa\", \"password\": \"P@ssw0rd\" } }"
    },
    "confirm": {
      "type": "boolean",
      "default": false,
      "description": "Set to true to allow execution of change/destructive commands (required when safeMode is on)"
    },
    "selectProperties": {
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^[A-Za-z][A-Za-z0-9]*$",
        "maxLength": 100
      },
      "minItems": 1,
      "maxItems": 50,
      "description": "List of property names to select from the output (e.g. ['Name', 'Status', 'SizeMB']). Use this to reduce output size for commands that return complex objects like SMO database or login objects. When omitted, all properties are returned."
    }
  },
  "required": [
    "commandName"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
list_dbatools_commandsSearch and list dbatools commands. Filter by verb, noun, keyword, or risk level.
Input schema
{
  "type": "object",
  "properties": {
    "verb": {
      "type": "string",
      "maxLength": 50,
      "description": "PowerShell verb (e.g. Get, Set, New, Remove, Test)"
    },
    "noun": {
      "type": "string",
      "maxLength": 100,
      "description": "Noun fragment to match (e.g. Database, Login, AgentJob)"
    },
    "keyword": {
      "type": "string",
      "maxLength": 200,
      "description": "Keyword to search in name, synopsis, and description"
    },
    "riskLevel": {
      "type": "string",
      "enum": [
        "readonly",
        "change",
        "destructive"
      ],
      "description": "Filter by risk tier"
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 200,
      "default": 50,
      "description": "Maximum number of results (default 50, max 200)"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Resources 0

  • None observed.

Resource templates 0

  • None observed.

Prompts 0

  • None observed.

Remote endpoints

EndpointTransportAuthenticationHealthObserved
No verified remote endpoint is linked.

dbatools-mcp-server MCP Server questions

How do I install dbatools-mcp-server MCP Server?

Install the selected package version with: npm install --save-exact dbatools-mcp-server@0.5.0

What tools does dbatools-mcp-server MCP Server provide?

dbatools-mcp-server MCP Server exposed 4 tools during independent protocol observation, including check_dbatools_environment, get_dbatools_command_help, invoke_dbatools_command, list_dbatools_commands.

Is dbatools-mcp-server MCP Server secure?

Our scanner tested version 0.5.0 without proving a finding in the methods exercised. This is not a guarantee that every deployment is secure.

Explore related MCP server guides

Curated product and capability guides containing this catalog record.

Official vs Community MCP ServersMCP Servers With Completed Verification

Let’s talk about MCP security.

Share your details and our security team will contact you.