mcp-mssql
MCP server for MSSQL
Documentation
GUIDE
1. Create the Virtual Environment: Run the following command to create a virtual environment named `venv`:
python3.10 -m venv venv2. Activate the Virtual Environment:
source venv/bin/activate3. Verify the Python Version: After activation, verify that the virtual environment is using Python 3.10 by running:
python --version4. Enter Connection String Details:
MSSQL_SERVER=localhost
MSSQL_USER=SA
MSSQL_PASSWORD=YourStrong@Passw0rd
MSSQL_DATABASE=localdatabase
MSSQL_PORT=14335. Connect MSSQL MCP Server to Your Cursor Editor:
{
"mcpServers": {
"mssql": {
"command": "uv",
"args": [
"--directory",
"path/to/mssql_mcp_server",
"run",
"mssql_mcp_server"
],
"env": {
"MSSQL_SERVER": "localhost",
"MSSQL_USER": "your_username",
"MSSQL_PASSWORD": "your_password",
"MSSQL_DATABASE": "your_database"
}
}
}
}6. Select AGENT mode in your editor and check connection
- you can prompt the Cursor with something like this "Use MSSQL MCP server to check connection"
Frequently asked questions
What is mcp-mssql?
mcp-mssql is MCP server for MSSQL
How do I install mcp-mssql?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is mcp-mssql open source?
Yes — it is hosted on GitHub at https://github.com/FarukNetworks/mcp-mssql.
Related MCP tools
Damn Vulnerable MCP Server Python-based implementation. Trusted by 1200+ developers. Trusted by 1200+ developers. Trusted by 1200+ developers.
A Model Context Protocol (MCP) server that enables secure interaction with MySQL databases Python-based implementation. Trusted by 900+ developers.
Query MCP enables end-to-end management of Supabase via chat interface: read & write query executions, management API support, automatic migration versioning...
Model Context Protocol with Neo4j Python-based implementation. Trusted by 700+ developers. Trusted by 700+ developers. Trusted by 700+ developers.
An MCP server that provides control over Android devices via adb Python-based implementation. Trusted by 500+ developers.
A Model Context Protocol (MCP) server for PostgreSQL databases with enhanced capabilities for AI agents. Python-based implementation.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP