Connector guide2-minute read5 MCP toolsEN · DE · IT

Come collegare Microsoft SQL Server a Cursor — via 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 teamAggiornato 2 min read Open source su GitHub

Nessuna carta di credito · 7 giorni di prova · Alternativa self-host disponibile

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.

tool

5

Regione

INTL

Categoria

Databases

Autenticazione

Connection string

Env vars richieste

MSSQL_HOSTMSSQL_PORTMSSQL_DATABASEMSSQL_USERMSSQL_PASSWORD
Installa con un clic su Cloud

7 giorni di prova gratuita · Nessuna carta di credito

  • Prova gratuita di 7 giorni
    Nessuna carta di credito
  • GDPR & SOC 2 ready
    Dati in UE, log di audit
  • Open source su GitHub
    Open source · AGPL-3.0
  • Funziona con ChatGPT, Claude, Gemini
    Qualsiasi client compatibile MCP

Salta l'installazione. Attivo in meno di 2 minuti.

Avvia una prova gratuita su cloud.anythingmcp.com, aggiungi Microsoft SQL Server con un clic, poi punta il tuo client AI (Claude, ChatGPT, Copilot o Cursor) all'endpoint MCP generato. Niente Docker, niente git clone, nessuna esperienza di sviluppo richiesta.

Inizia la prova gratuita

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.

Prova a chiedere

Prompt di esempio per Microsoft SQL Server

Clicca su un prompt per copiarlo. Incollalo in Claude, ChatGPT, Cursor, Gemini, Copilot o OpenClaw per eseguirlo contro questo connettore.

Microsoft SQL Server · live via MCP
Condividi
Opus 4.7

Claude è un'AI e può sbagliare. Verifica sempre le risposte.

💡 Niente installazione? Vai direttamente su cloud.anythingmcp.com. Accedi, clicca Connectors → Microsoft SQL Server, inserisci le credenziali, genera una MCP API key — fatto. Niente Docker, niente git clone, niente server locale.

Microsoft SQL Server + Cursor

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.

Prerequisiti

Le istruzioni di setup complete sono incluse nel connettore stesso (visibili nello store quando lo selezioni). Le variabili d'ambiente richieste sono:

MSSQL_HOST, MSSQL_PORT, MSSQL_DATABASE, MSSQL_USER, MSSQL_PASSWORD

Step 1 — Ottieni le credenziali

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)

Step 2 — Installa l'adapter

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

Step 3 — Aggiungi il connettore in Cursor

Cursor legge i server MCP da ~/.cursor/mcp.json. Aggiungi questa voce:

{
  "mcpServers": {
    "anythingmcp": {
      "url": "https://cloud.anythingmcp.com/mcp",
      "headers": { "Authorization": "Bearer YOUR_MCP_API_KEY" }
    }
  }
}
  1. Ottieni la tua MCP API key da AnythingMCP → Profilo → MCP API Keys → Nuova Key.
  2. Salva il file e riavvia Cursor.
  3. Apri Cursor → Impostazioni → MCP per verificare che Microsoft SQL Server sia presente e "Connected".
  4. Inizia a chattare — tutti gli strumenti di Microsoft SQL Server sono ora invocabili.

Tool disponibili

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

Cursor supporta MCP server personalizzati nel piano free? Sì — MCP è disponibile su Hobby, Pro e Business.

Prossimi passi

Questa guida ti è stata utile?

Your Microsoft SQL Server agent is one click away.

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

Guide correlate

connectors

Come collegare Microsoft SQL Server a ChatGPT — via 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

Come collegare Microsoft SQL Server a Claude — via 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

Come collegare Microsoft SQL Server a Gemini — via 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 su MCP — Pilota Microsoft SQL Server da qualsiasi agente 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

Come collegare AFAS Profit a Cursor — via 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

Come collegare Aruba Fatturazione Elettronica a Cursor — via 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.