Prototipo · Versión preliminar: todos los servidores del registro oficial, sincronizados cada 30 minutos. Las reseñas y las cuentas llegarán en una etapa posterior.
PopNx MCPServidores MCP para quienes usan IA · explicados con palabras sencillas

Dbatools MCP Server

de dataplatversión 0.5.0i★ –iSe ejecuta en tu computadora
Nombre en el registroio.github.dataplat/dbatools-mcp-server

Instalar

Resumen

Descripción del creador (original en inglés)

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

Los tres pilares de PopNx MCP

Estos tres nunca se combinan en una sola puntuación: las opiniones, las mediciones y la popularidad son cosas distintas.

Qué puedes hacer con él

Todavía no escribimos un resumen sencillo para este. Abajo están los datos que leímos del registro.

  • Conexión: Se ejecuta en tu computadora
  • Transporte: stdio
  • Categoría: Bases de datos y conjuntos de datos

Instalación

Elige la app de IA que usas y copia la configuración.

Antes de instalar

  • Revisiones básicas: 1 de 1 superadas
  • Se ejecuta en tu computadora con los permisos de tu usuario (archivos, red, apps).
  • Debes completar tú: DBATOOLS_SAFE_MODE, MAX_OUTPUT_ROWS, COMMAND_TIMEOUT_SECONDS, PWSH_EXE

Necesitas

  • npmNode.js instalado (para el comando npx)

¿Qué app usas?

Elige tu app arriba. La recordamos, así que la próxima vez el botón dirá “Instalar en …”.

Abre Claude Desktop → Settings → Developer → Edit Config y pega esto en claude_desktop_config.json

{
  "mcpServers": {
    "dbatools": {
      "command": "npx",
      "args": [
        "-y",
        "dbatools-mcp-server"
      ],
      "env": {
        "DBATOOLS_SAFE_MODE": "your-value",
        "MAX_OUTPUT_ROWS": "your-value",
        "COMMAND_TIMEOUT_SECONDS": "your-value",
        "PWSH_EXE": "your-value"
      }
    }
  }
}

Ejecuta esto en tu terminal

claude mcp add dbatools --env DBATOOLS_SAFE_MODE=your-value --env MAX_OUTPUT_ROWS=your-value --env COMMAND_TIMEOUT_SECONDS=your-value --env PWSH_EXE=your-value -- npx -y dbatools-mcp-server

Completa los valores vacíos antes de ejecutarlo.

Abrir en Cursor

O copia la configuración tú

Pégalo en .cursor/mcp.json de tu proyecto, o en ~/.cursor/mcp.json

{
  "mcpServers": {
    "dbatools": {
      "command": "npx",
      "args": [
        "-y",
        "dbatools-mcp-server"
      ],
      "env": {
        "DBATOOLS_SAFE_MODE": "your-value",
        "MAX_OUTPUT_ROWS": "your-value",
        "COMMAND_TIMEOUT_SECONDS": "your-value",
        "PWSH_EXE": "your-value"
      }
    }
  }
}

Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.

Abrir en VS Code

O copia la configuración tú

Pégalo en .vscode/mcp.json de tu proyecto

{
  "servers": {
    "dbatools": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "dbatools-mcp-server"
      ],
      "env": {
        "DBATOOLS_SAFE_MODE": "your-value",
        "MAX_OUTPUT_ROWS": "your-value",
        "COMMAND_TIMEOUT_SECONDS": "your-value",
        "PWSH_EXE": "your-value"
      }
    }
  }
}

Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.

Este se ejecuta en tu computadora, y ChatGPT solo puede conectarse a servidores en internet. Elige otra app.

Tu elección se guarda en una cookie en este dispositivo; no necesitas cuenta.

Valores que debes completar

  • DBATOOLS_SAFE_MODE env
    Set to 'false' to allow write/destructive dbatools operations. Defaults to true (read-only safe mode).
  • MAX_OUTPUT_ROWS env
    Maximum number of rows returned per command. Defaults to 100. Allowed range: 1–10000.
  • COMMAND_TIMEOUT_SECONDS env
    Timeout in seconds for each dbatools command. Defaults to 60. Allowed range: 5–3600.
  • PWSH_EXE env
    Path to the PowerShell executable. Defaults to 'pwsh'.

Esta configuración se genera a partir de la ficha del creador en el registro. Si el README dice otra cosa, sigue el README.

Qué puede hacer

Se ejecuta en tu computadora; la lista de herramientas aparece en tu app de IA después de instalarlo.

Revisiones básicasi

