Labsco
MCP SERVER

Node MSSQL

by cwilby

Query a SQL Server database, read its tables and stored procedures, and wrap a sequence of statements in a transaction you can roll back.

Relational SQL DatabasesVerified
Summary
A multi-statement change becomes reversible from the same conversation that issued it.

start-transaction hands back an ID that commit-transaction and rollback-transaction take, which is what makes a sequence of writes something you can abandon rather than repair. The introspection surface is deliberately narrow — tables and stored procedures, by list or by name — enough to write a query against, not a schema browser. Everything runs as the account in DB_USERNAME, so that account's permissions are the real boundary on what any of it can do.

What it is

A SQL Server client with schema listing, stored-procedure lookup and explicit transaction control.

What you get
  • SQL statements executed against the configured database.
  • The full table list, and any single table by name.
  • The stored procedure list, and any single procedure by name.
  • Transactions you drive yourself: start one, then commit or roll it back by its transaction ID.
Requirements

A reachable SQL Server instance and five environment variables — DB_HOST, DB_PORT, DB_USERNAME, DB_PASSWORD and DB_DATABASE.

Setup effort

One command plus a key — npx -y mcp-node-mssql, then supply credentials