ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที เข้าสู่ระบบด้วย Google เพื่อเขียนรีวิวได้แล้วต้นแบบ · อัปเดตทุก 30 นาที
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · วิธีติดตั้งภาษาไทยทุกตัว เข้าสู่ระบบ

APoint MS SQL

โดย A-Point-Systems-ltdรุ่น 1.2.5i★ 1iรันบนเครื่องหน้า repo ↗
ชื่อใน registryio.github.A-Point-Systems-ltd/ms-sql-mcp

วิธีติดตั้ง

ใช้ทำอะไรได้

ยังไม่มีคำอธิบายภาษาไทย ดูข้อเท็จจริงด้านล่าง หรือเปิดคำอธิบายต้นฉบับจากผู้ทำ

  • ต่อแบบ ติดตั้งในเครื่อง
  • บัญชีหรือคีย์ ไม่ต้องใส่คีย์
  • หมวด ฐานข้อมูลและชุดข้อมูล
คำอธิบายต้นฉบับจากผู้ทำ (อังกฤษ)
Microsoft SQL Server for AI agents: schema introspection, safe queries and an AI Insights cache.

ใช้คู่กับ

Skill ที่สอน AI ทำงานแบบนี้ ใช้ร่วมกับตัวนี้ได้

timesfm

TimesFM เป็นโมเดลพื้นฐานสำหรับข้อมูลอนุกรมเวลาที่ผ่านการฝึกมาแล้ว พัฒนาโดย Google Research ใช้สำหรับพยากรณ์ข้อมูลอนุกรมเวลา

โดย google-research★ 35,6531 skill

Skill · คู่มือ

Shadowbroker

Open-source intelligence for the global theater. Track everything from the corporate/private jets of the wealthy, and spy satellites, to seismic events in one unified interface. Hook an AI agent up to have it parse through data and find previously unseen correlations. The knowledge is available to…

โดย BigBodyCobain★ 11,6151 skill

Skill · คู่มือ

google-maps-scraper

google-maps-scraper ใช้ดึงข้อมูลสถานที่จาก Google Maps เช่น ชื่อ ที่อยู่ เบอร์โทร เว็บไซต์ คะแนนรีวิว จำนวนรีวิว พิกัดละติจูดลองจิจูด และอีเมล สำหรับแต่ละสถานที่

โดย gosom★ 8,2961 skill

Skill · คู่มือ

ทำไมอยู่อันดับนี้

หน้ารายการเรียงด้วยคะแนนการใช้งาน (เต็ม 100) จากส่วนเหล่านี้

ความนิยม4/80ดาว GitHub หรือยอดดาวน์โหลดต่อสัปดาห์ ค่ามากนับ 60 ค่าน้อยนับ 20
ความสด12/12ออกรุ่นหรือแก้โค้ดใน 30 วัน ได้เต็ม
ระบบยังตอบ0/8endpoint บนคลาวด์ตอบตอนตรวจล่าสุด
คะแนนการใช้งาน16/100

คุณภาพ: ผลตรวจเบื้องต้นผ่าน 3/3 ข้อ (แสดงให้ดู ไม่ได้ใช้เรียง) · ความมาแรง: ยังไม่มีข้อมูล (ใช้เรียงเฉพาะแท็บมาแรง)

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ผลตรวจผ่าน 3/3 · ทำงานบนเครื่องคุณ

ขั้นแรก: คุณใช้ AI ตัวไหน

เลือกแอปที่คุณใช้ ขั้นตอนจะขึ้นด้านล่าง

ต่อกับ Claude ได้ แต่ต้องเตรียมก่อน

