data
Typesense MCP, CLI, and Lua Integration for AI Agents
Typesense integration docs for AI agents: MCP gateway setup, Typesense CLI commands, Lua API reference, credentials, and function schemas.
7 functions 5 read 2 write API key auth
Typesense 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
typesense- route_slug
typesense- package
typesense- 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. Typesense CLIHeadless setup and direct function calls. Typesense 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.
Typesense MCP Client Matrix
Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for Typesense.
Claude Code Typesense MCP setup for Claude Code. Cursor Typesense MCP setup for Cursor. Codex Typesense MCP setup for Codex. OpenAI Agents Typesense MCP setup for OpenAI Agents SDK. Claude Agent SDK Typesense MCP setup for Claude Agent SDK. Vercel AI SDK Typesense MCP setup for Vercel AI SDK. LangChain Typesense MCP setup for LangChain. LangGraph Typesense MCP setup for LangGraph. CrewAI Typesense MCP setup for CrewAI. MCP clients Typesense MCP setup for Generic MCP Clients.
Typesense CLI Matrix
Use these pages for direct Typesense CLI workflows in scripts, CI, cron, and agent wrappers.
CI Typesense CLI for CI. Cron Jobs Typesense CLI for cron jobs. Shell Scripts Typesense CLI for shell scripts. Headless Automation Typesense CLI for headless automation. Coding Agents Typesense CLI for coding agents.
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
typesense.typesense_list_collections | Read read | 0 | List all collections in the Typesense search instance. Returns collection names, document counts, and schema details. |
typesense.typesense_get_collection | Read read | 1 | Get details of a specific Typesense collection by name, including its schema, field definitions, and document count. |
typesense.typesense_create_collection | Write write | 3 | Create a new collection in Typesense with a specified schema including field definitions and optional default sorting field. |
typesense.typesense_search_documents | Read read | 7 | Search for documents in a Typesense collection. Supports full-text search, filtering, sorting, and pagination. |
typesense.typesense_index_document | Write write | 2 | Index (create or update) a document in a Typesense collection. The document must conform to the collection's schema. |
typesense.typesense_get_document | Read read | 2 | Retrieve a single document from a Typesense collection by its ID. |
typesense.typesense_get_health | Read read | 0 | Check the health status of the Typesense search instance. Returns whether the service is reachable and healthy. |