SQL Server Express MCP 服务器
用于与 Microsoft SQL Server Express 交互的 MCP 服务器。支持 Windows 和 SQL Server 身份验证。
先决条件
Python 3.10 或更高版本
适用于 SQL Server 的 Microsoft ODBC 驱动程序 18
具有适当权限的 SQL Server 实例
安装
克隆此 repo
与 Claude Desktop 一起使用
添加到您的claude_desktop_config.json
:
身份验证选项
对于 Windows 身份验证:
设置
--auth windows
设置
--trusted-connection yes
对于 SQL Server 身份验证:
设置
--auth sql
添加
--username
和--password
特征
工具
get_allowed_databases
:获取允许访问的数据库列表read_query
:执行 SELECT 查询write_query
:执行 INSERT/UPDATE/DELETE 查询create_table
:创建新表list_tables
:列出数据库中的所有表describe_table
:显示表架构
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
促进与 Microsoft SQL Server Express 的交互,支持通过自然语言 MCP 命令进行查询、表管理和模式检查等数据库操作。
Related Resources
Related MCP Servers
- -securityFlicense-qualityA FastMCP server that provides natural language interaction with MS SQL databases, enabling users to query data, list tables, describe structures, and execute database operations through a conversational AI interface.Last updated -
- -securityAlicense-qualityA FastMCP-based server that enables executing Microsoft SQL Server data queries and table structure queries through a standardized MCP protocol interface.Last updated -3MIT License
- AsecurityAlicenseAqualityEnables interaction with Microsoft SQL Server databases through a Model Context Protocol interface, supporting database connections, switching between databases, and executing secure SELECT queries.Last updated -826MIT License
- -securityAlicense-qualityAn MCP (Model Context Protocol) server that exposes natural language to SQL functionality, allowing any MCP-compatible client to convert plain English questions into SQL queries for database interaction using AI.Last updated -1MIT License