get_table_schema_in_database
Gets the schema of a table from a specific database.
How to use it
Project documentation lists get_table_schema_in_database for the Mssqlclient 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 Mssqlclient MCP Server
docker run -d --name mssql-mcp -e "MSSQL_CONNECTIONSTRING=Server=your_server;Database=your_db;User Id=your_user;Password=your_password;TrustServerCertificate=True;" mssqlclient-mcp-server:latestOther tools in Mssqlclient MCP Server (24)
Executes a SQL query on the connected SQL Server database.
Executes a SQL query in a specific database.
Executes a stored procedure with automatic parameter type conversion.
Executes a stored procedure in a specific database with automatic parameter type conversion.
Returns current timeout configuration settings.
Get results from a completed or running query/stored procedure session.
Check the status of a running query or stored procedure session.
Gets the SQL definition of a stored procedure.
Gets the SQL definition of a stored procedure from a specific database.
Gets parameter information for a stored procedure in table or JSON Schema format.
Gets the schema of a table from the connected SQL Server database.
Lists all databases on the SQL Server instance.
List all query and stored procedure sessions.
Lists all stored procedures in the current database with detailed information.
Lists all stored procedures in a specific database.
Lists all tables in the connected SQL Server database with schema and row count information.
Lists all tables in a specific database.
Returns detailed information about the capabilities and features of the connected SQL Server instance.
Updates the default command timeout for all new operations.
Start a SQL query in the background on the connected database. Returns a session ID to check progress. Best for long-running queries.
Start a SQL query in the background for a specific database. Returns a session ID to check progress. Best for long-running queries (server mode).
Start a stored procedure execution in the background. Returns a session ID to check progress. Best for long-running procedures.
Start a stored procedure execution in the background for a specific database. Returns a session ID to check progress. Best for long-running procedures (server mode).
Stop a running query or stored procedure session.