Basic information
About Microsoft SQL Server MCP Server
# Microsoft SQL Server MCP Server
Microsoft SQL Server MCP Server is a MCP server in the Databases category listed in the AddMCP.net directory, published by vuutla. Supported transport: stdio. Runtime: python. License: MIT license. Source code is hosted on github.com. Related topics: database, mcp-server, mssql, sql-server.
Setup
{
"mcpServers": {
"mssql-mcp-server-vuutla": {
"command": "python",
"args": [
"-m",
"mssql_mcp_server"
]
}
}
}
{
"mcpServers": {
"mssql-mcp-server-vuutla": {
"command": "python",
"args": [
"-m",
"mssql_mcp_server"
]
}
}
}
{
"servers": {
"mssql-mcp-server-vuutla": {
"command": "python",
"args": [
"-m",
"mssql_mcp_server"
]
}
}
}
Microsoft SQL Server MCP Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mssql-mcp-server-vuutla": {
"command": "python",
"args": [
"-m",
"mssql_mcp_server"
]
}
}
}
Microsoft SQL Server MCP Server tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Microsoft SQL Server MCP Server?
A Model Context Protocol (MCP) server that enables secure interaction with Microsoft SQL Server databases. It allows AI assistants to list tables, read data, and execute SQL queries through a controlled interface, making database exploration and analysis safer and more structured for developers.
How to use Microsoft SQL Server MCP Server?
Install via pip install mssql-mcp-server. Set the environment variables MSSQL_SERVER, MSSQL_USER, MSSQL_PASSWORD, and MSSQL_DATABASE. Use with Claude Desktop by adding a configuration entry to claude_desktop_config.json using uv, or run as a standalone server with python -m mssql_mcp_server.
Key features of Microsoft SQL Server MCP Server
- List available SQL Server tables as resources
- Read table contents
- Execute SQL queries with proper error handling
- Secure database access through environment variables
- Comprehensive logging
- Automatic system dependency installation (FreeTDS)
Use cases of Microsoft SQL Server MCP Server
- AI assistant explores database schema and table contents
- Safe execution of read-only SQL queries from a chatbot
- Automated database analysis without manual querying
- Secure, audited database interaction for AI workflows
Frequently asked questions
1 What does this MCP server do?
It enables AI assistants to list tables, read data, and execute SQL queries on Microsoft SQL Server databases through a controlled interface.
2 What dependencies are required?
The package automatically installs system dependencies like FreeTDS. You need Python and pip to install the server.
3 How do I configure the database connection?
Set four environment variables: MSSQL_SERVER, MSSQL_USER, MSSQL_PASSWORD, and MSSQL_DATABASE. Never commit these credentials.
4 Is it safe to use with production databases?
Use a dedicated SQL Server login with minimal permissions, never use sa credentials, and follow the principle of least privilege. Enable logging for audit purposes.
5 How do I run the server?
Install via pip, then either add it to Claude Desktop’s config (using uv) or run python -m mssql_mcp_server standalone.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In