other
Meilisearch MCP, CLI, and Lua Integration for AI Agents
Meilisearch integration docs for AI agents: MCP gateway setup, Meilisearch CLI commands, Lua API reference, credentials, and function schemas.
7 functions 5 read 2 write API key auth
Meilisearch for agents
Credentials can be configured manually in web or CLI hosts.
Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.
Machine-Readable Metadata
- integration_slug
meilisearch- route_slug
meilisearch- package
meilisearch- auth_strategy
api_keyAPI key- cli_setup_supported
true- cli_runtime_supported
true- mcp_gateway_supported
true- lua_supported
true- supports_multi_account
true
Quick Links
Lua APIAgent-facing namespace and function reference. Meilisearch CLIHeadless setup and direct function calls. Meilisearch MCPMCP gateway setup for external clients. Submit feedbackReport missing tools, auth problems, wrong docs, or runtime issues. ContributeAdd tools or improve metadata in the integrations repo.
Meilisearch MCP Client Matrix
Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for Meilisearch.
Claude Code Meilisearch MCP setup for Claude Code. Cursor Meilisearch MCP setup for Cursor. Codex Meilisearch MCP setup for Codex. OpenAI Agents Meilisearch MCP setup for OpenAI Agents SDK. Claude Agent SDK Meilisearch MCP setup for Claude Agent SDK. Vercel AI SDK Meilisearch MCP setup for Vercel AI SDK. LangChain Meilisearch MCP setup for LangChain. LangGraph Meilisearch MCP setup for LangGraph. CrewAI Meilisearch MCP setup for CrewAI. MCP clients Meilisearch MCP setup for Generic MCP Clients.
Meilisearch CLI Matrix
Use these pages for direct Meilisearch CLI workflows in scripts, CI, cron, and agent wrappers.
CI Meilisearch CLI for CI. Cron Jobs Meilisearch CLI for cron jobs. Shell Scripts Meilisearch CLI for shell scripts. Headless Automation Meilisearch CLI for headless automation. Coding Agents Meilisearch CLI for coding agents.
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
meilisearch.meilisearch_list_indexes | Read read | 2 | List all indexes in the Meilisearch instance. Returns index UIDs, primary keys, and creation dates. |
meilisearch.meilisearch_get_index | Read read | 1 | Get detailed information about a specific Meilisearch index, including its UID, primary key, and stats. |
meilisearch.meilisearch_create_index | Write write | 2 | Create a new index in Meilisearch. Returns a task object that can be used to track the creation progress. |
meilisearch.meilisearch_search_documents | Read read | 6 | Search for documents in a Meilisearch index. Supports full-text search with filters, sorting, and pagination. |
meilisearch.meilisearch_add_documents | Write write | 3 | Add or replace documents in a Meilisearch index. Sends an array of document objects to be indexed. Returns a task object to track progress. |
meilisearch.meilisearch_get_document | Read read | 2 | Retrieve a single document from a Meilisearch index by its primary key value. |
meilisearch.meilisearch_get_health | Read read | 0 | Check the health status of the Meilisearch instance. Returns whether the server is available and operational. |