ไม่ต้องใช้คีย์ ไม่ต้องลงโปรแกรม · ใช้ได้เฉพาะแอป Claude บนคอม (Windows หรือ Mac) ไม่ใช่บนเว็บหรือมือถือ

  1. ดาวน์โหลดไฟล์ติดตั้งของผู้ทำ

    ดาวน์โหลดไฟล์ .mcpb ของผู้ทำ

    ไฟล์ .mcpb มาจากผู้ทำโดยตรง เราไม่ได้แก้ไฟล์

  2. ดับเบิลคลิกไฟล์ แล้วกด Install ในแอป Claude บนคอม

  3. ลองเลย

    ใช้ APoint MS SQL บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง

    ✓ ถ้า Claude บอกว่ากำลังใช้ APoint MS SQL หรือมีชื่อเครื่องมือของ APoint MS SQL ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Anthropic เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

ChatGPT ยังต่อ APoint MS SQL ไม่ได้

APoint MS SQL ต้องติดตั้งในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะตัวที่ทำงานบนเว็บ

คุณทำแบบนี้แทนได้

ก · ใช้แอปที่ต่อ APoint MS SQL ได้

  • ไม่ต้องใช้คีย์ ไม่ต้องลงโปรแกรม · ใช้ได้เฉพาะแอป Claude บนคอม (Windows หรือ Mac) ไม่ใช่บนเว็บหรือมือถือ

ข · ตัวอื่นในหมวด ฐานข้อมูลและชุดข้อมูล ที่ต่อกับ ChatGPT ได้

เลือกจากตัวที่ใช้มากในหมวดเดียวกัน เฉพาะตัวที่ต่อด้วยที่อยู่ได้โดยไม่ต้องใส่คีย์

Claude Code ยังต่อ APoint MS SQL ไม่ได้

ผู้ทำมีแต่ไฟล์ติดตั้งสำหรับแอป Claude บนคอม

คุณทำแบบนี้แทนได้

ก · ใช้แอปที่ต่อ APoint MS SQL ได้

  • ไม่ต้องใช้คีย์ ไม่ต้องลงโปรแกรม · ใช้ได้เฉพาะแอป Claude บนคอม (Windows หรือ Mac) ไม่ใช่บนเว็บหรือมือถือ

Cursor ยังต่อ APoint MS SQL ไม่ได้

ผู้ทำมีแต่ไฟล์ติดตั้งสำหรับแอป Claude บนคอม

คุณทำแบบนี้แทนได้

ก · ใช้แอปที่ต่อ APoint MS SQL ได้

  • ไม่ต้องใช้คีย์ ไม่ต้องลงโปรแกรม · ใช้ได้เฉพาะแอป Claude บนคอม (Windows หรือ Mac) ไม่ใช่บนเว็บหรือมือถือ

VS Code ยังต่อ APoint MS SQL ไม่ได้

ผู้ทำมีแต่ไฟล์ติดตั้งสำหรับแอป Claude บนคอม

คุณทำแบบนี้แทนได้

ก · ใช้แอปที่ต่อ APoint MS SQL ได้

  • ไม่ต้องใช้คีย์ ไม่ต้องลงโปรแกรม · ใช้ได้เฉพาะแอป Claude บนคอม (Windows หรือ Mac) ไม่ใช่บนเว็บหรือมือถือ

โปรแกรมอื่นที่ใช้ MCP ได้ เช่น Windsurf, Zed หรือ Gemini CLI มีวิธีเพิ่มต่างกัน ดูวิธีของแต่ละตัวในหน้ารวมโปรแกรม

ดูโปรแกรมที่ใช้ MCP ทั้งหมด →

ค่าตั้งแบบไฟล์ JSON อยู่ในหัวข้อ “สำหรับคนเขียนโค้ด” ด้านล่าง

ติดตรงไหน? ถามคนที่ใช้ APoint MS SQL อยู่💬 พูดคุย →

สรุป

ดาวน์โหลดต่อสัปดาห์i
ไม่มียอดใน npm/PyPI
การเชื่อมต่อ
รันบนเครื่อง
รุ่นล่าสุดi
1.2.5
ส่งเข้า registryi
22 พ.ย. 2569
แก้โค้ดล่าสุดi
22 พ.ย. 2569
ผู้ทำ
A-Point-Systems-ltd
แพ็กเกจ
mcpb: …/apoint-ms-sql-1.2.5.mcpb
สถานะใน registry
ใช้งานอยู่

