Used for data validation and settings management in the MSSQL MCP server implementation
Powers the MSSQL MCP server implementation, allowing for database operations and business intelligence capabilities
MSSQL MCP Server
Overview
MSSQL MCP Server, provides database interaction and business intelligence capabilities. This server enables running SQL queries, analyzing business data, and automatically generating business insight memos.
Refer to the official website's SQLite for modifications to adapt to MSSQL
Related MCP server: MSSQL MCP Server
Components
read_queryExecute SELECT queries to read data from the database
write_queryExecute INSERT, UPDATE, or DELETE queries
create_tableCreate new tables in the database
list_tablesGet a list of all tables in the database
describe-tableView schema information for a specific table
append_insightAdd new business insights to the memo resource
Demo
The database table is as follows. The column names are not standardized, and AI will match them on its own. Errors during SQL execution will self correct.

The following is the demo.

Operating environment
Python 3.xPackagespyodbc>=4.0.39
pydantic>=2.0.0
mcp>=0.1.0
ODBC Driver 17 for SQL Server
Usage
Install packages
config
Claude Desktop 、 Windsurf
Cursor

Note:The new version of cursor has also been changed to JSON configuration, please refer to the previous section
MCP Inspector
Project Structure
License
MIT License