TokenToSeaMCP Hub
中文 Console

MS SQL Server MCP Server

BYMCS

MCP server for Microsoft SQL Server — query, schema, and stored-procedure access for Claude Desktop, Cursor, Windsurf, and VS Code.

Setup

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

Add to CursorAdd to VS Code

claude mcp add ms-sql-server --env DB_SERVER='<DB_SERVER>' -- npx -y mssql-mcp@latest

Environment variables

  • DB_SERVER

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