neuron-explorer
Qwen3.5‑4B 전용 조향형 뉴런 탐색기, 모든 MLP 뉴런을 밀어 결과를 보관·탐색
Warp 터미널과 연동되는 SQL Server용 MCP 서버로, 자연어 명령으로 쿼리 실행·스키마 탐색·데이터 내보내기·성능 분석이 가능합니다
🗄️ Model Context Protocol (MCP) server for SQL Server integration with Warp terminal. Execute queries, explore schemas, export data, and analyze performance with natural language commands.
개발 도구JavaScript · ShellGitHub @egarcia74온라인운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
README 전체를 불러오는 중입니다. 아래는 저장된 발췌입니다.
SQL Server MCP - AI-Powered Database Integration
Connect AI assistants to your SQL Server databases with enterprise-grade security and performance.
🤖 AI-First Database Access: Enable GitHub Copilot, Warp AI, and other assistants to interact with your SQL
Server databases through natural language queries, with comprehensive security controls and production-ready reliability.
🚀 Quick Start - Choose Your AI Assistant
New to this project? Get up and running in under 5 minutes!
🤖 GitHub Copilot in VS Code (⭐ Most Popular)README 전문 보기 ↗Connect AI assistants to your SQL Server databases with enterprise-grade security and performance.
🤖 AI-First Database Access: Enable GitHub Copilot, Warp AI, and other assistants to interact with your SQL Server databases through natural language queries, with comprehensive security controls and production-ready reliability.
New to this project? Get up and running in under 5 minutes!
Perfect for developers who want AI-powered SQL assistance directly in their IDE.
→ 5-Minute VS Code Setup Guide
Ideal for terminal-based workflows and command-line database interactions.
Complete VS Code Integration Guide → - Advanced workflows and configuration
Using another AI assistant? This MCP server works with any MCP-compatible system.
| Security Level | Environment Variable | Default | Impact |
|---|---|---|---|
| 🔒 Read-Only Mode | SQL_SERVER_READ_ONLY | true | Only SELECT queries allowed |
| ⚠️ Destructive Operations | SQL_SERVER_ALLOW_DESTRUCTIVE_OPERATIONS | false | Controls INSERT/UPDATE/DELETE/MERGE/TRUNCATE, EXEC, WRITETEXT/UPDATETEXT, Service Broker RECEIVE, and administrative operations (SHUTDOWN, KILL, BACKUP/RESTORE, DBCC, RECONFIGURE, CHECKPOINT, SETUSER, xp_*/sp_*, linked-server rowset functions) |
| 🚨 Schema Changes | SQL_SERVER_ALLOW_SCHEMA_CHANGES | false | Controls CREATE/DROP/ALTER, GRANT/REVOKE/DENY, ENABLE/DISABLE TRIGGER, and SELECT ... INTO |
Every statement in a batch is checked against these tiers — T-SQL does not require ; between
statements — and batches with unterminated string literals, identifiers, or comments are rejected.
🔒 Maximum Security (Default - Production Recommended):
SQL_SERVER_READ_ONLY=true # Only SELECT allowed
SQL_SERVER_ALLOW_DESTRUCTIVE_OPERATIONS=false # No data modifications
SQL_SERVER_ALLOW_SCHEMA_CHANGES=false # No schema changes
📖 Complete Reference: See docs/reference/ENV-VARS.md for comprehensive documentation of all environment variables, defaults, and context-aware behavior.
| Variable | Required | Default | Description |
|---|---|---|---|
SQL_SERVER_HOST | No | localhost | SQL Server hostname |
SQL_SERVER_PORT | No | 1433 | SQL Server port |
SQL_SERVER_DATABASE | No | master | Initial database |
SQL_SERVER_USER | For SQL Auth | - | Database username |
SQL_SERVER_PASSWORD | For SQL Auth | - | Database password |
SQL_SERVER_ENCRYPT | No | true | Enable SSL/TLS |
SQL_SERVER_TRUST_CERT | No | context-aware | Trust server certificate |
💡 Authentication: For Windows Authentication, leave
SQL_SERVER_USERandSQL_SERVER_PASSWORDempty. 💡 SSL Certificates:SQL_SERVER_TRUST_CERTautomatically adapts to your environment (trusts in development, requires valid certificates in production).
Note: As of v1.7.11 the package is published under the scoped name
@egarcia74/warp-sql-server-mcp. The previous unscoped packagewarp-sql-server-mcpis deprecated: it was last published at 1.7.10 and predates the security fixes in 1.7.16-1.7.18, so installing it is not supported. Use the scoped name.
# Install globally via npm (easiest method)
npm install -g @egarcia74/warp-sql-server-mcp
# Initialize configuration
warp-sql-server-mcp init
# Edit config file with your SQL Server details
# Config file location: ~/.warp-sql-server-mcp.json
Benefits:
# Clone and install manually
git clone https://github.com/egarcia74/warp-sql-server-mcp.git
cd warp-sql-server-mcp
npm install
📋 Complete Documentation Index - Navigate all documentation in one place
✅ PRODUCTION-VALIDATED: This MCP server has been fully tested through:
test/protocol/mcp-server-startup-test.js checks server startup and
the JSON-RPC initialize handshake. npm run test:integration:protocol runs it in CI;
npm run docker:test -- protocol runs the same file against a container it starts for you# One-command testing with automated SQL Server container
npm run test:integration
# This will:
# 1. 🐳 Start SQL Server 2022 container
# 2. ⏱️ Wait for database initialization (2-3 minutes)
# 3. 🧪 Run all integration tests
# 4. 🔄 Clean up and stop container
Benefits: ✨ Zero configuration, 🛡️ Complete isolation, ⚡ Fast setup, 📋 Consistent environment
Complete Docker Testing Guide →
Security Phases Tested:
# Quick Start - Get comprehensive help
npm run help # Show all commands with detailed descriptions
# Run tests locally
npm test # All automated unit + integration tests
npm run test:coverage # Coverage report with detailed metrics
npm run test:integration # 🚀 Complete integration test suite with Docker
npm run test:integration:ci # For CI environments with external database
npm run test:integration:performance # ⭐ Fast performance validation (~2s)
# View logs and monitor activity
npm run logs # Show recent server logs
npm run logs:tail # Follow logs in real-time
npm run logs:audit # Show security audit logs
Once configured, you can use natural language with your AI assistant:
@sql-server List all databases
@sql-server Show me tables in the AdventureWorks database
@sql-server Generate a query to find the top 10 customers by sales
@sql-server Analyze the performance of this query: SELECT * FROM Orders WHERE OrderDate > '2023-01-01'
Please list all databases on the SQL Server
Execute this SQL query: SELECT TOP 10 * FROM Users ORDER BY CreatedDate DESC
Can you describe the structure of the Orders table?
Show me 50 rows from the Products table where Price > 100
Connection Problems:
telnet localhost 1433Authentication Issues:
SQL_SERVER_USER and SQL_SERVER_PASSWORDSQL_SERVER_DOMAINConfiguration Issues:
SQL_SERVER_ENCRYPT=false for local development.env files are not loaded automatically)npm run logs or npm run logs:tail for real-time monitoringnpm run logs:auditWindows:
macOS/Linux:
SQL_SERVER_ENCRYPT=true for remote connectionsnc -zv localhost 1433 or nmap -p 1433 localhostThis project demonstrates enterprise-grade software engineering practices. We welcome contributions that maintain our high standards:
Development Commands:
# Get comprehensive help for all available commands
npm run help # Show organized command reference with descriptions
# Core development
npm run dev # Development mode with auto-restart
npm test # Run all tests
npm run lint:fix # Fix linting issues
npm run format # Format code
npm run ci # Full CI pipeline locally
# Log viewing and monitoring
npm run logs # Show recent server logs
npm run logs:tail # Follow server logs in real-time
npm run logs:audit # Show security audit logs
npm run logs:tail:audit # Follow audit logs in real-time
# System maintenance and cleanup
npm run cleanup # List leftover test processes (reports only)
npm run cleanup:processes # Same as cleanup (alias)
npm run cleanup -- --kill <pid> # Terminate a listed process by PID
This project is licensed under the MIT License - see the LICENSE file for details.
While this appears to be an MCP server for SQL Server integration, it's fundamentally a comprehensive framework demonstrating enterprise-grade software development practices. Every component, pattern, and principle here showcases rigorous engineering standards that can be applied to any production system.
Key Engineering Highlights: