
Security News
/Research
Fake Corepack Site Distributes Infostealer and Proxyware to Developers
A fake corepack.org site is impersonating the Node.js tool and delivers an infostealer and proxyware to developers who download it.
@atom8n/mcp-mssql
Advanced tools
An MCP server that exposes a single execute_sql tool for running parameterless SQL statements against Microsoft SQL Server using the native msnodesqlv8 driver. It is intended for MCP-compatible clients that need direct database access over stdio without exposing credentials in logs.
msnodesqlv8 and ensures an explicit driver prefix on every connection string.MSSQL_CONNECTION_STRING or an override supplied with each request.rowsAffected counts and all recordsets from the query for easy downstream parsing.npm install @atom8n/mcp-mssql
Add the following configuration to your MCP client:
{
"mcp-mssql": {
"command": "npx",
"args": [
"@atom8n/mcp-mssql"
]
}
}
Execute a SQL statement against Microsoft SQL Server.
Parameters:
query (required): T-SQL command text to execute.connectionString (optional): Overrides the MSSQL_CONNECTION_STRING environment variable for this call.The tool automatically injects Driver={SQL Server Native Client 11.0} when the provided connection string omits a driver segment, so both DSN-style and bare connection strings work out of the box.
{
"tool": "execute_sql",
"arguments": {
"query": "SELECT TOP (5) name FROM sys.databases ORDER BY name"
}
}
{
"tool": "execute_sql",
"arguments": {
"query": "EXEC dbo.RefreshMaterializedView @name = 'daily_snapshot'",
"connectionString": "Server=sql.internal;Database=Ops;Trusted_Connection=yes;"
}
}
Requests return JSON text via MCP content with the following shape:
{
"rowsAffected": [123],
"recordsets": [
[
{ "name": "master" },
{ "name": "model" }
]
]
}
# Clone the repository
git clone <repository-url>
cd mcp-mssql
# Install dependencies
npm install
# Build the project
npm run prepare
├── src/
│ ├── index.mts # MCP server implementation
│ └── execute_sql.test.mts # Ad-hoc SQL runner for local verification
├── lib/
│ ├── index.mjs # Compiled JavaScript
│ ├── index.mjs.map # Source map
│ └── index.d.mts # TypeScript declarations
├── package.json # Package configuration
├── tsconfig.json # TypeScript configuration
└── eslint.config.mjs # ESLint configuration
The project uses TypeScript with the following build configuration:
lib/ directoryprepare: Compiles TypeScript and makes the binary executableinspect: Launches the MCP inspector against the compiled servertest:sql: Runs src/execute_sql.test.mts with ts-node for manual checks@modelcontextprotocol/sdk: MCP server frameworkdotenv: Environment variable loadermsnodesqlv8: Native SQL Server driverrimraf: File system utilitiesspawn-rx: Process spawning utilities@types/node: Node.js type definitionsshx: Shell utilities for cross-platform compatibilityts-node: TypeScript executiontypescript: TypeScript compilerMIT License - see COPYING file for details.
Please read CODE_OF_CONDUCT.md for our code of conduct and contribution guidelines.
Current version: 1.0.0
For issues and feature requests, please use the project's issue tracker.
FAQs
An MCP server for executing queries against Microsoft SQL Server
The npm package @atom8n/mcp-mssql receives a total of 2 weekly downloads. As such, @atom8n/mcp-mssql popularity was classified as not popular.
We found that @atom8n/mcp-mssql demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
/Research
A fake corepack.org site is impersonating the Node.js tool and delivers an infostealer and proxyware to developers who download it.

Research
/Security News
A large-scale campaign abused GitHub Actions in compromised repositories to exploit CVE-2026-41940 in cPanel and WHM and steal server credentials.

Security News
Five frontier LLMs generated the same nonexistent package names, leaving 53 available for potential slopsquatting across PyPI and npm.