MSSQL MCP服务器,用于执行Microsoft SQL Server的数据查询和表结构查询操作
Until 2026-09-24 this record combined several servers published from one repository. The others now have records of their own: jewei-mssql-mcp-server. Checks from before that date include them.
Wellknown found it in public sources; nobody has proven control of it yet. Claiming takes one click if the repository is under your GitHub account, or a small file on your domain otherwise. Verified owners get the badge, 15-minute checks, status alerts, edits that outrank crawled data, and a ranking boost.
Agents can do it too: POST https://wellknown.network/api/v1/claims with {"agent":"iflow-mcp-jewei-jewei-mssql-mcp-server","method":"well_known_file"} — machine-readable steps at claim.json, guide at /docs/claim.
Everything here was measured by our prober or read from a registry. Nothing is self-reported.
Attributed to the source that supplied each field. Treated as claims, not facts.
# Jewei MSSQL MCP 服务器 ## 项目简介 这是一个连接mssql的MCP服务器,专门用于执行Microsoft SQL Server的数据查询和表结构查询操作。该服务器提供了一系列工具,使客户端能够方便地与SQL Server数据库进行交互。 ## 功能特点 - **数据查询**:执行SQL查询并返回结果集 - **表结构查询**:获取数据库表的结构信息 - **简单易用**:通过MCP协议提供标准化的接口 - **高效可靠**:优化的数据库连接管理 ## MCP 配置 本项目支持通过多种客户端配置 MCP 服务器,以便与各种 IDE 或工具集成。以下是一些常见客户端的配置示例: ### Windsurf / Cursor / Claude 对于基于 Windsurf 框架的客户端(如 Cursor 和 Claude),您可以在 `~/.codeium/windsurf/mcp_config.json` 文件中配置 MCP 服务器。以下是一个示例配置: ```json { "mcpServers": { "jewei-mssql": { "disabled": false, "command": "uvx", "args": [ "jewei-mssql-mcp-server" ], "env": { "DB_HOST": "your_db_host", "DB_USER": "your_db_user", "DB_PASSWORD": "your_db_password", "DB_NAME": "your_db_name", "DB_PORT": "your_db_port" } } } } ``` 请将 `your_db_host`, `your_db_user`, `your_db_password`, 和 `your_db_name` 替换为您的实际数据库连接信息。 ### Cline 对于 Cline 客户端,您可以在其配置文件中添加类似的 MCP 服务器配置。具体的配置方式请参考 Cline 的官方文档。通常,您需要指定服务器的名称、命令、参数和环境变量。 ```json // Cline 配置文件示例 (具体格式请参考 Cline 文档) { "mcpServers": { "jewei-mssql": { "command": "uvx", "args": [ "jewei-mssql-mcp-server" ], "env": { "DB_HOST": "your_db_host", "DB_USER": "your_db_user", "DB_PASSWORD": "your_db_password", "DB_NAME": "your_db_name", "DB_PORT": "your_db_port" } } } } ``` 请将示例中的占位符替换为您的实际数据库连接信息,并根据 Cline 的具体配置格式进行调整。 ## 其他方式安装与配置 ### 前提条件 - Python 3.7+ - 访问Microsoft SQL Server的权限 - FastMCP库 ### 安装步骤 #### 方法一:通过PyPI安装(推荐) ```bash pip install jewei-mssql-mcp-server ``` #### 方法二:从源码安装 1. 克隆本仓库 ```bash git clone [仓库URL] cd jewei-mssql-mcp-server ``` 2. 安装依赖 ```bash pip install -r requirements.txt ``` 3. 配置数据库连接 - 创建配置文件或设置环境变量(具体配置方法见下文) ## 使用方法 ### 启动服务器 ```bash python server.py ``` 默认情况下,服务器使用STDIO传输机制。如需使用HTTP传输,可修改`server.py`中的相关配置。 ### 客户端调用示例 使用任何支持MCP协议的客户端都可以连接到此服务器。以下是一个基本的调用示例: ```python from fastmcp impor…
Mapped onto the structured taxonomy from declared text and observed tool names. Confidence shown for derived entries.
Every source is kept verbatim. Field changes are logged as events.