ใช้กับโปรแกรมไหนได้

ดูจากแบบการต่อของ server ตัวนี้ และเอกสารของผู้ทำโปรแกรมแต่ละตัว ตรวจเมื่อ 10 พ.ย. 2569

ติดตั้งบนเครื่องได้ใน

ClaudeGooseLM StudioMsty StudioCherry StudioVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

ดูโปรแกรมทั้งหมดพร้อมข้อดีข้อเสีย →

คู่มือที่เกี่ยวข้อง

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 22 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub A-Point-Systems-ltd ซึ่งเป็นเจ้าของ repo

  • ✓ ผ่าน

    ยังมีคนดูแล

    มีการแก้โค้ดล่าสุด วันนี้

  • ✓ ผ่าน

    มีสัญญาอนุญาต (license)

    ใช้ MIT

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

ช่องโหว่ที่เปิดเผยแล้ว (OSV.dev)

ไม่ได้ตรวจ: ตรวจได้เฉพาะแพ็กเกจ npm และ PyPI ที่ระบุรุ่น

เราตรวจอะไรบ้าง → · JSON

ผู้ทำ: ขอให้ตรวจใหม่ หรือแจ้งข้อมูลผิด
สำหรับผู้ทำ: ติดป้ายใน README

ถ้าคุณเป็นผู้ทำตัวนี้ คัดลอกโค้ดนี้ไปวางใน README ได้เลย ป้ายลิงก์กลับมาที่หน้านี้