Revisamos información que cualquiera puede ver; no hemos leído el código. Las revisiones que no aplican no se cuentan. · Revisado el 6 nov 2026

  • ✓ Superada

    El creador coincide con el repo

    El nombre en el registro se verificó con la cuenta de GitHub dataplat, dueña del repo

  • … Aún sin revisar

    Sigue en mantenimiento

    Todavía no hemos leído este repo en GitHub

  • … Aún sin revisar

    Tiene licencia

    Todavía no hemos leído este repo en GitHub

  • – No aplica

    El endpoint responde

    Este se ejecuta en tu computadora; no hay endpoint en internet

  • – No aplica

    Inicio de sesión con OAuth

    Se ejecuta en tu computadora y usa ajustes locales en su lugar

  • … Aún sin revisar

    Sin instrucciones ocultas en las descripciones de herramientas

    Se ejecuta en tu computadora; solo podemos leer listas de herramientas de endpoints en internet

Comparado con otros en Bases de datos y conjuntos de datosi

  • Más estrellas que el 0% de los otros 953 servidores de esta categoría
  • Publicado en el registro más recientemente que el 10% de los otros 953 servidores de esta categoría
  • Revisiones básicas iguales o mejores que el 100% de los otros 953 servidores de esta categoría

Comparado con todos los servidores activos de esta categoría en el registro. Las estrellas solo cuentan cuando quien lo publica es dueño del repo.

Preguntas frecuentes

¿Es seguro Dbatools MCP Server?

Superó 1 de 1 revisiones básicas aplicables. No hemos leído el código. Antes de agregar una clave o un token, revisa qué acceso pide el servidor y usa una clave que tenga solo los permisos que necesitas.

¿Qué claves o códigos necesita?

El registro no indica ninguna clave obligatoria, aunque algunos servidores te piden iniciar sesión la primera vez que los usas.

¿Se ejecuta en mi computadora o en la nube?

Se ejecuta en tu computadora. Tu app de IA lo inicia cuando hace falta, y los datos no pasan por los servidores del creador (a menos que el propio servidor llame a un servicio en línea).

¿Sigue en mantenimiento?

El repo de GitHub cambió por última vez –, y la última versión (0.5.0) llegó al registro hace 7 meses.

¿Qué apps pueden usarlo?

Las apps compatibles con MCP, como Claude Desktop, Claude Code, Cursor y VS Code. También necesitas Node.js en tu computadora.

¿Qué puedo usar en su lugar?

En la misma categoría: Supabase, MongoDB MCP Server, Elasticsearch MCP Server

Alternativas

Servidores de la misma categoría hechos por otros creadores, ordenados por estrellas.

Cómo leer una tarjeta:★ Estrellas de GitHubiTres pilares: reseñas · revisiones · usoiActualizado = fecha en que se publicó la última versión en el registroi

Supabase

de supabase

MCP server for interacting with the Supabase platform

Computadora o nube★ 2993Apache-2.0Actualizado ayer
Instalar

MongoDB MCP Server

de mongodb-js

MongoDB Model Context Protocol Server

Se ejecuta en tu computadora★ 1157Apache-2.0Actualizado anteayer
Instalar

MCP server for interacting with Elasticsearch

Se ejecuta en tu computadora★ 315Apache-2.0Actualizado hace 14 meses
Instalar

README del creador

Abrir el README

Copiado tal cual del repo del creador. PopNx MCP no lo ha revisado ni lo respalda. Se quitaron HTML, imágenes y scripts. Los enlaces llevan fuera de este sitio.

dbatools-mcp-server

A Model Context Protocol (MCP) server for the dbatools PowerShell module.

Exposes dbatools commands as MCP tools so AI assistants (GitHub Copilot, Claude, etc.) can discover, explain, and execute dbatools commands directly — with all metadata sourced from dbatools' own comment-based help.


Features

  • `list_dbatools_commands` — search commands by verb, noun, keyword, or risk level
  • `get_dbatools_command_help` — full normalized help (synopsis, parameters, examples) from Get-Help -Full
  • `invoke_dbatools_command` — execute any dbatools command with safe parameter validation, risk gating, and structured JSON output
  • `check_dbatools_environment` — verify PowerShell + dbatools installation, index freshness, and version alignment
  • Tool annotations — each tool declares readOnlyHint / destructiveHint / idempotentHint / openWorldHint so MCP clients (e.g. VS Code) can surface risk in the UI before a tool is even called
  • Resources — browse dbatools://command/{name} to read any command's full normalized help as structured JSON, independent of the chat-oriented tool responses
  • Persistent PowerShell session — invoke_dbatools_command reuses one long-lived pwsh process with dbatools pre-imported instead of spawning (and re-importing dbatools into) a fresh process on every call
  • Version mismatch detection — warns when installed dbatools version differs from the indexed version
  • Safe mode — non-readonly commands require explicit confirm: true to execute
  • SQL Authentication support — pass SqlCredential: { username, password } for SQL auth instances

Prerequisites

Install-Module dbatools -Scope CurrentUser

Quick Start

# 1. Clone the repo

git clone https://github.com/Dataplat/dbatools-mcp-server.git cd dbatools-mcp-server

2. Install Node dependencies

