test_connection
Verify connectivity and latency.
How to use it
Project documentation lists test_connection for the Mssql MCP Server MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), then check which tools your installed version makes available. Tool availability can depend on configuration and credentials. A server handshake does not verify this tool’s behavior. See the full listing for setup details.
Install Mssql MCP Server
npm install -g @connorbritain/mssql-mcp-server@latestOther tools in Mssql MCP Server (19)
Create indexes on existing tables.
Create tables with column definitions.
Preview affected rows, require confirmation.
Column definitions, types, nullability, keys.
Drop tables (requires confirmation).
Execution plan analysis via SHOWPLAN.
Parameterized inserts (single or batch).
Full dependency analysis (views, procs, functions, triggers referencing an object).
FK mappings in both directions.
List databases on server-level environments.
Show configured environments and their policies.
Show available pre-approved SQL scripts.
List all tables in a database with optional filtering.
Column stats (null %, cardinality, min/max/avg/median/p90) with optional sample rows.
Safe SELECT with automatic row limits.
Execute named scripts with parameters and governance controls.
Wildcard/fuzzy search across tables and columns with pagination.
Preview affected rows, require confirmation.
Check environment configuration for errors.