[![แนะนำบน PopNx MCP](https://mcp.popnx.com/badge/a-point-systems-ltd-ms-sql-mcp.svg?lang=th)](https://mcp.popnx.com/th/servers/a-point-systems-ltd-ms-sql-mcp)

พูดคุย

ถาม แชร์เคล็ดลับ หรือแจ้งว่าใช้ไม่ได้ เรียงตามที่คนกดว่ามีประโยชน์

ยังไม่มีใครโพสต์ ถามหรือแชร์เป็นคนแรกได้เลย

ข้อความในส่วนนี้เขียนโดยผู้ใช้ ไม่ใช่ทีม PopNx

เข้าสู่ระบบเพื่อโพสต์

รีวิวจากผู้ใช้

ยังไม่มีรีวิว

เข้าสู่ระบบเพื่อเขียนรีวิว

เทียบกับตัวอื่นในหมวด ฐานข้อมูลและชุดข้อมูลi

  • ดาวมากกว่า 78% ของอีก 1259 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 99% ของอีก 1259 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 99% ของอีก 1259 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

APoint MS SQL ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 3 จาก 3 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด วันนี้ และส่งรุ่นล่าสุด (1.2.5) เข้า registry วันนี้

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี MCPB ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Supabase, Neon, DBCode, Keboola MCP, WaveHouse Cloud

ตัวอื่นที่ทำงานคล้ายกัน

หมวดเดียวกันจากผู้ทำคนอื่น ผ่านตัวตรวจคำสั่งแล้ว ตัวทางการขึ้นก่อน แล้วเรียงตามดาว

อ่านการ์ด:↓ ดาวน์โหลดต่อสัปดาห์i★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Supabase

server ทางการของ Supabase ให้ AI สร้างตาราง ถามข้อมูล และดูการตั้งค่าโปรเจกต์ในฐานข้อมูล Supabase ของคุณ

โดย supabaseใช้กันมาก↓ 245.5K/สัปดาห์★ 3K ดาวรวมทั้งรีโปอัปเดต เมื่อวานซืน

บนเครื่องหรือคลาวด์✓ เจ้าของบริการ · supabase.com

Neon

Official Neon MCP server for managing Neon projects and Lakebase Postgres databases.

โดย neondatabaseกำลังโต★ 667อัปเดต 16 วันที่ผ่านมา

รันบนคลาวด์✓ เจ้าของบริการ · neon.com

DBCode

Query and explore 100+ databases through your DBCode connections.

โดย dbcodeioเริ่มต้น↓ 118/สัปดาห์★ 369 ดาวรวมทั้งรีโปอัปเดต 2 เดือนที่ผ่านมา

รันบนเครื่อง✓ เจ้าของบริการ · dbcode.io

Keboola MCP

Connect your AI assistants to Keboola and expose your data, transformations, SQL queries, ...

โดย keboolaกำลังโต↓ 1.4K/สัปดาห์★ 84อัปเดต 3 วันที่ผ่านมา

บนเครื่องหรือคลาวด์✓ เจ้าของบริการ · keboola.com

WaveHouse Cloud

Browse, query, and administer your managed WaveHouse + ClickHouse projects (schema, pipes, policy).

โดย Wave-RFเริ่มต้น★ 41อัปเดต เมื่อวาน

รันบนคลาวด์✓ เจ้าของบริการ · wavehouse.cloud
เทียบกับตัวที่คล้ายกัน
ตัวนี้
APoint MS SQL
SupabaseNeonDBCodeKeboola MCPWaveHouse Cloud
ทำงานที่ไหนต้องลงในเครื่องมีทั้งบนคลาวด์และแบบลงเครื่องใช้บนคลาวด์ ไม่ต้องลงเครื่องต้องลงในเครื่องมีทั้งบนคลาวด์และแบบลงเครื่องใช้บนคลาวด์ ไม่ต้องลงเครื่อง
ต้องใส่คีย์ไม่ใช่ไม่ไม่ไม่ไม่
กด + ใน Claude ได้ไม่ใช่ใช่ไม่ไม่ไม่
ผลตรวจเบื้องต้น3/35/55/52/35/54/4
สัญญาอนุญาตMITApache-2.0MITNOASSERTIONMITApache-2.0
ราคาไม่พบค่าใช้จ่ายในทะเบียนไม่พบค่าใช้จ่ายในทะเบียนไม่พบค่าใช้จ่ายในทะเบียนไม่พบค่าใช้จ่ายในทะเบียนไม่พบค่าใช้จ่ายในทะเบียนไม่พบค่าใช้จ่ายในทะเบียน

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

MSSQL MCP Server (.NET 10)

A Model Context Protocol (MCP) server for Microsoft SQL Server and Azure SQL Database. Built with the official MCP C# SDK (ModelContextProtocol 2.2.0) on .NET 10.

Forked from Azure-Samples/SQL-AI-samples and extended with unified object introspection, strict read/write SQL routing, and an optional AI Insights cache layer that helps LLM agents investigate databases with less repeated schema work.

It ships in three forms:

PackageForWhat you get
VS Code / Cursor extension (apoint.ms-sql-mcp)Developers working in VS Code or CursorBundled server for agent mode, connection form, object explorer, query windows, IntelliSense, and one-command registration with Cursor CLI, Claude Desktop and Claude Code
Claude Desktop extension (.mcpb)Claude Desktop users without VS CodeOne file install; connections are managed in a form inside the chat
Server executable (MssqlMcp.exe)Any other MCP client, servers, CIConfigure it yourself with environment variables

See Install.

Table of contents

  • Requirements
  • Install
  • Quick start (from source)
  • MCP client configuration
  • Environment variables
  • Multiple connections
  • MCP tools reference
  • AI Insights layer
  • Response shape
  • Build, publish, and test
  • Project layout
  • Security notes
  • Troubleshooting
  • License

Requirements

ComponentVersion
Operating systemWindows x64 (the packaged server is a win-x64 executable)
.NET SDK.NET 10.0, only to build from source. The VS Code extension, the .mcpb and publish-release.ps1 output are self-contained and need no .NET install.
SQL Server2008 R2 (10.50) or later
Azure SQL DatabaseSupported

Tested target versions include SQL Server 2008 R2 through 2022 and Azure SQL Database.

With a single CONNECTION_STRING (legacy mode) the server validates it and opens a test connection before starting the MCP transport. If either check fails, the process exits with code 1 and writes diagnostics to the log file. With several connections, startup behaves differently; see Multiple connections.

Install

Option 1: VS Code / Cursor extension
  1. Install APoint-ms-sql (ID apoint.ms-sql-mcp). Use one of these sources:
  • VS Code: the Extensions view (Ctrl+Shift+X); the extension is on the Visual Studio Marketplace.
  • Cursor: its Extensions view; the extension is on Open VSX.
  • Offline or pinned version: download ms-sql-mcp-win32-x64- .vsix from the repository's GitHub releases (tag ext-v ). Then run Extensions: Install from VSIX... from the Command Palette, or: powershell code --install-extension ms-sql-mcp-win32-x64- .vsix For Cursor, use cursor --install-extension.
  1. Open the APoint-ms-sql view in the activity bar and click Add connection. Fill in the form, click Test connection, then Save. Passwords stay in VS Code SecretStorage.
  2. Agents: VS Code agent mode and Cursor get the MCP server automatically for every open connection. Nothing else to configure.
  3. Optional: to use the same connections from Cursor CLI, Claude Desktop or Claude Code, run Register with Cursor / Claude... from the view's title bar and restart those clients. For Claude Desktop this also turns on the connection manager.

The extension's own documentation covers the explorer, query windows and settings: vscode-extension/README.md.

Option 2: Claude Desktop extension (.mcpb)
  1. Download apoint-ms-sql- .mcpb from the repository's GitHub releases (tag ext-v , 1.0.10 and later), or build it with .\packaging\mcpb\build-mcpb.ps1 (see Package the Claude Desktop extension).
  2. Install it: double-click the file, or open Claude Desktop Settings > Extensions and drag the file in. Then confirm the install.
  3. Optional: the extension's settings have three switches, all on by default:
  • AI Insights layer (USE_INSIGHTS_LAYER).
  • Compact row results (TOON) (MSSQL_TOON): turn off to return JSON rows by default.
  • Connection manager: require MCP Apps support (MSSQL_APPS_REQUIRE_UI_CAPABILITY): turn off only if the connection manager form opens but its buttons fail (the server log then has a Warning naming the client).
  1. In a chat, ask Claude to "manage connections". A form opens in the chat:
  • Click Add connection, fill it in, then Test connection and Save.
  • The connection is usable in the next message, without restarting Claude.
  • Connections are read-only by default. SQL-login passwords are stored encrypted for your Windows account, and Claude never sees them.

Connections are saved in %APPDATA%\APoint-ms-sql\connections.json. The VS Code extension's Claude Desktop registration uses the same file. Use either the .mcpb or the VS Code registration for Claude Desktop, not both: with both, Claude lists the server twice.

To uninstall, use Settings > Extensions in Claude Desktop. The connections file stays; delete it if you no longer need it.

Option 3: Server executable with any MCP client
  1. Get MssqlMcp.exe. Build it with .\publish-release.ps1 (Publish single-file executable), or build from source (Quick start).
  2. Add it to your client's MCP configuration with CONNECTION_STRING, MSSQL_CONNECTIONS or MSSQL_CONNECTIONS_FILE. See MCP client configuration and Multiple connections.
  3. Optional: to get the connection manager form in hosts that support MCP Apps (such as Claude Desktop), add MSSQL_MANAGED_CONNECTIONS_FILE.

Quick start (from source)

# Clone and build

cd MssqlMcp dotnet build

Run unit tests (no live DB required for most tests)

cd .. dotnet test

Point your MCP client at the built executable:

MssqlMcp\bin\Debug\net10.0\MssqlMcp.exe

Set CONNECTION_STRING (or MSSQL_CONNECTIONS, see Multiple connections) in the MCP server environment (see sample_mcp.json for a template).

First prompt to try: “List tables in the database” (the agent should call list_objects with objectType=Table).

MCP client configuration

Cursor

Add a project-level or user-level MCP config. Example (adjust paths and connection string):

{

"mcpServers": { "MSSQL-MCP": { "type": "stdio", "command": "C:\\Development\\MCPs\\MS-SQL\\MssqlMcp\\bin\\Debug\\net10.0\\MssqlMcp.exe", "env": { "CONNECTION_STRING": "Server=.;Database=MyDb;Trusted_Connection=True;TrustServerCertificate=True", "USE_INSIGHTS_LAYER": "true", "INSIGHTS_AUTOPOPULATE": "true", "LOG_FILE_PATH": "C:\\Logs\\mssql-mcp.log" } } } }

Restart the MCP server after changing environment variables.

VS Code (GitHub Copilot Agent)

Open Settings (JSON) and add under mcp.servers:

"mcp": {

"servers": { "MSSQL MCP": { "type": "stdio", "command": "C:\\path\\to\\MssqlMcp.exe", "env": { "CONNECTION_STRING": "Server=.;Database=test;Trusted_Connection=True;TrustServerCertificate=True" } } } }

Claude Desktop

Edit claude_desktop_config.json:

{

"mcpServers": { "MSSQL MCP": { "command": "C:\\path\\to\\MssqlMcp.exe", "env": { "CONNECTION_STRING": "Server=.;Database=test;Trusted_Connection=True;TrustServerCertificate=True" } } } }

Azure SQL (Entra ID interactive)
"CONNECTION_STRING": "Server=tcp:<server>.database.windows.net,1433;Initial Catalog=<database>;Encrypt=Mandatory;TrustServerCertificate=False;Connection Timeout=30;Authentication=Active Directory Interactive"
Production-style single-file publish
.\publish-release.ps1

This produces a self-contained MssqlMcp.exe (default output: C:\Development\MCPs\MS-SQL-Release\). Point MCP clients at that executable instead of the Debug build.

Environment variables

VariableRequiredDefaultDescription
CONNECTION_STRINGOne of the three connection variables—ADO.NET connection string for a single database (legacy mode, profile name default). Validated at startup; the process exits with code 1 if it cannot connect.
MSSQL_CONNECTIONSOne of the three connection variables—JSON array of named connections. See Multiple connections.
MSSQL_CONNECTIONS_FILEOne of the three connection variables—Path to a file holding the same JSON array.
MSSQL_MANAGED_CONNECTIONS_FILENo—Path of a file the server itself reads and writes: the connections the user adds, edits and removes in the connection manager view (MCP Apps, e.g. Claude Desktop). It may not exist yet; with it set the server also starts with no connection. %VAR% is expanded. See Connection manager.
MSSQL_ALLOW_ADHOC_CONNECTIONSNodisabledSet to true to let open_connection register new connections from a raw connection string at runtime.
MSSQL_ADHOC_ALLOW_INTEGRATED_AUTHNodisabledSet to true to allow ad-hoc connections that use Integrated Security / Trusted_Connection or any Authentication=Active Directory* method (they send the server's own identity to the target host).
MSSQL_ADHOC_ALLOW_WRITENodisabledSet to true to allow open_connection with readOnly=false. Without it, writable ad-hoc connections are refused.
MSSQL_ADHOC_ALLOWED_HOSTSNoany hostComma-separated host names. When set, ad-hoc connections are refused unless the host part of Data Source (without tcp:, instance or port) matches one of them, case-insensitively.
USE_INSIGHTS_LAYERNoenabledOpt-out switch. Set to false, 0, no, off, or disabled to disable the AI Insights layer. Any other value (including unset) leaves it enabled.
INSIGHTS_AUTOPOPULATENoenabledOpt-out. When enabled (and insights layer is on), introspection auto-creates mechanical baseline insights and attaches enrichment directives. Set to a falsey value to disable auto-population only.
MSSQL_SCRIPT_RUNNERNodisabledSet to true to register the extension-only run_script, ddl_history and language_service tools. For the VS Code extension's private runner process only; do not enable it for agent clients. See Script runner (extension only), DDL history (extension only) and IntelliSense (extension only).

| `

ตัดมาแค่ช่วงต้น อ่านต่อใน repo