TokenToSeaMCP Hub
中文 Console

MSSQL MCP Server

JexinSam

Secure interaction with Microsoft SQL Server: list tables, read data and run SQL queries with controlled access.

Setup

Choose your client, copy the config, then fill in any required environment variables.

Add to CursorAdd to VS Code

claude mcp add mssql-server-jexinsam --env MSSQL_DATABASE='<MSSQL_DATABASE>' --env MSSQL_DRIVER='<MSSQL_DRIVER>' --env MSSQL_HOST='<MSSQL_HOST>' --env MSSQL_PASSWORD='<MSSQL_PASSWORD>' --env MSSQL_USER='<MSSQL_USER>' -- python -m mssql_mcp_server

Environment variables

  • MSSQL_DATABASE
  • MSSQL_DRIVER
  • MSSQL_HOST
  • MSSQL_PASSWORD
  • MSSQL_USER

Replace the placeholders with your own credentials and keep them out of version control.