SQL Server MCP Service
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ORIGIN | No | Allowed CORS origins (comma-separated) | |
| NODE_ENV | No | Node environment (development/production) | development |
| SQL_PORT | No | SQL Server port | 1433 |
| SQL_USER | Yes | Database username | |
| HTTP_PORT | No | HTTP server port | 3333 |
| SQL_SERVER | No | SQL Server hostname/IP | localhost |
| SQL_ENCRYPT | No | Enable encryption | true |
| SQL_DATABASE | No | Database name | master |
| SQL_PASSWORD | Yes | Database password | |
| SQL_TRUST_CERT | No | Trust server certificate | 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
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| execute_queryC | Executes a SQL query in SQL Server |
| get_table_schemaC | Gets the schema of a specific table |
| list_tablesB | Lists all the tables in the database |
| get_database_infoC | Gets general information from the database |
| list_proceduresC | Lists all stored procedures in the database |
| list_functionsA | Lists all functions (scalar and table-valued) in the database |
| get_procedure_schemaA | Gets the schema and parameters of a specific stored procedure |
| get_function_schemaC | Gets the schema and parameters of a specific function |
| execute_procedureC | Executes a stored procedure with parameters |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 9 tools
Each tool has a distinct purpose: execute vs query, schema retrieval for different objects, listing functions/procedures/tables, and general database info. No overlap.
All tools follow the verb_noun pattern (execute_, get_, list_) with clear and consistent naming.
9 tools is well-scoped for a SQL Server service, covering core operations without unnecessary bloat.
Covers querying, execution, schema retrieval, and listing. Minor gaps like transaction control or listing schemas, but sufficient for typical use.