# io.github.dataplat/dbatools-mcp-server (npm · dbatools-mcp-server)

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

- Trust score: 79/100 (medium)
- Change this week: +33
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-08-03

## Components

- npm · `dbatools-mcp-server`: 79/100 (this document), [markdown](https://verifymcp.io/servers/dataplat-dbatools-mcp-server/dbatools-mcp-server.md), [page](https://verifymcp.io/servers/dataplat-dbatools-mcp-server/dbatools-mcp-server)

## Channel facts

- Registry: `npm`
- Package: `dbatools-mcp-server`
- Version: `0.5.0`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-08-03.

- **Supply Chain Security**: 87/100
  - No malware found by supply-chain analysis.
  - Only part of the dependency tree could be resolved (95 of 99), so this covers what we could see, not the whole tree.
  - No install/post-install scripts declared.
  - Only part of the dependency tree could be resolved (95 of 99), so this covers what we could see, not the whole tree.
- **Provenance & Transparency**: 97/100
  - Source repository is publicly reachable at the declared URL.
  - Cryptographically verified build provenance (signed, bound to dataplat/dbatools-mcp-server).
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 106 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 70/100
  - AI-judged instruction clarity (good).
  - Context-footprint check failed: tool/resource definitions use about 530 tokens (~132/item across 4 items; 4 tools + 0 resources), over budget; trim descriptions and params.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 27/100
  - Stability observed for 8 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 100/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 100% of tool parameters carry a description.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### Claude

```bash
claude mcp add dataplat-dbatools-mcp-server -- npx -y dbatools-mcp-server
```

### Codex

```bash
codex mcp add dataplat-dbatools-mcp-server -- npx -y dbatools-mcp-server
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "dataplat-dbatools-mcp-server": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "dbatools-mcp-server"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add dataplat-dbatools-mcp-server --command npx --arg -y --arg dbatools-mcp-server
```

### Hermes

```yaml
mcp_servers:
  dataplat-dbatools-mcp-server:
    command: "npx"
    args: ["-y", "dbatools-mcp-server"]
```

### Other

```json
{
  "mcpServers": {
    "dataplat-dbatools-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "dbatools-mcp-server"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-08-03 (score 79, +1)

No change was recorded against any check on this day. Stability & Change Management went from 23 to 27. That category is still filling its 30-day observation window: 7 days of observed history at the previous scan, 8 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-08-02 (score 78, +57)

- [security improvement] Known CVEs: unverified → partial
- [security improvement] Install scripts: unverified → pass
- [security improvement] Provenance: unverified → pass
- [security improvement] Malware scan: unverified → pass
- [security] Stability: Stability not yet verified: not enough scan history yet (needs a 30-day window).
- [security] The attested source repository moved: dataplat/dbatools-mcp-server
- [functional improvement] Schema quality: unverified → good
- [functional improvement] Stability: unverified → 0.23
- [functional improvement] Maintenance: unverified → pass
- [functional improvement] Dependency health: unverified → partial
- [functional improvement] License: unverified → pass
- [functional improvement] MCP protocol: unverified → pass
- [functional] Licence: MIT

### 2026-08-01 (score 21, +15)

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

### 2026-07-31 (score 6, −40)

- [security regression] Malware scan: pass → unverified
- [functional regression] Tool coverage: 100 → unverified

### 2026-07-30 (score 46, +22)

- [functional improvement] Tool coverage: unverified → 100

### 2026-07-28 (score 24, −22)

- [functional regression] Tool coverage: 100 → unverified
- [functional] First check of Schema quality: unverified

### 2026-07-27 (score 46)

First indexed and scored.

## MCP tools (4)

### `list_dbatools_commands` (~124 tokens)

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

Input parameters:

- `keyword` (string): Keyword to search in name, synopsis, and description
- `limit` (integer): Maximum number of results (default 50, max 200)
- `noun` (string): Noun fragment to match (e.g. Database, Login, AgentJob)
- `riskLevel` (string): Filter by risk tier
- `verb` (string): PowerShell verb (e.g. Get, Set, New, Remove, Test)

### `get_dbatools_command_help` (~54 tokens)

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

Input parameters:

- `commandName` (string, required): Exact command name, e.g. Get-DbaDatabase

### `invoke_dbatools_command` (~322 tokens)

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 enabled.

Input parameters:

- `commandName` (string, required): Exact dbatools command name to execute, e.g. Get-DbaDatabase
- `confirm` (boolean): Set to true to allow execution of change/destructive commands (required when safeMode is on)
- `parameters` (object): 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" }.…
- `selectProperties` (array): 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…

### `check_dbatools_environment` (~30 tokens)

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

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/dataplat-dbatools-mcp-server/dbatools-mcp-server#diagnostics

## Score history

- 2026-08-03: 79
- 2026-08-02: 78
- 2026-08-01: 21
- 2026-07-31: 6
- 2026-07-30: 46
- 2026-07-28: 24
- 2026-07-27: 46

## Links

- npm package: https://www.npmjs.com/package/dbatools-mcp-server
- Socket report: https://socket.dev/npm/package/dbatools-mcp-server
- Repository: https://github.com/dataplat/dbatools-mcp-server
- Changelog RSS feed: https://verifymcp.io/servers/dataplat-dbatools-mcp-server/dbatools-mcp-server/changelog.xml
- Changelog JSON feed: https://verifymcp.io/servers/dataplat-dbatools-mcp-server/dbatools-mcp-server/changelog.json
- HTML version of this page: https://verifymcp.io/servers/dataplat-dbatools-mcp-server/dbatools-mcp-server
