Connector guide2-minute read5 MCP toolsEN · DE · IT

Microsoft SQL Server mit Cursor verbinden — über 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 teamAktualisiert 2 min read Open Source auf GitHub

Keine Kreditkarte · 7 Tage Test · Self-Hosting-Alternative verfügbar

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.

Tools

5

Region

INTL

Kategorie

Databases

Authentifizierung

Connection string

Benötigte Env-Vars

MSSQL_HOSTMSSQL_PORTMSSQL_DATABASEMSSQL_USERMSSQL_PASSWORD
Mit einem Klick in der Cloud installieren

7 Tage kostenlos testen · Keine Kreditkarte

  • 7 Tage kostenlos
    Keine Kreditkarte nötig
  • GDPR & SOC 2 ready
    EU-Datenhaltung, Audit-Logs
  • Open Source auf GitHub
    Open-Source · AGPL-3.0
  • Funktioniert mit ChatGPT, Claude, Gemini
    Jeder MCP-kompatible Client

Installation überspringen. In unter 2 Minuten einsatzbereit.

Starte eine kostenlose Testphase auf cloud.anythingmcp.com, füge Microsoft SQL Server mit einem Klick hinzu und richte deinen KI-Client (Claude, ChatGPT, Copilot oder Cursor) auf den erzeugten MCP-Endpoint. Kein Docker, kein git clone, keinerlei Entwicklungserfahrung nötig.

Kostenlos testen

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.

Frag einfach

Beispiel-Prompts für Microsoft SQL Server

Klick auf einen Prompt, um ihn zu kopieren. In Claude, ChatGPT, Cursor, Gemini, Copilot oder OpenClaw einfügen — und gegen diesen Connector laufen lassen.

Microsoft SQL Server · live via MCP
Teilen
Opus 4.7

Claude ist KI und kann Fehler machen. Bitte Antworten gegenprüfen.

💡 Keine Installation? Nutze cloud.anythingmcp.com direkt. Einloggen, Connectors → Microsoft SQL Server klicken, Zugangsdaten einfügen, MCP-API-Key erzeugen — fertig. Kein Docker, kein git clone, kein lokaler Server.

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.

Voraussetzungen

Die vollständige Setup-Anleitung ist in den Connector eingebaut (im Store sichtbar, wenn du den Connector auswählst). Benötigte Umgebungsvariablen für diesen Connector:

MSSQL_HOST, MSSQL_PORT, MSSQL_DATABASE, MSSQL_USER, MSSQL_PASSWORD

Schritt 1 — Zugangsdaten holen

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)

Schritt 2 — Adapter installieren

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

Schritt 3 — Connector in Cursor hinzufügen

Cursor liest MCP-Server aus ~/.cursor/mcp.json. Füge diesen Eintrag hinzu:

{
  "mcpServers": {
    "anythingmcp": {
      "url": "https://cloud.anythingmcp.com/mcp",
      "headers": { "Authorization": "Bearer YOUR_MCP_API_KEY" }
    }
  }
}
  1. Hole deinen MCP API Key aus AnythingMCP → Profil → MCP API Keys → Neuer Key.
  2. Speichern und Cursor neu starten.
  3. Cursor → Einstellungen → MCP öffnen und prüfen, ob Microsoft SQL Server als "Connected" gelistet ist.
  4. Chatten — alle Microsoft SQL Server-Tools sind aufrufbar.

Verfügbare Tools

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

Unterstützt Cursor benutzerdefinierte MCP-Server im Free-Tier? Ja — MCP ist auf Hobby, Pro und Business verfügbar.

Nächste Schritte

War dieser Guide hilfreich?

Your Microsoft SQL Server agent is one click away.

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

Verwandte Anleitungen