a year ago
developer-toolsA Microsoft SQL Server client implementing the Model Context Protocol (MCP). This server provides SQL query capabilities through a simple MCP interface.
Overview
What is SQL Server MCP Client?
SQL Server MCP Client is a Microsoft SQL Server client that implements the Model Context Protocol (MCP), providing SQL query capabilities through a simple interface.
How to use SQL Server MCP Client?
To use the SQL Server MCP Client, you can either deploy it directly on a machine or as a Docker container. Configure the database connection using environment variables and connect using the Model Context Protocol C# SDK.
Key features of SQL Server MCP Client?
- Execute SQL queries on a connected SQL Server database.
- List all tables in the connected database with schema and row count information.
- Retrieve detailed schema information for specific tables.
- Lightweight design for easy deployment.
Use cases of SQL Server MCP Client?
- Executing complex SQL queries on SQL Server databases.
- Retrieving and displaying database schema information.
- Integrating with applications using the Model Context Protocol.
FAQ from SQL Server MCP Client?
- What are the prerequisites for using SQL Server MCP Client?
You need .NET 9.0 for local development and Docker for container deployment.
- Can I run SQL Server MCP Client in a Docker container?
Yes! The client can be deployed as a Docker container.
- How do I configure the database connection?
Set the connection string using the
MSSQL_CONNECTIONSTRINGenvironment variable.