SQL Server Express
STDIOMCP server for interacting with Microsoft SQL Server Express, supporting Windows and SQL authentication.
MCP server for interacting with Microsoft SQL Server Express, supporting Windows and SQL authentication.
An MCP server for interacting with Microsoft SQL Server Express. Supports Windows and SQL Server authentication.
Clone this repo
cd mcp-sqlexpress # Create and activate virtual environment uv venv .venv\Scripts\activate # Install dependencies uv pip install --editable .
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" ] } } }
For Windows Authentication:
--auth windows
--trusted-connection yes
For SQL Server Authentication:
--auth sql
--username
and --password
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