Connector guide2-minute read5 MCP toolsEN · DE · IT

Как подключить Microsoft SQL Server к ChatGPT — через MCP

Query a Microsoft SQL Server database directly: list tables, describe columns and run read-only T-SQL. Supports SQL Server and Windows (NTLM) authentication. Installs read-only.

HCBy HelpCode teamОбновлено 2 min read Открытый код на GitHub

Без банковской карты · 7 дней пробного периода · Есть вариант self-host

Microsoft SQL Server

Microsoft SQL Server

Query a Microsoft SQL Server database directly: list tables, describe columns and run read-only T-SQL. Supports SQL Server and Windows (NTLM) authentication. Installs read-only.

инструментов

5

Регион

INTL

Категория

Databases

Аутентификация

Connection string

Требуемые env-vars

MSSQL_HOSTMSSQL_PORTMSSQL_DATABASEMSSQL_USERMSSQL_PASSWORD
Установить в Cloud одним кликом

7 дней бесплатно · Без карты

  • 7 дней бесплатно
    Без банковской карты
  • GDPR & SOC 2 ready
    Данные в ЕС, журналы аудита
  • Открытый код на GitHub
    Open source · AGPL-3.0
  • Работает с ChatGPT, Claude, Gemini
    Любой MCP-совместимый клиент

Пропустите установку. Заработает меньше чем за 2 минуты.

Начните бесплатный период на cloud.anythingmcp.com, добавьте Microsoft SQL Server одним кликом и направьте свой ИИ-клиент (Claude, ChatGPT, Copilot или Cursor) на сгенерированный MCP-эндпоинт. Без Docker, без git clone, без опыта разработки.

Начать бесплатный период

Summary

Query a Microsoft SQL Server database directly: list tables, describe columns and run read-only T-SQL. Supports SQL Server and Windows (NTLM) authentication. Installs read-only.

Попробуй спросить

Примеры промптов для Microsoft SQL Server

Кликни по промпту — он скопируется. Вставь в Claude, ChatGPT, Cursor, Gemini, Copilot или OpenClaw и запусти через этот коннектор.

Microsoft SQL Server · live via MCP
Поделиться
Opus 4.7

Claude — это AI, он может ошибаться. Проверяйте ответы.

💡 Без установки? Используйте cloud.anythingmcp.com напрямую. Войдите, нажмите Connectors → Microsoft SQL Server, вставьте учётные данные, создайте MCP API key — готово. Без Docker, без git clone, без локального сервера.

Microsoft SQL Server + ChatGPT

Query a Microsoft SQL Server database directly: list tables, describe columns and run read-only T-SQL. Supports SQL Server and Windows (NTLM) authentication. Installs read-only.

Предварительные требования

Полные инструкции по настройке встроены в коннектор (видны в магазине при выборе коннектора). Требуемые переменные окружения:

MSSQL_HOST, MSSQL_PORT, MSSQL_DATABASE, MSSQL_USER, MSSQL_PASSWORD

Шаг 1 — Получите учётные данные

Setup

  1. Create a login and a database user with only db_datareader:
    CREATE LOGIN amcp_reader WITH PASSWORD = 'change-me';
    USE sales;
    CREATE USER amcp_reader FOR LOGIN amcp_reader;
    ALTER ROLE db_datareader ADD MEMBER amcp_reader;
    
  2. Set MSSQL_HOST, MSSQL_PORT (1433), MSSQL_DATABASE, MSSQL_USER and MSSQL_PASSWORD.

Windows authentication: set MSSQL_DOMAIN as well and the engine switches to NTLM instead of SQL Server auth. Leave it blank for a SQL login.

…(continued in the in-app connector instructions)

Шаг 2 — Установите адаптер

curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d

Шаг 3 — Добавьте коннектор в ChatGPT

ChatGPT поддерживает MCP-серверы через функцию Connectors (планы Plus / Pro / Team / Enterprise). Бесплатный план не поддерживает кастомные коннекторы.

  1. Откройте ChatGPT → Settings → Connectors (или нажмите 🔧 в composer → Manage connectors).
  2. Нажмите "Add custom connector".
  3. Заполните:
    • Name: Microsoft SQL Server
    • MCP server URL: https://cloud.anythingmcp.com/mcp
    • Authentication: Bearer token → вставьте MCP API key
  4. Нажмите Connect.

Доступные инструменты

ToolWhat it does
mssql_list_tablesList the tables and views in the database with their schema and, where the server tracks it, an approximate row count
mssql_describe_tableDescribe one table: every column with its data type, nullability and default
mssql_find_columnsFind columns across every table whose name matches a pattern — the fast way to locate where customer e-mail addresses, IBANs or order number
mssql_queryRun a read-only SQL statement against Microsoft SQL Server and return up to 1000 rows
mssql_query_examplesShow worked example queries for Microsoft SQL Server: how to list schemas, find large tables, inspect indexes and check what is running righ

FAQ

Работает ли бесплатный план ChatGPT с кастомными MCP Connectors? Нет — нужны Plus, Pro, Team или Enterprise.

Следующие шаги

Это руководство помогло?

Your Microsoft SQL Server agent is one click away.

Install the connector, paste the key, prompt ChatGPT. Free for 7 days, no credit card.

Похожие руководства

connectors

Как подключить Microsoft SQL Server к Claude — через MCP

Query a Microsoft SQL Server database directly: list tables, describe columns and run read-only T-SQL. Supports SQL Server and Windows (NTLM) authentication. Installs read-only.

connectors

Как подключить Microsoft SQL Server к Cursor — через MCP

Query a Microsoft SQL Server database directly: list tables, describe columns and run read-only T-SQL. Supports SQL Server and Windows (NTLM) authentication. Installs read-only.

connectors

Как подключить Microsoft SQL Server к Gemini — через MCP

Query a Microsoft SQL Server database directly: list tables, describe columns and run read-only T-SQL. Supports SQL Server and Windows (NTLM) authentication. Installs read-only.

connectors

Microsoft SQL Server в MCP — управляйте Microsoft SQL Server из любого AI-агента

Query a Microsoft SQL Server database directly: list tables, describe columns and run read-only T-SQL. Supports SQL Server and Windows (NTLM) authentication. Installs read-only.

connectors

Как подключить AFAS Profit к ChatGPT — через MCP

AFAS Profit — Dutch ERP and HR: read any published GetConnector, list what is available, and inspect a connector's metadata. Token auth with AFAS's base64-wrapped XML token.

connectors

Как подключить Aruba Fatturazione Elettronica к ChatGPT — через MCP

Aruba Fatturazione Elettronica: send and track Italian e-invoices through the Sistema di Interscambio, read received invoices and their SDI notifications. Token auth against Aruba's B2B gateway.