MCP Servers

A collection of Model Context Protocol servers, templates, tools and more.

S
Simple MCP Mssql

Simple MCP server for MS SQL Server

Created 5/12/2025
Updated 10 months ago
Repository documentation and setup instructions

🧩 Simple MCP Server for MSSQL

A lightweight command-line tool for connecting to and querying Microsoft SQL Server (MSSQL) using the Model Context Protocol (MCP).

Use this tool to bridge your AI or context-aware systems with MSSQL databases quickly and securely.

🙌 Contributions are welcome!


🚀 Installation

Install globally via npm:

npm i -g simple-mcp-mssql

🛠️ Usage & Debugging

To inspect and debug your MCP server connection, use the official MCP Inspector:

npx @modelcontextprotocol/inspector simple-mcp-mssql \
  --password '<your-password>' \
  -d '<default-database>'

📘 Available Options

You can view all CLI options by running:

simple-mcp-mssql --help

| Option | Alias | Type | Required | Description | Default | | ------------ | ----- | ------ | -------- | ------------------------------ | ----------- | | --host | -h | string | No | Database host address | localhost | | --port | -p | number | No | Database port | 1433 | | --user | -u | string | No | Username for authentication | sa | | --password | -P | string | Yes | Password for the database user | (none) | | --database | -d | string | Yes | Default database to connect to | (none) |

💬 Feedback & Contributions

If you encounter issues, have suggestions, or want to contribute, feel free to open an issue or pull request.

📄 License

MIT © 2025 GhosT

Quick Setup
Installation guide for this server

Install Package (if required)

npx simple-mcp-mssql

Cursor configuration (mcp.json)

{ "mcpServers": { "cdtgr-simple-mcp-mssql": { "command": "npx", "args": [ "simple-mcp-mssql" ] } } }