Code Assist MCP for SAP HANA

Build 25.0.9540

接続の確立

The CData Code Assist MCP for SAP HANA defines each connection to SAP HANA as a named configuration that an MCP Client (such as Claude Desktop) can use when sending natural language queries.

You create and manage these configurations using the CData Code Assist MCP Configuration Tool. The tool automatically handles formatting, storage, and registration with MCP clients.

Understanding Connection Configurations

Each connection configuration is stored in a .mcp file. This file includes the details needed to initialize the connector when an MCP Client starts a session.

  • On Windows, configuration files are stored in "~/AppData/Roaming/CData/SAP HANA Data Provider/".
  • On macOS, configuration files are stored in "~/Library/Application Support/CData/SAP HANA Data Provider/".

The .mcp file is a text file that contains a list of connection properties and a timestamp. For example:

#Tue May 20 15:48:40 EDT 2025
AuthScheme=Basic
User=myUser
Password=myPassword
Security Token=myToken

The configuration tool handles these settings automatically. Each saved configuration enables an MCP client to launch a dedicated MCP server instance with the correct connector and options. Manual file editing is not required.

SAP HANA Cloud への接続

データに接続するには以下を設定します。
  • Server:SAP HANA データベースインスタンスの名前またはネットワークアドレスに設定。
  • Port443に設定。
  • UseSSLTrueに設定。

SAP HANA On-Prem への接続

データに接続するには以下を設定します。

  • Server:SAP HANA データベースインスタンスの名前またはネットワークアドレスに設定。
  • Port:SAP HANA データベースをホスティングしているサーバーのポート。

SAP HANA への認証

接続の詳細を入力したら、次のデータベース資格情報を設定してSAP HANA に認証します。

  • User:SAP HANA データベースとの認証のためのユーザー名。
  • Password:SAP HANA データベースとの認証のためのパスワード。

Okta

AuthSchemeOkta に設定します。Okta への接続には、次の接続プロパティを使用します。

  • User: Okta ユーザーに設定。
  • Password: ユーザーのOkta パスワードに設定。
  • SSOProperties(オプション): デバイスに送信されたOTP コードを設定。このプロパティは、OKTA サインオンのためにMFA が必要な場合にのみ使用します。

次のSSOProperties がOkta への認証に必要です。

  • SSOLoginUrl: OKTA のログインURL に設定。
  • MFAType(オプション): multi-factor type に設定。このプロパティは、OKTA サインオンのためにMFA が必要な場合にのみ使用します。このプロパティには次の値の一つを受け付けます。
    • OKTAVerify
    • Email
    • SMS
  • APIToken(オプション): Okta org から作成したAPI Token に設定。Okta クライアントリクエストコンテキストを上書きする、信頼されたアプリケーションまたはプロキシ経由でユーザーを認証する場合に使用してください。

次は接続文字列の例です。

AuthScheme=OKTA;User=username;Password=password;Server=myserver;SSO Properties='SSOLoginUrl=https://cdata-okta.okta.com';

Copyright (c) 2026 CData Software, Inc. - All rights reserved.
Build 25.0.9540