Sqlanywhere MCP
Überblick
Beschreibung vom Entwickler (englisches Original)
MCP server for SAP SQL Anywhere 17: explore schemas and run read-only queries.
Die drei Säulen von PopNx MCP
Diese drei werden nie zu einer Punktzahl zusammengefasst: Meinungen, Messungen und Beliebtheit sind verschiedene Dinge.
- Stimmen der NutzeriNoch keine BewertungenBewertungen starten in einem späteren Schritt zusammen mit Benutzerkonten
- Unsere Basischecksi1 von 1 bestandenAnhand öffentlicher Informationen geprüft; Code noch nicht gescannt
- NutzungiGanz neu★ –
Was du damit machen kannst
Für diesen Server haben wir noch keine Zusammenfassung in einfacher Sprache geschrieben. Unten stehen die Fakten, die wir aus der Registry gelesen haben.
- Verbindung: Läuft auf deinem Computer
- Transport: stdio
- Kategorie: Datenbanken & Datensätze
Installation
Wähle die KI-App, die du nutzt, und kopiere die Einstellungen.
Bevor du installierst
- Basischecks: 1 von 1 bestanden
- Läuft auf deinem Computer mit den Rechten deines Benutzerkontos (Dateien, Netzwerk, Apps).
- Das trägst du selbst ein:
SQLANYWHERE_MCP_CONFIG
Welche App nutzt du?
Wähle oben deine App. Wir merken sie uns, damit der Button beim nächsten Mal „In … installieren“ anzeigt.
Öffne Claude Desktop → Settings → Developer → Edit Config und füge dies in claude_desktop_config.json ein
{
"mcpServers": {
"sqlanywhere": {
"command": "dnx",
"args": [
"SqlAnywhereMcp",
"--yes"
],
"env": {
"SQLANYWHERE_MCP_CONFIG": "your-value"
}
}
}
}Führe das in deinem Terminal aus
claude mcp add sqlanywhere --env SQLANYWHERE_MCP_CONFIG=your-value -- dnx SqlAnywhereMcp --yesTrag die leeren Werte ein, bevor du ihn startest.
Oder kopier die Einstellungen selbst
In .cursor/mcp.json in deinem Projekt oder in ~/.cursor/mcp.json einfügen
{
"mcpServers": {
"sqlanywhere": {
"command": "dnx",
"args": [
"SqlAnywhereMcp",
"--yes"
],
"env": {
"SQLANYWHERE_MCP_CONFIG": "your-value"
}
}
}
}Dein Browser fragt, ob er die App öffnen darf, dann zeigt die App die Einstellungen und bittet dich um Bestätigung. Schlüsselwerte bleiben leer, damit du sie selbst einträgst.
Oder kopier die Einstellungen selbst
In .vscode/mcp.json in deinem Projekt einfügen
{
"servers": {
"sqlanywhere": {
"type": "stdio",
"command": "dnx",
"args": [
"SqlAnywhereMcp",
"--yes"
],
"env": {
"SQLANYWHERE_MCP_CONFIG": "your-value"
}
}
}
}Dein Browser fragt, ob er die App öffnen darf, dann zeigt die App die Einstellungen und bittet dich um Bestätigung. Schlüsselwerte bleiben leer, damit du sie selbst einträgst.
Dieser Server läuft auf deinem Computer, und ChatGPT kann sich nur mit Servern im Internet verbinden. Wähle eine andere App.
Deine Auswahl bleibt in einem Cookie auf diesem Gerät; kein Konto nötig.
Werte, die du selbst einträgst
SQLANYWHERE_MCP_CONFIGenvPath of the config.json file. Defaults to sqlanywhere-mcp/config.json in the user's config directory.
Diese Einstellungen werden aus dem Registry-Eintrag des Entwicklers erzeugt. Wenn in der README etwas anderes steht, folge der README.
Was er kann
Läuft auf deinem Computer; die Tool-Liste erscheint nach der Installation in deiner KI-App.
Basischecksi
Wir prüfen Informationen, die jeder sehen kann; den Code haben wir nicht gelesen. Checks, die nicht zutreffen, werden nicht mitgezählt. · Geprüft am 8. Nov. 2026
- ✓ Bestanden
Entwickler passt zum Repo
Der Registry-Name wurde mit dem GitHub-Konto Dwarf1er bestätigt, dem das Repo gehört
- … Noch nicht geprüft
Wird noch gepflegt
Dieses Repo haben wir noch nicht von GitHub gelesen
- … Noch nicht geprüft
Hat eine Lizenz
Dieses Repo haben wir noch nicht von GitHub gelesen
- – Nicht zutreffend
Endpunkt antwortet
Dieser Server läuft auf deinem Computer; es gibt keinen Endpunkt im Internet
- – Nicht zutreffend
Anmeldung mit OAuth
Läuft auf deinem Computer und nutzt stattdessen lokale Einstellungen
- … Noch nicht geprüft
Keine versteckten Anweisungen in Tool-Beschreibungen
Läuft auf deinem Computer; Tool-Listen können wir nur von Endpunkten im Internet lesen
Im Vergleich mit anderen in Datenbanken & Datensätzei
- Mehr Sterne als 0 % der anderen 1144 Server in dieser Kategorie
- Neuer in der Registry veröffentlicht als 66 % der anderen 1144 Server in dieser Kategorie
- Basischecks gleich gut wie oder besser als bei 100 % der anderen 1144 Server in dieser Kategorie
Verglichen mit allen aktiven Servern dieser Kategorie in der Registry. Sterne zählen nur, wenn dem Herausgeber das Repo gehört.
Häufige Fragen
Ist Sqlanywhere MCP sicher?
Er hat 1 von 1 zutreffenden Basischecks bestanden. Den Code haben wir nicht gelesen. Bevor du einen Schlüssel oder Token hinzufügst, sieh nach, welche Zugriffe der Server verlangt, und nutze einen Schlüssel, der nur die Berechtigungen hat, die du brauchst.
Welche Schlüssel oder Codes braucht er?
Die Registry nennt keinen erforderlichen Schlüssel, manche Server bitten dich aber bei der ersten Nutzung, dich anzumelden.
Läuft er auf meinem Computer oder in der Cloud?
Er läuft auf deinem Computer. Deine KI-App startet ihn bei Bedarf, und die Daten laufen nicht über die Server des Entwicklers (außer der Server ruft selbst einen Onlinedienst auf).
Wird er noch gepflegt?
Das GitHub-Repo wurde zuletzt – geändert, und die neueste Version (0.1.0) kam vor 22 Tagen in die Registry.
Welche Apps können ihn nutzen?
Apps, die MCP unterstützen, etwa Claude Desktop, Claude Code, Cursor und VS Code. Außerdem brauchst du .NET auf deinem Computer.
Was kann ich stattdessen nutzen?
In derselben Kategorie: Supabase, MongoDB MCP Server, Elasticsearch MCP Server
Alternativen
Server derselben Kategorie von anderen Entwicklern, sortiert nach Sternen.
So liest du eine Karte:↓ Downloads pro Wochei★ GitHub-SterneiDrei Säulen: Bewertungen · Checks · NutzungiAktualisiert = neueste Version in der Registry veröffentlichti
README vom Entwickler
README öffnen
Unverändert aus dem Repo des Entwicklers übernommen. PopNx MCP hat den Inhalt weder geprüft noch empfiehlt es ihn. HTML, Bilder und Skripte wurden entfernt. Links führen von dieser Website weg.
sqlanywhere-mcp
MCP server for SAP SQL Anywhere 17
MCP (*Model Context Protocol*) server for SQL Anywhere 17. Lets an MCP client such as Claude Code or Claude Desktop query a SQL Anywhere database directly to explore the schema, stored procedures, triggers, and views. It runs on Windows, Linux, and macOS.
Disclaimer: sqlanywhere-mcp is an independent, community open-source project. It is not affiliated with, endorsed by, or sponsored by SAP SE. SAP and SQL Anywhere are trademarks or registered trademarks of SAP SE. sqlanywhere-mcp does not include or redistribute any SAP software.
Table of contents
- sqlanywhere-mcp
- Table of contents
- Prerequisites
- ODBC driver setup
- Installation
- From NuGet
- From a release
- From source
- Configuration
- File location
- Fields
- Live reload
- Database password
- Suggested helper: keyturn
- Claude Code integration
- As a plugin
- By hand
- Claude Desktop integration
- Multiple databases
- Available tools
- Databases
- Query execution
- Ownership
- Schema introspection
- Object lists
- Source retrieval
- Procedure calls
- How it works
- License
Prerequisites
- The SQL Anywhere 17 ODBC driver, installed on the machine that runs sqlanywhere-mcp. It comes with the SQL Anywhere 17 client or server install, for the platform you run on.
- On Linux and macOS, an ODBC driver manager: unixODBC (for example
apt install unixodbc,dnf install unixODBC,brew install unixodbc). On Windows the driver manager is built in. - The .NET 10 SDK, to build from source.
- An MCP client, such as Claude Code or Claude Desktop.
sqlanywhere-mcp itself is a .NET application with no platform-specific code. What differs per platform is how the driver is registered, which is covered in ODBC driver setup.
ODBC driver setup
sqlanywhere-mcp connects with the ODBC driver named SQL Anywhere 17, which is the name the Windows installer registers. Use the driver setting (see Fields) when your driver is registered under another name.
- Windows: nothing to do after installing SQL Anywhere 17.
- Linux and macOS: unixODBC needs to know the driver. Either register it in
odbcinst.iniunder the nameSQL Anywhere 17, or setdriverinconfig.jsonto the path of the driver library, for example/opt/sqlanywhere17/lib64/libdbodbc17.so(the path depends on where SQL Anywhere is installed). The driver also needs its own libraries to be loadable; SQL Anywhere provides ansa_config.shscript for that, which you can source before starting your MCP client. See SAP's documentation for the details of your platform.
When the connection fails, the tool error names the driver it used, so a wrong driver name or a missing driver is visible in the client.
Installation
There are three ways to get sqlanywhere-mcp. All of them give the same server, which needs the prerequisites above (the ODBC driver, plus unixODBC on Linux and macOS).
From NuGet
The SqlAnywhereMcp package is a .NET tool with a self-contained build for each platform (win-x64, linux-x64, linux-arm64, osx-x64, osx-arm64), so no .NET runtime is needed to run it. It needs the .NET 10 SDK to install, which provides dnx and dotnet tool.
Run it without installing, which is what MCP clients usually do:
dnx SqlAnywhereMcp --yes
Or install it as a global tool, which puts sqlanywhere-mcp on your PATH:
dotnet tool install --global SqlAnywhereMcp
To register it with Claude Code without installing anything first:
claude mcp add --transport stdio --scope user sqlanywhere -- dnx SqlAnywhereMcp --yes
From a release
Each GitHub release has an archive per platform with the self-contained executable, plus a SHA256SUMS file. Unpack the one for your platform somewhere on your PATH and verify it with sha256sum -c SHA256SUMS. The executables are not code-signed, so macOS Gatekeeper and Windows SmartScreen may warn on first run.
From source
Run the install script for your platform from a regular user account (no administrator rights needed). Each one publishes a self-contained executable, so the .NET runtime is not needed to run it.
Windows (PowerShell):
.\install.ps1
It publishes sqlanywhere-mcp.exe to %LOCALAPPDATA%\sqlanywhere-mcp\, adds that directory to the user PATH, and prints the command to register the server with Claude Code.
| Option | Description |
|---|---|
-Configuration Release | Build configuration (default: Release) |
-Configuration Debug | Build in Debug mode |
-Help | Show help |
Linux and macOS (bash):
./install.sh
It detects the platform (linux-x64, linux-arm64, osx-x64, or osx-arm64), publishes sqlanywhere-mcp to ~/.local/bin/, and prints the command to register the server with Claude Code. -c Debug builds in Debug mode.
The driver must match the architecture of the executable. If your SQL Anywhere 17 driver is x64 only, use an x64 build (on Apple silicon, the x64 build runs under Rosetta).
Any platform, by hand:
dotnet publish src/SqlAnywhereMcp -c Release -r <rid> --self-contained -o <output-dir>
where is a .NET runtime identifier such as win-x64, linux-x64, or osx-x64.
Configuration
File location
| Platform | Path |
|---|---|
| Windows | %APPDATA%\sqlanywhere-mcp\config.json |
| Linux / macOS | $XDG_CONFIG_HOME/sqlanywhere-mcp/config.json, or ~/.config/sqlanywhere-mcp/config.json when XDG_CONFIG_HOME is not set |
If the file is missing on first launch, an example is created automatically. Edit it and restart sqlanywhere-mcp once; after that, changes are picked up without a restart (see Live reload).
Example configuration:
{
"defaults": { "username": "dba", "passwordCommand": "keyturn get dev-db --refresh" }, "allowedProcedures": [], "defaultDatabase": "demo", "databases": { "demo": { "host": "localhost", "database": "demodb" }, "staging": { "host": "db.example.com", "port": 2700, "database": "stagingdb", "passwordCommand": "keyturn get staging-db --refresh", "allowedProcedures": ["dbo.sa_conn_info"] } } }
Unknown fields are rejected, so a misspelled field (for example allowedProcedure) is reported instead of being silently ignored.
Fields
Top level:
| Field | Required | Description |
|---|---|---|
databases | Yes | The databases tools can reach, keyed by name. The name is what tools take as their database argument, and must be unique ignoring case. An empty object is valid: tools then report that no database is configured. See the fields below |
defaults | No | Values every database uses unless it sets its own. See the fields below |
defaultDatabase | No | Name of the database a tool uses when called without database. Not needed with a single database |
allowedProcedures | No | Stored procedures that call_procedure may call on every database, each written as owner.procedure (default: none). See Procedure calls |
defaults:
| Field | Default | Description |
|---|---|---|
username | - | Login username. Required, here or on each database |
passwordCommand | - | Credential helper: a command that prints the database password. Required, here or on each database. See Database password |
appInfo | - | Value of the AppInfo ODBC parameter, used by SQL Anywhere to identify the connecting application (for example my-app) |
driver | SQL Anywhere 17 | ODBC driver name as registered with the driver manager, or the path of the driver library. See ODBC driver setup |
port | 2638 | TCP port of the database (SQL Anywhere's standard port) |
Each database:
| Field | Required | Description |
|---|---|---|
host | Yes | Hostname of the SQL Anywhere server |
database | Yes | Database name (DBN ODBC parameter) |
port | No | Overrides defaults.port |
username | Yes, unless in defaults | Overrides defaults.username |
passwordCommand | Yes, unless in defaults | Overrides defaults.passwordCommand, for a database with other credentials |
appInfo | No | Overrides defaults.appInfo |
driver | No | Overrides defaults.driver |
allowedProcedures | No | Procedures call_procedure may call on this database, in addition to the top-level ones |
Live reload
sqlanywhere-mcp checks config.json before every tool call. When the file changed and is valid, the next call uses it: added databases become available, removed ones disappear, and open connections are closed so they reopen with the new settings. No restart of sqlanywhere-mcp or Claude Code is needed.
When the changed file is invalid (malformed JSON, an unknown field, a duplicate name, a bad procedure name, ...) or was deleted, sqlanywhere-mcp keeps using the last valid version. list_databases reports the error in reloadError, and the error is also written to sqlanywhere-mcp's standard error, which MCP clients show in their logs. Fixing the file clears it.
The first load at startup is still strict: sqlanywhere-mcp exits with an error when the file is invalid then.
Database password
sqlanywhere-mcp never stores the database password. It follows the *credential-helper pattern*: passwordCommand is a command that prints the password on its standard output, and sqlanywhere-mcp runs it each time it opens a connection, so a password that rotates is picked up on the next reconnect.
The contract for a helper:
- It prints only the password on stdout. A trailing newline is ignored.
- It exits
0on success. Any other exit code fails the connection, and the tool returns an error naming the command and its exit code. - Diagnostics go to stderr, which sqlanywhere-mcp passes through to its own, where MCP clients show it in their logs.
- It runs without a shell and without input (stdin is closed). Quote arguments that cont
Nur der Anfang wird gezeigt; den Rest findest du im Repo