Connector guide2-minute read5 MCP toolsEN · DE · IT

Microsoft SQL Server mit Claude 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 + Claude

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 Claude hinzufügen

Empfohlener Weg — funktioniert auf claude.ai web ohne Anfassen einer Konfigurationsdatei.

  1. Öffne claude.ai/customize/connectors.
  2. Klicke "Add custom connector".
  3. Trage ein:
    • Name: Microsoft SQL Server
    • URL: https://cloud.anythingmcp.com/mcp
    • Authentication: Bearer Token → MCP-API-Key einfügen (aus AnythingMCP → Profile → MCP API Keys → New Key)
  4. Klicke Connect zum Autorisieren.

Alle unten gelisteten Tools erscheinen in deinem Chat — leg los mit Prompts.

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

Funktioniert es mit Claude Code genauso wie mit Claude Desktop? Ja — beide auf https://cloud.anythingmcp.com/mcp zeigen lassen.

Nächste Schritte

War dieser Guide hilfreich?

Your Microsoft SQL Server agent is one click away.

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

Verwandte Anleitungen