SQL Server Core

•
2
•

Provides high-performance SQL Server access with robust safety, intelligent caching, and comprehensive diagnostics for various client applications.

Mcp.SqlServer.Core is a sophisticated SQL Server integration layer designed to go beyond basic schema discovery and query execution. It offers safe read and write data access with capability gating, multi-layer intelligent caching for metadata and deterministic reads, and extensive diagnostics including execution plan retrieval and index analysis. Supporting both stdio and streamable HTTP transports from a single shared core, it provides structured audit logging, OpenTelemetry integration, and cancellation-aware async execution, making it a versatile solution for IDE copilots, internal agents, and remote SQL operations workflows.

Key Features

01Capability-gated safe read and write data access
02Multi-layer intelligent caching for metadata, query results, and plans
03Comprehensive SQL Server diagnostics, including query plan retrieval and index analysis
04Supports both stdio and streamable HTTP transports from a shared core
05Enterprise-ready features: structured audit logging, OpenTelemetry, and async execution
060 GitHub stars

Use Cases

01Integrating SQL Server with AI-powered IDE copilots
02Building internal agents for automated SQL operations and reporting
03Remote hosting of SQL Server access for various client applications