接続の確立
The CData Code Assist MCP for Sybase defines each connection to Sybase 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/Sybase Data Provider/".
- On macOS, configuration files are stored in "~/Library/Application Support/CData/Sybase 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.
Sybase への接続
Sybase に接続するには、次の接続プロパティを指定します。
オプションで、UseSSL をtrue に設定することにより、TLS/SSL で接続を保護できます。
Sybase への認証
Sybase は、Basic 認証、Kerberos 認証、LDAP 認証などの認証方法をいくつかサポートしています。
Basic
Sybase 認証を使用するには、AuthScheme をBasic に設定して、次の接続プロパティを設定します。
LDAP
LDAP 認証で接続するには、LDAP 認証メカニズムを使用するようにSybaseサーバーサイドを設定する必要があります。
LDAP 用にSybase を設定したら、Basic 認証と同じ資格情報を使用して接続できます。
Kerberos
Kerberos 認証を活用するには、まず次の接続プロパティを使用してKerberos を有効にします。
- AuthScheme:Kerberos に設定することで、Sybase への認証にKerberos が使用されます。
次は接続文字列の例です。
Server=MyServer;Port=MyPort;User=SampleUser;Password=SamplePassword;Database=MyDB;Kerberos=true;KerberosKDC=MyKDC;KerberosRealm=MYREALM.COM;KerberosSPN=server-name