Prototype · Preview: every server in the official registry, synced every 30 minutes. Reviews and accounts come in a later step.
PopNx MCPMCP servers for people who use AI · explained in plain words

SQL Server MCP (macOS)

by TharanaBopeversion 1.0.4i★ –iRuns on your computer
Registry nameio.github.TharanaBope/sql-server-mcp-macos

Install

Overview

Description from the maker (original English)

SQL Server MCP with RAG capabilities for macOS (Docker SQL Server support)

PopNx MCP’s three pillars

These three are never merged into one score: opinions, measurements and popularity are different things.

What you can do with it

We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.

  • Connection: Runs on your computer
  • Transport: stdio
  • Category: Databases & datasets

Install

Pick the AI app you use, then copy the settings.

Before you install

  • Basic checks: 1 of 1 passed
  • Runs on your computer with your user’s permissions (files, network, apps).
  • The registry lists no key to fill in.

You need

  • npmNode.js installed (for the npx command)

Which app do you use?

Pick your app above. We remember it, so next time the button says “Install in …”.

Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json

{
  "mcpServers": {
    "sql-server-macos": {
      "command": "npx",
      "args": [
        "-y",
        "@tharanabopearachchi/sql-server-mcp-macos"
      ]
    }
  }
}

Run this in your terminal

claude mcp add sql-server-macos -- npx -y @tharanabopearachchi/sql-server-mcp-macos

Open in Cursor

Or copy the settings yourself

Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json

{
  "mcpServers": {
    "sql-server-macos": {
      "command": "npx",
      "args": [
        "-y",
        "@tharanabopearachchi/sql-server-mcp-macos"
      ]
    }
  }
}

Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.

Open in VS Code

Or copy the settings yourself

Paste into .vscode/mcp.json in your project

{
  "servers": {
    "sql-server-macos": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@tharanabopearachchi/sql-server-mcp-macos"
      ]
    }
  }
}

Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.

This one runs on your computer, and ChatGPT can only connect to servers on the internet. Pick another app.

Your choice stays on this device in a cookie; no account needed.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 6, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account TharanaBope, which owns the repo

  • … Not checked yet

    Still maintained

    We have not read this repo from GitHub yet

  • … Not checked yet

    Has a licence

    We have not read this repo from GitHub yet

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Compared with others in Databases & datasetsi

  • More stars than 0% of the other 953 servers in this category
  • Published to the registry more recently than 10% of the other 953 servers in this category
  • Basic checks equal to or better than 100% of the other 953 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is SQL Server MCP (macOS) safe?

It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed –, and the latest version (1.0.4) reached the registry 7 months ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: Supabase, MongoDB MCP Server, Elasticsearch MCP Server

Alternatives

Servers in the same category from other makers, sorted by stars.

Reading a card:★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

Supabase

by supabase

Supabase’s official server lets AI create tables, query data and review project settings in your Supabase database.

Computer or cloud★ 2,993Apache-2.0Updated yesterday
Install

MongoDB MCP Server

by mongodb-js

MongoDB Model Context Protocol Server

Runs on your computer★ 1,157Apache-2.0Updated 2 days ago
Install

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

SQL Server MCP - Cross-Platform Database Integration for AI

A Model Context Protocol (MCP) server implementation for SQL Server that enables AI assistants to explore and query SQL Server databases through natural language. Built as a RAG (Retrieval-Augmented Generation) system optimized for database knowledge exploration.

🌟 Features

  • 🔍 Schema Exploration - List databases, tables, views, stored procedures
  • 🔗 Relationship Mapping - Discover foreign key relationships and table dependencies
  • 🔎 Search & Discovery - Global schema search across tables, columns, procedures
  • ⚡ Safe Query Execution - Read-only SELECT queries with automatic timeouts and row limits
  • 🗄️ Schema Caching - Fast retrieval with configurable TTL (default: 60 minutes)
  • 🔐 Security First - Read-only by default, SQL injection prevention, query validation
  • 🖥️ Cross-Platform - Native Windows Authentication & macOS Docker support

🎥 Demo

