SQL Server Express MCP Server
An MCP server for interacting with Microsoft SQL Server Express. Supports Windows and SQL Server authentication.
Prerequisites
- Python 3.10 or higher
- Microsoft ODBC Driver 18 for SQL Server
- SQL Server instance with appropriate permissions
Installation
Clone this repo
cd mcp-sqlexpress
# Create and activate virtual environment
uv venv
.venvScriptsactivate
# Install dependencies
uv pip install --editable .
Usage with Claude Desktop
Add to your claude_desktop_config.json
:
{
"mcpServers": {
"sqlexpress": {
"command": "uv",
"args": [
"--directory",
"PATH\TO\PROJECT\mcp-sqlexpress",
"run",
"mcp-server-sqlexpress",
"--server",
"server\instance",
"--auth",
"windows",
"--trusted-connection",
"yes",
"--trust-server-certificate",
"yes",
"--allowed-databases",
"database1,database2"
]
}
}
}
Authentication Options
For Windows Authentication:
- Set
--auth windows
- Set
--trusted-connection yes
For SQL Server Authentication:
- Set
--auth sql
- Add
--username
and--password
Features
Tools
get_allowed_databases
: Get list of databases that are allowed to be accessedread_query
: Execute SELECT querieswrite_query
: Execute INSERT/UPDATE/DELETE queriescreate_table
: Create new tableslist_tables
: List all tables in databasedescribe_table
: Show table schema
SQL Server Express MCP Server
by hanweg
Project Details
- hanweg/mcp-sqlexpress
- MIT License
- Last Updated: 2/20/2025
Recomended MCP Servers
🧩
Weather Calculator
Tavily MCP Server

Redis Cloud API
Berlin Transport Server
An MCP server for the Berlin Public Transport
🧩
RAG-MCP Server
🧩
FunPay Viper
Alchemy Blockchain API Server
Alchemy's official MCP Server. Allow AI agents to interact with Alchemy's blockchain APIs.
🧩
Knowledge Base Server
This MCP server provides tools for listing and retrieving content from different knowledge bases.
🧩
MySQL Server
A Model Context Protocol (MCP) server that enables secure interaction with MySQL databases
DuckDuckGo Search
🧩
Trabalho de NLP
Trabalho de NLP - PUC-RIO
Instantly API Server