SQL Server

•

Provides a Model Context Protocol server for dynamically exploring and interacting with Microsoft SQL Server databases.

This Model Context Protocol (MCP) server, built with TypeScript, enables dynamic exploration and interaction with Microsoft SQL Server databases. It automatically discovers database schemas, allowing it to work seamlessly with existing databases without requiring hardcoded table or column names. The server supports both local standard I/O clients and stateless Streamable HTTP, offering robust database operations and schema introspection capabilities. It integrates with the MCP TypeScript SDK v2 and a shared `mssql` connection pool, providing flexible authentication options for HTTP transport.

主要功能

01Provides schema introspection including table/view listing and column details
02Supports parameterized SELECT, INSERT, UPDATE, and stored procedure execution
03Offers flexible HTTP authentication with static bearer tokens or Cloudflare Access JWT
04Dynamically discovers SQL Server database schema
05Enables multi-statement transactions with automatic rollback
060 GitHub stars

使用案例

01Building secure APIs for programmatic interaction with SQL Server databases
02Integrating SQL Server databases with MCP-compatible AI agents and developer tools
03Automating database schema exploration and management tasks