What runtime does the server require?
Node.js 18 or later and network access to a SQL Server instance.
@TerraCo89
Basic information
MCP server for Microsoft SQL Server - typed schema inspection and parameterized CRUD tools for LLM agents
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-server-mssql": {
"command": "python",
"args": [
"-m",
"venv",
"venv"
]
}
}
}List all user tables in the configured database
Column names, types, nullability, and defaults for a table
Read rows with optional column selection, WHERE filters, ORDER BY, and LIMIT
Insert one or more rows (column/value validated against schema)
Update rows matching a filter; returns affected count
Delete rows matching a filter; returns affected count
The MS SQL Server MCP Server is a Model Context Protocol server that gives LLM agents safe, structured access to Microsoft SQL Server. It provides schema inspection and row-level CRUD operations, with every query parameterized and logged for accountability.
Requires Node.js 18+ and network access to a SQL Server instance. Clone the repository, install dependencies, copy .env.example to .env and fill in database connection variables (MSSQL_HOST, MSSQL_USER, MSSQL_PASSWORD, MSSQL_DATABASE), then build with npm run build. Run with node dist/server.js and configure as an MCP server (stdio) in Claude Desktop or Claude Code.
list_tables, get_table_schema, read_table_rows, create_table_records, update_table_records, delete_table_recordslogs/ directoryNode.js 18 or later and network access to a SQL Server instance.
Set environment variables: `MSSQL_HOST`, `MSSQL_USER`, `MSSQL_PASSWORD`, `MSSQL_DATABASE`, and optionally `MSSQL_PORT` (default 1433), `MSSQL_ENCRYPT`, `MSSQL_TRUST_SERVER_CERTIFICATE`, and `LOG_LEVEL`.
No – it connects to a single database per server instance, configured via the `MSSQL_DATABASE` variable.
It uses stdio transport, suitable for MCP clients like Claude Desktop and Claude Code.
All queries are parameterized, and identifier names (table and column) are validated against the live schema before any statement runs. You should connect with a least‑privilege SQL login

Fund Momentum MCP Server — VC intelligence for AI assistants. 1000+ active VC funds, live investor signals, AI-powered startup matching.

Local database MCP server: your agent sees a migration's impact before it runs, for PostgreSQL, MySQL, SQL Server and SQLite, with no database credentials.

Oracle MCP server with no run-sql tool: It generates tools for each of the PL/SQL procedures, tables and approved SQL you choose. The server doesn't expose a SQL prompt, and can't reveal how it's connected to Oracle.
Zero-dependency, token-efficient database MCP server for Postgres, MySQL, SQL Server, MariaDB, SQLite.
A MCP (model context protocol) server that gives the LLM access to and knowledge about relational databases like SQLite, Postgresql, MySQL & MariaDB, Oracle, and MS-SQL.
Comments