list_objects
List tables/views/procedures/functions with schema, type, and limit filters (default 1000).
How to use it
list_objects is exposed by the Mssql MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the list_objects tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Mssql MCP
npx -y @codegiveness/mssql-mcp --versionOther tools in Mssql MCP (17)
Summary health check: size, VLFs, fragmentation, stats staleness, blocking.
Missing-index analysis from sys.dmdbmissingindex DMVs (workload-wide or per-query).
string
Execute a T-SQL batch. SELECT in Restricted; DML/DDL in Unrestricted.
Show the execution plan summary (or raw XML) without executing the query.
enum
Return columns, parameters, indexes, and triggers for a specific object.
Top queries by CPU/duration/reads from sys.dmexecquerystats.
int
List all databases with an iscurrent flag (system DBs excluded).
List schemas in the current or specified database.
string
enum
string
string
string
enum