Simple and efficient MCP server for SQL Server database access and filesystem operations
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":"mcp-sqlserver-filesystem","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.
# MCP SQL Server Filesystem [English](README_EN.md) | 中文 一个简洁高效的 MCP (Model Context Protocol) 服务器,提供 SQL Server 数据库访问和文件系统操作功能。 ## ✨ 主要特性 ### 🗄️ 数据库功能 - **SQL 查询执行** - 支持 SELECT 查询 - **SQL 命令执行** - 支持 INSERT/UPDATE/DELETE 操作 - **表结构查询** - 获取表的详细结构信息和字段描述 - **表列表** - 列出数据库中的所有表 ### 📁 文件系统功能 - **文件读取** - 读取文件内容 - **文件写入** - 写入内容到文件 - **目录列表** - 列出目录内容 ### 🔒 安全特性 - SQL 注入防护 - 文件系统访问控制 - 环境变量配置 - 权限验证 ## 🚀 快速开始 ### 📋 前置要求 #### 1. 安装 ODBC Driver for SQL Server **Windows:** ```bash # 下载并安装 Microsoft ODBC Driver 17 for SQL Server # 访问: https://docs.microsoft.com/en-us/sql/connect/odbc/download-odbc-driver-for-sql-server # 或使用 winget 安装 winget install Microsoft.ODBCDriverforSQLServer ``` **macOS:** ```bash # 使用 Homebrew 安装 brew tap microsoft/mssql-release https://github.com/Microsoft/homebrew-mssql-release brew update brew install msodbcsql17 mssql-tools ``` **Linux (Ubuntu/Debian):** ```bash # 添加 Microsoft 仓库 curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add - curl https://packages.microsoft.com/config/ubuntu/20.04/prod.list | sudo tee /etc/apt/sources.list.d/msprod.list # 安装驱动 sudo apt-get update sudo apt-get install msodbcsql17 ``` #### 2. 验证 ODBC 安装 ```bash # Windows odbcad32.exe # macOS/Linux odbcinst -j ``` ### 📦 零安装使用(推荐) ```bash # 安装 uv(如果尚未安装) pip install uv # 直接运行 - 无需克隆仓库! uvx mcp-sqlserver-filesystem@latest ``` ### 🔧 配置 在你的 MCP 客户端(如 Claude Desktop、AugmentCode)中添加以下配置: ```json { "mcpServers": { "mcp-sqlserver-filesystem": { "command": "uvx", "args": ["mcp-sqlserver-filesystem@latest"], "env": { "DB_SERVER": "localhost", "DB_DATABASE": "your_database", "DB_USERNAME": "your_username", "DB_PASSWORD": "your_password", "DB_USE_WINDOWS_AUTH": "false", "DB_TRUST_SERVER_CERTIFICATE": "true", "DB_ENCRYPT": "false", "FS_ALLOWED_PATHS": "*", "FS_ALLOWED_EXTENSIONS": "*.*", "FS_IGNORE_FILE_LOCKS": "true" } } …
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.