MCP Servers

模型上下文协议服务器、框架、SDK 和模板的综合目录。

S
Simple MCP Mssql
作者 @CdTgr

Simple MCP server for MS SQL Server

创建于 5/12/2025
更新于 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

快速设置
此服务器的安装指南

安装包 (如果需要)

npx simple-mcp-mssql

Cursor 配置 (mcp.json)

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