npm install

3. Generate the help index from your local dbatools installation

npm run refresh-help

4. Build

npm run build

Then open the folder in VS Code — the .vscode/mcp.json file automatically registers the MCP server.


Connecting to VS Code

The included .vscode/mcp.json registers the server as a local STDIO MCP server. Open this folder in VS Code and the server will appear in the GitHub Copilot MCP panel.

{

"servers": { "dbatools": { "type": "stdio", "command": "node", "args": ["${workspaceFolder}/dist/server.js"], "env": { "DBATOOLS_SAFE_MODE": "true", "MAX_OUTPUT_ROWS": "100", "COMMAND_TIMEOUT_SECONDS": "60" } } } }


Configuration

All settings are controlled via environment variables (set in .vscode/mcp.json or your shell):

VariableDefaultDescription
PWSH_EXEpwshPath to PowerShell executable
DBATOOLS_SAFE_MODEtrueWhen true, non-readonly commands require confirm: true
MAX_OUTPUT_ROWS100Maximum rows returned per command execution
COMMAND_TIMEOUT_SECONDS60Seconds before PowerShell process is killed
DBATOOLS_PERSISTENT_SESSIONtrueWhen true, invoke_dbatools_command reuses one long-lived PowerShell process (dbatools pre-imported) instead of spawning a new process per call. Set to false to force a fresh process per call.

Refreshing the Help Index

The help index (generated/dbatools-help.json) is generated from your locally installed dbatools module. Re-run whenever dbatools is updated:

Update-Module dbatools -Scope CurrentUser

npm run refresh-help

The server detects version mismatches at runtime and warns you when the index is stale.


Risk Levels

Commands are automatically classified by verb:

Risk LevelVerbsBehavior
readonlyGet, Test, Find, Compare, …Always allowed
changeSet, New, Add, Copy, Enable, …Requires confirm: true in safe mode
destructiveRemove, Drop, Disable, Reset, …Requires confirm: true in safe mode

Each risk tier maps to standard MCP tool annotations (readOnlyHint, destructiveHint, idempotentHint, openWorldHint), so compatible clients can surface risk in their UI before a tool is even invoked. invoke_dbatools_command is a generic dispatcher that can run any command, so its annotation conservatively reflects the worst case (destructiveHint: true) — the actual per-command risk is still enforced at runtime by the safe-mode gate.


Resources

Besides the four tools, the server exposes every indexed command as an MCP resource at dbatools://command/{name} (e.g. dbatools://command/Get-DbaDatabase), returning the same normalized help record as structured JSON — useful for clients that browse/ground on resources rather than calling a tool. The browsable resource list excludes PowerShell aliases (e.g. Attach-DbaDatabase, an alias for Mount-DbaDatabase) since they just forward to another command's help.


Persistent PowerShell Session

By default, invoke_dbatools_command reuses a single long-lived pwsh process with dbatools pre-imported, instead of spawning a fresh process (and re-importing dbatools) on every call. This removes the ~1-2s+ process-startup and module-import cost from every invocation after the first.

A couple of things to be aware of:

  • Crash/timeout recovery: if a command times out or the session process crashes, it is killed and discarded; the next call transparently starts a fresh session (paying the import cost once more). The call that triggered the failure is not automatically retried.
  • Cross-call state: dbatools caches some state (e.g. SMO connections via Connect-DbaInstance) within a PowerShell session. With a persistent session, that caching is now visible across tool calls within one MCP server run, where previously every call was fully isolated. Each individual script still runs in its own scope, so plain variables never leak between calls — only dbatools' own internal caching behavior is affected.

Set DBATOOLS_PERSISTENT_SESSION=false to disable this and go back to one fresh process per call.


SQL Authentication

For SQL-auth-only instances (e.g. Docker), pass credentials via the SqlCredential parameter:

{

"SqlInstance": "localhost,1433", "SqlCredential": { "username": " ", "password": "YourPassword" } }


Project Structure

dbatools-mcp-server/

├── src/ │ ├── server.ts # MCP server entry point, tool/resource definitions │ ├── powershell.ts # One-shot PowerShell process runner, health checks, version detection │ ├── powershell-session.ts # Persistent PowerShell session (long-lived process, dbatools pre-imported) │ ├── help-indexer.ts # Help manifest loader and command search │ ├── tool-registry.ts # Risk classification, tool annotations, safe argument builder │ └── types.ts # Shared TypeScript interfaces ├── scripts/ │ └── refresh-help.ps1 # Generates generated/dbatools-help.json ├── generated/ # Help index (gitignored, generated locally) ├── .vscode/ │ └── mcp.json # VS Code MCP local server registration └── dist/ # Compiled output (gitignored)


Contributing

Contributions are welcome! Please open an issue first for significant changes.

This project follows the same community spirit as dbatools.


License

MIT — © 2026 DataPlat contributors

Pregunta a PopNx