list_tables
All accessible tables with row counts
How to use it
Project documentation lists list_tables for the MCP Sql 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 MCP Sql Server
python -m mcp_sqlserver.server --databases C:\Users\you\.mcp_sqlserver\databases.jsonOther tools in MCP Sql Server (10)
Columns, types, constraints + sample rows
Validated SELECT with row cap and timeout
Estimated execution plan — query is not executed
Stored procedures with optional SQL definition
Indexes: type, columns, uniqueness, fill factor
Foreign keys to and from a table
Per-column stats: distinct, NULLs, min/max
Views with optional SQL definition
Find columns by name across the database
Persist a semantic discovery (called by Claude)