Back to Home
egarcia74 icon

warp-sql-server-mcp

Verified Safe

by egarcia74

Overview

Enables AI assistants (like Warp Terminal or GitHub Copilot) to interact with Microsoft SQL Server databases using natural language queries, with a focus on enterprise-grade security, performance, and advanced database operations.

Installation

Run Command
warp-sql-server-mcp start

Environment Variables

  • SQL_SERVER_HOST
  • SQL_SERVER_PORT
  • SQL_SERVER_DATABASE
  • SQL_SERVER_USER
  • SQL_SERVER_PASSWORD
  • SQL_SERVER_DOMAIN
  • SQL_SERVER_ENCRYPT
  • SQL_SERVER_TRUST_CERT
  • SQL_SERVER_READ_ONLY
  • SQL_SERVER_ALLOW_DESTRUCTIVE_OPERATIONS
  • SQL_SERVER_ALLOW_SCHEMA_CHANGES
  • SQL_SERVER_CONNECT_TIMEOUT_MS
  • SQL_SERVER_REQUEST_TIMEOUT_MS
  • SQL_SERVER_MAX_RETRIES
  • SQL_SERVER_RETRY_DELAY_MS
  • SQL_SERVER_POOL_MAX
  • SQL_SERVER_POOL_MIN
  • SQL_SERVER_POOL_IDLE_TIMEOUT_MS
  • SECRET_MANAGER_TYPE
  • AWS_REGION
  • AZURE_KEY_VAULT_URL
  • SQL_SERVER_RESPONSE_FORMAT
  • ENABLE_STREAMING
  • STREAMING_BATCH_SIZE
  • STREAMING_MAX_MEMORY_MB
  • STREAMING_MAX_RESPONSE_SIZE
  • ENABLE_PERFORMANCE_MONITORING
  • SLOW_QUERY_THRESHOLD
  • PERFORMANCE_SAMPLING_RATE
  • MAX_METRICS_HISTORY
  • SQL_SERVER_LOG_LEVEL
  • ENABLE_SECURITY_AUDIT
  • LOG_FILE
  • SECURITY_LOG_FILE
  • SQL_SERVER_DEBUG
  • NODE_ENV
  • VSCODE_MCP

Security Notes

The project demonstrates a strong commitment to security, featuring AST-based SQL query validation, explicit blocking of dangerous functions (e.g., xp_cmdshell), multi-provider secret management (env, AWS, Azure), streaming data security (prototype pollution, size limits), and a three-tier safety system (read-only, DML, DDL controls). It includes security audit logging and robust configuration validation with context-aware SSL certificate trust. The fallback regex validation is a minor residual risk, but overall, the implementation is top-tier for preventing common SQL vulnerabilities and ensuring secure operation.

Similar Servers

Stats

Interest Score33
Security Score9
Cost ClassMedium
Avg Tokens500
Stars3
Forks2
Last Update2025-12-10

Tags

MCPSQL ServerAIDatabaseSecurityPerformanceNode.jsEnterprise