Requires the runtime declared in the upstream repo — check the README before running. Claude Code persists MCP servers via its CLI — no config file to edit, just run the command below once. Paste the config below, then follow the reload step to register Microsoft SQL Server MCP.
Run the command below in your terminal — Claude Code persists it for you.claude mcp add mssql --env MSSQL_SERVER=localhost --env MSSQL_USER=your_user --env MSSQL_PASSWORD=your_password --env MSSQL_DATABASE=your_database --env MSSQL_TRUST_SERVER_CERTIFICATE=true -- node /absolute/path/to/mssql-mcp/dist/index.js