SQL Server Express
An MCP server for interacting with Microsoft SQL Server Express databases.
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
.venv\Scripts\activate
# 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
--usernameand--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
Related Servers
Fireproof
Immutable ledger database with live synchronization
Opera Omnia
Access a rich collection of JSON datasets for games, storytelling, and bot development from the Opera Omnia project.
MySQL MCP Tools
A server providing tools for querying and managing a MySQL database.
InstantDB
Create, manage, and update applications on InstantDB, the modern Firebase.
Verodat
Interact with Verodat AI Ready Data platform
Quran Cloud
Access the Quran API from alquran.cloud to retrieve accurate Quranic text and reduce LLM hallucinations.
MCP OpenDART
Access financial data from Korea's OpenDART (Data Analysis, Retrieval and Transfer System) for AI language models.
Snowflake MCP Server
A read-only server for interacting with Snowflake databases, allowing SELECT queries and access to schema context.
Bauplan
Interact with Bauplan data tables and run queries.
Data.gov.il
Access Israeli Government Open Data from the data.gov.il portal.