Skip to content
GitHub (opens in a new tab)

Databases · Integration guide

How to connect Meilisearch Cloud 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

Meilisearch Cloud uses GateRook’s Meilisearch connector. A project's URL and a search key.

The screenshots show GateRook 2.0.0: the Meilisearch Cloud 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 Meilisearch Cloud, choose its card and select Continue to configure.

Copy the Meilisearch Cloud project's HTTPS endpoint and create an API key restricted to the required indexes and read actions.

A default search key is intended for search requests. Inspecting indexes, settings or documents can require additional specific read permissions; grant those deliberately rather than using the master key for routine analysis.

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

Enter the project endpoint in Server URL. Select API key for Authentication and paste the scoped key into API key.

Restrict Indexes to the index identifiers the agent should inspect. These must match the actual index UIDs, which can differ from a display label.

Keep CA certificate (PEM) empty for the usual publicly trusted Cloud endpoint.

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

GateRook 2.0.0 Configure Meilisearch Cloud form before saving.
The Meilisearch Cloud 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.

Run Continue to test, then try a bounded search. If search works but index inspection or document retrieval is denied, check the relevant API-key actions. A 403 for a metadata operation does not imply the search key is invalid.

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 Meilisearch Cloud on the endpoint and passing its connection test, ask your AI app to use meilisearch-cloud-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.

Meilisearch Cloud connector tool names and default modes in the GateRook 2.0.0 endpoint preview.
Meilisearch Cloud 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 search indexes this key is permitted to inspect.”
  • “Search the products index for a specific term and return at most 10 hits.”
  • “Inspect the filterable and sortable attributes of the products index without changing settings.”
Tools your AI gets
ToolWhat it doesStarts as
search_list_indexesList the permitted Meilisearch indexes and available document counts.Read only
search_describe_indexShow the primary key, readable searchable/filterable/sortable attributes, ranking rules, configured embedders and index statistics.Read only
search_querySearch with text, filters, facets, sorting and pagination. Vector or hybrid search requires a configured embedder; choose it when the index has more than one.Read only
search_get_documentsDocuments by id, up to 100.Read only
search_index_documentsAdds or replaces up to 100 documents of one index, or merges their fields into existing ones. You approve the exact documents. Never retried.Approval
search_delete_documentsDeletes documents by id, up to 1,000 of one index. You approve the exact ids; nothing else is deleted. 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

Meilisearch

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

PostgreSQL

Connect PostgreSQL to Claude, Codex, Cursor, VS Code or Antigravity in three steps. Your AI runs read queries; changes wait for your approval.

MySQL

Connect MySQL to Claude, Codex, Cursor, VS Code or Antigravity in three steps. GateRook keeps the password; your AI reads data and asks before changes.

Browse all integration guides

Your local MCP gateway and firewall.

Connect Meilisearch Cloud 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)