Skip to main content
Glama
dperussina

Microsoft SQL Server MCP Server (MSSQL)

list_constraints

Identify and retrieve all database constraints, including check, unique, foreign key, and primary key constraints, across tables in Microsoft SQL Server for enhanced schema analysis and management.

Instructions

List all constraints (check, unique, foreign key, etc.) across tables in the database

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
connectionNameNoNamed connection to use (e.g., 'production', 'staging')
connectionStringNoSQL Server connection string (uses default if not provided)
constraintTypeNoFilter by constraint type (default: ALL)
schemaNoSchema name (default: dbo)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dperussina/mssql-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server