See SQL Server MCP in action with AI assistant integration:

Note: Watch how natural language queries instantly explore database schemas, find relationships, and retrieve data - all without leaving your AI assistant!

🚀 Quick Start

This repository contains two platform-specific implementations:

Windows Version → sql-server-mcp/
  • ✅ Windows Authentication (ODBC Driver 17)
  • ✅ SQL Server Authentication
  • ✅ Native msnodesqlv8 driver for optimal performance
  • 📖 Windows Setup Guide
macOS Version → sql-server-mcp-mac/
  • ✅ SQL Server Authentication (Docker required)
  • ✅ Pure JavaScript mssql driver (no native dependencies)
  • 📖 macOS Setup Guide

📦 Installation

🎉 Now Available on MCP Registry!

This server is officially published in the Model Context Protocol Registry:

  • Windows: io.github.TharanaBope/sql-server-mcp
  • macOS: io.github.TharanaBope/sql-server-mcp-macos
🚀 Quick Start (Recommended)

No installation needed! Just add to your AI assistant's configuration:

Claude Desktop (Windows)

Config Location: %APPDATA%\Claude\claude_desktop_config.json

{

"mcpServers": { "sql-server": { "command": "npx", "args": ["-y", "@tharanabopearachchi/sql-server-mcp@latest"], "env": { "SQL_SERVER": "localhost", "SQL_DATABASE": "master", "SQL_USE_WINDOWS_AUTH": "true" } } } }

Claude Desktop (macOS)

Config Location: ~/Library/Application Support/Claude/claude_desktop_config.json

{

"mcpServers": { "sql-server": { "command": "npx", "args": ["-y", "@tharanabopearachchi/sql-server-mcp-macos@latest"], "env": { "SQL_SERVER": "localhost", "SQL_DATABASE": "master", "SQL_USE_WINDOWS_AUTH": "false", "SQL_USERNAME": "sa", "SQL_PASSWORD": "your_password" } } } }

LM Studio Configuration

Config Location: Varies by platform

  • Windows: %USERPROFILE%\.lmstudio\config.json
  • macOS: ~/.lmstudio/config.json
{

"mcpServers": { "sql-server": { "command": "npx", "args": ["-y", "@tharanabopearachchi/sql-server-mcp@latest"], "env": { "SQL_SERVER": "localhost", "SQL_DATABASE": "master", "SQL_USE_WINDOWS_AUTH": "true", "SQL_USERNAME": "", "SQL_PASSWORD": "" } } } }

VS Code with Continue Extension

Config Location: ~/.continue/config.json

{

"experimental": { "modelContextProtocolServers": [ { "transport": { "type": "stdio", "command": "npx", "args": ["-y", "@tharanabopearachchi/sql-server-mcp@latest"] }, "env": { "SQL_SERVER": "localhost", "SQL_DATABASE": "master", "SQL_USE_WINDOWS_AUTH": "true" } } ] } }

Cursor IDE

Config Location: Cursor Settings → Features → Model Context Protocol

{

"mcpServers": { "sql-server": { "command": "npx", "args": ["-y", "@tharanabopearachchi/sql-server-mcp@latest"], "env": { "SQL_SERVER": "localhost", "SQL_DATABASE": "master", "SQL_USE_WINDOWS_AUTH": "true" } } } }

Cline (VS Code Extension)

Config Location: VS Code Settings → Cline → MCP Settings

{

"mcpServers": { "sql-server": { "command": "npx", "args": ["-y", "@tharanabopearachchi/sql-server-mcp@latest"], "env": { "SQL_SERVER": "localhost", "SQL_DATABASE": "master", "SQL_USE_WINDOWS_AUTH": "true" } } } }

Restart your AI assistant and you're ready to go!

🛠️ Development Setup

For development or local modifications:

Windows
cd sql-server-mcp

npm install npm run build

👉 **[Complete Windows Setup Instructions](./sql-server-mcp/README.md)**
macOS
cd sql-server-mcp-mac

npm install npm run build

👉 **[Complete macOS Setup Instructions](./sql-server-mcp-mac/README.md)**

