Model Context Protocol server enabling secure execution of SELECT queries, stored procedures, and schema exploration on SQL Server databases with robust connection management, configurable caching, and enhanced security features.
Unlock the full potential of MCP SQL Server through LangDB's AI Gateway. Get enterprise-grade security, analytics, and seamless integration with zero configuration.
Free tier available • No credit card required
Connection timeout (ms)
30000
Idle timeout for connections in pool (ms)
30000
Discover shared experiences
Min connections in pool
0
Enable encryption (set to 'false' to disable)
true
Time-To-Live for schema cache (ms)
300000
Max connections in pool
10
Log level for pino logger (e.g., 'fatal', 'error', 'warn', 'info', 'debug', 'trace', 'silent')
info
SQL Server port
1433
SQL Server hostname or IP
localhost
SQL Server username
sa
Default database name to connect to
master
Max number of retries for initial connection attempts
3
Initial delay (ms) before retrying a failed connection
1000
Request timeout for queries (ms)
30000
Name of the MCP server
MSSQL Server
Version of the MCP server
1.0.0
Maximum delay (ms) for connection retries (uses exponential backoff)
30000
Comma-separated list of databases the server is allowed to access. If empty, access is less restricted (relies on DB user permissions).
SQL Server password
Trust server certificate (set to 'false' to disable)
true
Security Notice
Your environment variables and credentials are securely stored and encrypted. LangDB never shares these configuration values with third parties.
Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!