GUIDE
About
GUIDE is an MCP server that connects AI agents in editors like Cursor to Microsoft SQL Server databases using environment‑variable configuration and the uv command runner.
Details
- Author
- FarukNetworks
- Downloads
- 250
- Categories
- Database
Jump to
- Connects to MSSQL databases via environment variables.
- Integrates with Cursor editor as an MCP tool.
- Uses uv to run the server from a local directory.
- Requires Python 3.10 virtual environment.
Create a Python 3.10 virtual environment, activate it, and add MSSQL connection details to a .env file. Then configure .cursor/mcp.json with the uv command, the server’s directory, and the required environment variables. In Cursor, switch to AGENT mode and prompt it to check the connection.
GUIDE
1. Create the Virtual Environment: Run the following command to create a virtual environment named venv:
python3.10 -m venv venv
2. Activate the Virtual Environment:
- On macOS and Linux:
source venv/bin/activate
3. Verify the Python Version: After activation, verify that the virtual environment is using Python 3.10 by running:
python --version
4. Enter Connection String Details:
- Create a .env file and add the following connection details:
MSSQL_SERVER=localhost
MSSQL_USER=SA
MSSQL_PASSWORD=YourStrong@Passw0rd
MSSQL_DATABASE=localdatabase
MSSQL_PORT=1433
5. Connect MSSQL MCP Server to Your Cursor Editor:
- Create or edit the file in folder: .cursor/mcp.json
{
"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"
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



