Skip to content

Installation

  • Go 1.26+ installed (download)
  • Microsoft SQL Server accessible on the network
  • Git to clone the repository
Ventana de terminal
git clone https://github.com/scopweb/mcp-go-mssql.git
cd mcp-go-mssql
Ventana de terminal
go mod tidy
Ventana de terminal
build.bat
Ventana de terminal
# Windows
go build -o mcp-go-mssql.exe
# Linux/macOS
go build -o mcp-go-mssql
Ventana de terminal
go build -ldflags "-w -s" -o mcp-go-mssql-secure

The -w -s flags strip debug information from the binary, reducing its size and making reverse engineering harder.

Ventana de terminal
# Check that the binary was created correctly
./mcp-go-mssql --help
PackageDescription
github.com/microsoft/go-mssqldbOfficial Microsoft driver for SQL Server
golang.org/x/cryptoExtended cryptographic support
golang.org/x/textText processing
github.com/stretchr/testifyTesting framework