Skip to main content
Glama
fabriciofs

MCP SQL Server

by fabriciofs

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MAX_ROWSNoMaximum rows to return (default: 1000, max: 5000)1000
POOL_MAXNoMaximum connection pool size (default: 10)10
POOL_MINNoMinimum connection pool size (default: 2)2
READONLYNoSet to 'true' for read-only mode or 'false' to enable write operations. Required.
SQL_PORTNoSQL Server port (default: 1433)1433
SQL_USERNoDatabase user
LOG_LEVELNoLog level: debug, info, warn, error (default: info)info
SQL_SERVERNoSQL Server hostname
SQL_ENCRYPTNoEncrypt connection (default: true)true
SQL_DATABASENoDatabase name
SQL_PASSWORDNoDatabase password
QUERY_TIMEOUTNoQuery timeout in milliseconds (default: 30000, max: 120000)30000
SQL_TRUST_CERTNoTrust server certificate (default: false)false
SQL_CONNECTION_URLNoConnection URL for SQL Server (e.g., sqlserver://user:password@host:port/database?TrustServerCertificate=true)

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/fabriciofs/mcp-sql-server'

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