cosmic-mcp

All servers

dbatools-mcp-server

io.github.dataplat/dbatools-mcp-server ยท version 0.5.0

Community listing. Not installed or verified by cosmic-mcp. Read the source and its permissions before you run it.

MCP server for dbatools โ€” exposes SQL Server management commands as MCP tools

https://github.com/dataplat/dbatools-mcp-server

Quick facts

  • Listing: Community
  • Published Apr 18, 17:28 UTC
  • Transport: stdio
  • Package: npm dbatools-mcp-server 0.5.0
  • Listed by cosmic-mcp: Nov 8, 18:59 UTC

Databases

Setup snippets

Generated from the registry entry. cosmic-mcp has not run or reviewed this server; values in angle brackets are yours to fill in.

Run it locally (npm)

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "dbatools-mcp-server": {
      "args": [
        "-y",
        "[email protected]"
      ],
      "command": "npx",
      "env": {
        "COMMAND_TIMEOUT_SECONDS": "<your command timeout seconds>",
        "DBATOOLS_SAFE_MODE": "<your dbatools safe mode>",
        "MAX_OUTPUT_ROWS": "<your max output rows>",
        "PWSH_EXE": "<your pwsh exe>"
      }
    }
  }
}

Claude Code

claude mcp add 'dbatools-mcp-server' -- npx -y '[email protected]'

Cursor (.cursor/mcp.json)

{
  "mcpServers": {
    "dbatools-mcp-server": {
      "args": [
        "-y",
        "[email protected]"
      ],
      "command": "npx",
      "env": {
        "COMMAND_TIMEOUT_SECONDS": "<your command timeout seconds>",
        "DBATOOLS_SAFE_MODE": "<your dbatools safe mode>",
        "MAX_OUTPUT_ROWS": "<your max output rows>",
        "PWSH_EXE": "<your pwsh exe>"
      }
    }
  }
}

VS Code (.vscode/mcp.json)

{
  "servers": {
    "dbatools-mcp-server": {
      "args": [
        "-y",
        "[email protected]"
      ],
      "command": "npx",
      "env": {
        "COMMAND_TIMEOUT_SECONDS": "<your command timeout seconds>",
        "DBATOOLS_SAFE_MODE": "<your dbatools safe mode>",
        "MAX_OUTPUT_ROWS": "<your max output rows>",
        "PWSH_EXE": "<your pwsh exe>"
      },
      "type": "stdio"
    }
  }
}

Related servers

  • AI for Database Verified domain
    Ask your databases questions in plain English, run read-only SQL and set up data alerts.
  • AI2SQL Verified domain
    Text-to-SQL MCP server: read-only queries on PostgreSQL, MySQL and SQL Server with your real schema
  • AICasePredict Verified domain
    Search a large legal database of 325M+ US court records: cases, attorneys, judges and courts.
  • APC Security Reference Server
    Reference MCP server for synthetic APC action-security evaluation and local SQLite sandbox testin...
  • AdoMcp
    Database MCP server for schema discovery, comments, and SQL queries.
  • Agent Swarm
    Full Agent Swarm API and MCP server with local SQLite storage for multi-agent orchestration.