MCP-SqlServer
8
MCP-SqlServer is a C# implementation of a Model Context Protocol Server that facilitates integration with SQL Server databases, offering functionalities such as health checks and schema retrieval. Designed to work with Claude Desktop, it supports executing queries and provides results in JSON format.
MCP-SqlServer
A MCP Server (STDIO) implementation in C# for integrating LLM with SQL Server, tested with Claude Desktop. It logs operations in a mcp_server.log file.
Tools
- HealthCheck: Verifies the Microsoft SQL Server Database connection.
- GetSchema: Retrieves a list of all tables with schemas, columns, and types.
- Query: Executes a SQL query and returns the result as JSON.
Setup with Claude
- Fill the env.database with the SQL Server connection string.
- Compile the project.
- Configure the MCP settings in Claude Desktop in claude_desktop_config.json.
- Use the provided JSON configuration for setting up MCP servers.
- Restart Claude Desktop.
Testing
After configuration, reloading Claude Desktop should show available tools.