Skip to main content
Glama
MSSQL Database MCP Server

MSSQL Database MCP Server

by dcpurnell

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DOMAINNoWindows/Active Directory domain, for example "ELON" or "MYDOMAIN". Used for Kerberos authentication with domain credentials.
PASSWORDNoDomain password. Used for Kerberos authentication with domain credentials.
READONLYYesSet to "true" to restrict to read-only operations, or "false" for full access.
SQL_USERNoSQL Server username. Used when AUTH_METHOD is "sql".
USERNAMENoDomain username without the domain prefix. Used for Kerberos authentication with domain credentials.
AUTH_METHODNoAuthentication method. Defaults to "default". Supported values: "default" (DefaultAzureCredential for Azure SQL), "interactive" (InteractiveBrowserCredential for Azure SQL), "integrated" (Windows Integrated Authentication, Windows only), "kerberos" (Kerberos Authentication), and "sql" (SQL Server Authentication with username/password).default
SERVER_NAMEYesYour SQL Server name. For Azure SQL use my-server.database.windows.net; for local SQL Server use localhost, .\SQLEXPRESS, (local), or the server IP. For non-standard ports use hostname,port format.
SQL_PASSWORDNoSQL Server password. Used when AUTH_METHOD is "sql".
DATABASE_NAMEYesYour database name.
CONNECTION_TIMEOUTNoOptional connection timeout in seconds. Defaults to "30" if not set.30
TRUST_SERVER_CERTIFICATENoOptional. Set to "true" to trust self-signed server certificates. Defaults to "false".false

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_tableA

Lists tables in an MSSQL Database, or list tables in specific schemas. Returns fully qualified table names (schema.table).

read_dataA

Executes a SELECT query on an MSSQL Database table. The query must start with SELECT and cannot contain any destructive SQL operations for security reasons.

describe_tableA

Describes the schema (columns and types) of a specified MSSQL Database table. Optionally specify a schema name (defaults to 'dbo').

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.6/5.0

Scored across 3 tools

Disambiguation5/5

Each tool has a clearly distinct purpose: listing tables, reading data, and describing table schema. There is no overlap between them and an agent can easily select the right one.

Naming Consistency4/5

Names follow a consistent verb_noun pattern (list_table, read_data, describe_table). Slight inconsistency as read_data operates on rows while the others target tables, but the convention is readable and predictable.

Tool Count3/5

Three tools is functional but thin for a database server—no write operations, connection/schema listing, or query execution beyond SELECT. It sits at the borderline of feeling undersized for the stated purpose.

Completeness2/5

The surface only covers read-only introspection and SELECT data access, with no insert/update/delete, no schema listing tool, and no way to run arbitrary queries or inspect indexes/constraints. This is a significant gap if the server is meant to support broader MSSQL workflows.

Maintenance

ActivityStale
ResponsivenessNo recent community issues