Skip to content
GitHub (opens in a new tab)

Cassandra-compatible · Integration guide

How to connect Azure Managed Instance for Apache Cassandra to any AI IDE (Claude/Codex/Cursor/VS Code/Antigravity)

Before you start, install GateRook and connect it to your AI development environment: Claude Desktop, Codex, Cursor, Antigravity or VS Code.

Connect your AI app

Azure Managed Instance for Apache Cassandra uses GateRook’s Apache Cassandra connector. Over TLS with a database user and password.

The screenshots show GateRook 2.0.0: the Azure Managed Instance for Apache Cassandra form, the endpoint selector, and this connector’s actual tool preview. The form and preview have not been saved. Select a screenshot to open it at full size.

1. Create a connection and enter the settings

In GateRook, open Connections, select Add connection, search for Azure Managed Instance for Apache Cassandra, choose its card and select Continue to configure. GateRook downloads the official Apache Cassandra connector module when you choose it. Wait for the download and verification to finish before configuring the connection.

Get the managed Cassandra cluster's private node addresses, CQL credentials and exact data-center name. Azure Managed Instance for Apache Cassandra is accessed through its virtual network.

Arrange private network reachability from the GateRook computer and obtain the cluster CA and certificate naming requirements. A certificate-valid endpoint is needed in addition to a reachable private IP.

Enter a Name, for example azure-cassandra-demo. Your AI app uses this name to choose the connection.

Add the private CQL endpoints to Contact points, normally with port 9042, and enter the cluster's Local data center. Fill User and Password with Cassandra credentials.

Choose TLS for Connection type. In Advanced, provide the required CA certificate (PEM). Use TLS server name only when the administrator confirms that the supplied name is valid for every discovered node's certificate.

Set Keyspace and restrict Keyspaces to the required application data. Keep Allow ALLOW FILTERING off; queries should identify a suitable partition.

Choose Development, Staging or Production to match the service. Review the connector’s limit and access settings before continuing.

GateRook 2.0.0 Configure Azure Managed Instance for Apache Cassandra form before saving.
The Azure Managed Instance for Apache Cassandra configuration form. Enter your own connection settings before testing.

2. Test the connection and add it to an endpoint

Select Continue to test. GateRook checks the settings from your computer. Review the result and resolve any connection, certificate or permission error before continuing.

For timeouts, check private routing and CQL network rules. For hostname-verification errors, obtain certificate-consistent DNS or TLS naming from the cluster administrator. A successful Azure portal login does not establish Cassandra authentication or table permissions.

After the test passes, select Continue to add to an endpoint. Choose the endpoint your AI app uses, review its tool modes, then select Save connection. GateRook offers default as the starter endpoint.

GateRook endpoint selector with default selected; no connector tool list is shown.
Choose the endpoint your AI app uses. This selector is shared across connector types; the next screenshot shows this connector’s own tools.

3. Use the connection from your AI IDE

After saving Azure Managed Instance for Apache Cassandra on the endpoint and passing its connection test, ask your AI app to use azure-cassandra-demo, or the name you chose. If its tools are missing, confirm the endpoint assignment and refresh the MCP connection or start a new chat.

The preview below shows this connector’s default tools before saving. The table explains what each tool can do; connection settings, credentials and endpoint policies can restrict access further.

Azure Managed Instance for Apache Cassandra connector tool names and default modes in the GateRook 2.0.0 endpoint preview.
Azure Managed Instance for Apache Cassandra tools in the Development endpoint preview. This is an unsaved preview, not a successful service call.

Start with a small read request. Replace example resource names with existing resources your connection may access. Open Activity after the call to inspect its connection, tool, arguments, policy decision and result metadata.

Ask your AI, for example

  • “List the permitted keyspaces and tables.”
  • “Describe the primary key and columns of the orders table, if present.”
  • “Read at most 10 rows from orders for one known partition key; do not use ALLOW FILTERING.”
Tools your AI gets
ToolWhat it doesStarts as
cassandra_list_keyspacesKeyspaces agents may use, with their replication, tables and materialized views, from system_schema.Read only
cassandra_describe_tableColumns of one table or view with their kinds (partition key, clustering, static, regular), types and clustering order, its secondary indexes and views, default TTL and compaction.Read only
cassandra_queryOne CQL SELECT with ? or :name values, at the connection's read consistency. Pages with nextCursor. ALLOW FILTERING scans the cluster and is refused unless a dev connection allows it.Read only
cassandra_executeOne INSERT, UPDATE, DELETE or TRUNCATE, or CREATE, ALTER or DROP of a table, index, type or materialized view. You approve the exact statement and its values; it runs once, never retried.Approval

You can change each tool’s mode on the endpoint. Every call your AI makes appears in Activity.

Service documentation

Keep exploring

Apache Cassandra

Connect Apache Cassandra to Claude, Codex, Cursor, VS Code or Antigravity with GateRook. Follow setup, connection testing and tool access with screenshots.

ScyllaDB

Connect ScyllaDB to Claude, Codex, Cursor, VS Code or Antigravity with GateRook. Follow setup, connection testing and tool access with screenshots.

Amazon Keyspaces

Connect Amazon Keyspaces to Claude, Codex, Cursor, VS Code or Antigravity with GateRook. Follow setup, connection testing and tool access with screenshots.

Browse all integration guides

Your local MCP gateway and firewall.

Connect Azure Managed Instance for Apache Cassandra to your AI IDE.

Choose a connector. Start with read-only access. Approve changes and inspect the audit trail.

Read the getting started guide

Get GateRook

Download GateRook 2.0.0 for your Mac, or get the Windows app from Microsoft Store.

macOS

Version 2.0.0 for Apple Silicon (arm64). This download does not support Intel Macs.

Open the DMG and drag GateRook to Applications.

Windows

Available for free from Microsoft Store. Install GateRook and receive updates through the Store.

macOS release notes and checksums (opens in a new tab)