https://github.com/leopeng1995/mssql-mcp-server
https://github.com/leopeng1995/mssql-mcp-server
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/leopeng1995/mssql-mcp-server
- Owner: leopeng1995
- License: apache-2.0
- Created: 2025-03-29T01:56:15.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-03-29T14:28:37.000Z (3 months ago)
- Last Synced: 2025-03-29T15:28:38.774Z (3 months ago)
- Language: Python
- Size: 150 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- mcp-index - Microsoft SQL Server MCP Server - Connect to Microsoft SQL Server to manage and retrieve data efficiently within applications using a standardized protocol. Facilitate database interactions and streamline data-driven workflows. (Cloud Services)
README
# mssql-mcp-server
mssql-mcp-server is a Model Context Protocol (MCP) server for connecting to Microsoft SQL Server.
## Installation
```
git clone https://github.com/leopeng1995/mssql-mcp-server.git
cd mssql-mcp-serveruv sync
uv run mssql-mcp-server
```## Configuration in Cline
```json
{
"mcpServers": {
"mssql-mcp-server": {
"command": "uv",
"args": [
"--directory",
"H:/workspaces/leopeng1995/mssql-mcp-server",
"run",
"mssql-mcp-server"
],
"env": {
"MSSQL_SERVER": "localhost",
"MSSQL_PORT": "1433",
"MSSQL_USER": "username",
"MSSQL_PASSWORD": "password",
"MSSQL_DATABASE": "database",
"MSSQL_CHARSET": "UTF-8" # or CP936 ...
},
"disabled": false,
"autoApprove": []
}
}
}
```**Note:** The `MSSQL_CHARSET` value is case-sensitive.