🛠️ Available MCP Tools

The server provides 12 powerful tools for database exploration:

Schema Exploration
  • list_databases - Discover all available databases
  • list_tables - View tables with row counts
  • describe_table - Get detailed schema (columns, types, constraints, indexes)
  • list_views - List all views
  • list_stored_procedures - List stored procedures with metadata
  • get_procedure_definition - Get full SQL definition
  • get_database_overview - High-level statistics
Relationship Mapping
  • get_table_relationships - Get foreign key relationships (incoming & outgoing)
  • get_related_tables - Find directly connected tables
Search & Discovery
  • search_schema - Search across tables, columns, views, procedures
  • find_column_usage - Find all tables containing a specific column
Query Execution
  • execute_query - Execute read-only SELECT queries safely

💬 Example Usage

Once configured, you can ask your AI assistant:

"What databases are available on this server?"

"Show me all tables in the Sales database"

"What's the schema of the Orders table?"

"Find all tables that reference the Customers table"

"Search for any columns related to 'email'"

"Execute: SELECT TOP 10 * FROM Products ORDER BY Price DESC"

⚙️ Configuration

Both versions use environment variables for configuration:

SQL_SERVER=localhost

SQL_DATABASE=master SQL_PORT=1433 SQL_USE_WINDOWS_AUTH=true # Windows only SQL_USERNAME= # For SQL Auth SQL_PASSWORD= # For SQL Auth QUERY_TIMEOUT=30 MAX_RESULT_ROWS=1000 ENABLE_SCHEMA_CACHE=true CACHE_TTL_MINUTES=60

See platform-specific READMEs for detailed configuration instructions.

🔐 Security Features

  • ✅ Read-only by default - Write operations disabled unless explicitly enabled
  • ✅ Query validation - Only SELECT statements allowed by default
  • ✅ Automatic timeouts - Prevents long-running queries
  • ✅ Row limits - Prevents memory exhaustion
  • ✅ SQL injection prevention - Query sanitization and validation
  • ✅ Database whitelisting - Optional restriction to specific databases

🏗️ Architecture

MCP/

├── sql-server-mcp/ # Windows implementation │ ├── src/ │ │ ├── index.ts # MCP server entry point │ │ ├── database/ # Connection, caching, queries │ │ ├── tools/ # 12 MCP tools │ │ └── types/ # TypeScript interfaces │ ├── dist/ # Compiled output │ ├── package.json │ └── README.md # Windows documentation │ ├── sql-server-mcp-mac/ # macOS implementation │ ├── src/ # Same structure as Windows │ └── README.md # macOS documentation │ ├── LICENSE # MIT License └── README.md # This file

🎯 Use Cases

Database Exploration
  • "What tables exist in this database?"
  • "Show me the structure of the Users table"
  • "List all stored procedures"
Schema Research
  • "Find all tables with an 'email' column"
  • "Search for anything related to 'invoice'"
  • "What views are available?"
Relationship Analysis
  • "How are Orders and Customers related?"
  • "Show me all tables that reference Products"
  • "What are the foreign key relationships for this table?"
Data Queries
  • "Get the top 10 most expensive products"
  • "Show me recent orders"
  • "What's the total count of records in each table?"

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

🙏 Acknowledgments

📚 Resources

  • Windows Setup Guide: sql-server-mcp/README.md
  • macOS Setup Guide: sql-server-mcp-mac/README.md
  • Troubleshooting: Check platform-specific TROUBLESHOOTING.md files
  • MCP Documentation: https://github.com/modelcontextprotocol
  • Report Issues: https://github.com/TharanaBope/SQL-MCP-Mac-Windows/issues

🌐 Platform-Specific Documentation

PlatformDirectoryKey Features
Windowssql-server-mcp/Windows Auth, ODBC Driver, Native performance
macOSsql-server-mcp-mac/Docker SQL Server, Pure JS, No native deps

Made with ❤️ for the MCP community

⭐ Star this repo if you find it useful! 🐛 Report bugs via Issues 💬 Questions? Check the Discussions

Ask PopNx