Installation
Prerequisites
Section titled “Prerequisites”- Go 1.26+ installed (download)
- Microsoft SQL Server accessible on the network
- Git to clone the repository
Clone the repository
Section titled “Clone the repository”git clone https://github.com/scopweb/mcp-go-mssql.gitcd mcp-go-mssqlInstall dependencies
Section titled “Install dependencies”go mod tidyQuick build (Windows)
Section titled “Quick build (Windows)”build.batManual build
Section titled “Manual build”# Windowsgo build -o mcp-go-mssql.exe
# Linux/macOSgo build -o mcp-go-mssqlProduction build (optimized binary)
Section titled “Production build (optimized binary)”go build -ldflags "-w -s" -o mcp-go-mssql-secureThe -w -s flags strip debug information from the binary, reducing its size and making reverse engineering harder.
Verify the installation
Section titled “Verify the installation”# Check that the binary was created correctly./mcp-go-mssql --helpDependencies
Section titled “Dependencies”| Package | Description |
|---|---|
github.com/microsoft/go-mssqldb | Official Microsoft driver for SQL Server |
golang.org/x/crypto | Extended cryptographic support |
golang.org/x/text | Text processing |
github.com/stretchr/testify | Testing framework |