95 typed Typesense operations

Operate Typesense. From terminal to agent.

One typed operation registry powers a human-friendly CLI and a secure MCP server that is read-only by default.

$ pnpm add -g @typesensekit/cli
95 typed operationsRead-only by defaultTypesense v30.2
typesensekit / terminal
$ tsk profile use productionActive profile: production
$ tsk collections.list --input '{}'NAME         DOCUMENTS  FIELDSproducts     24,891     18categories   142        7
MCP / read-only● connected
AI

I found 12 in-stock chairs under €500.

documents.search · 38ms · structured result

Two interfaces. One source of truth.

Built for operators and agents.

Stop rebuilding one-off scripts and narrow integrations. Discover, validate, and run the same named operations from a shell or any compatible MCP client.

@typesensekit/cli

A Typesense CLI that works interactively and in scripts.

Profiles, readable tables, structured JSON, input schemas, examples, shell completion, and deliberate confirmations for destructive work.

$ tsk documents.search --examples
Explore the Typesense CLI
@typesensekit/mcp

A Typesense MCP server with safe defaults for AI agents.

Start with read-only search and inspection tools. Opt in to writes and administration only when the workflow calls for them.

$ pnpm dlx @typesensekit/mcp
Explore the Typesense MCP server

One workflow, end to end

From cluster to answer in seconds.

The demo is deterministic and credential-free. It mirrors the real operation names and output flow without connecting to your cluster.

search-flow.tsk

$ tsk profile add production --url https://search.example.com

API key: •••••••••••• saved securely

$ tsk collections.retrieve --input '{"collection":"products"}'

18 fields · 24,891 documents · default_sorting_field: popularity

$ tsk documents.search --input '{"collection":"products","params":{"q":"oak chair","query_by":"title"}}'

✓ 12 matches in 38ms

agent Summarize the in-stock matches under €500.

TypesenseKit MCP · documents.search

I found 12 matching chairs. The strongest value options are:

Oda Oak Dining Chair€289
Nordic Solid Oak Chair€349
Arne Low-Back Chair€425

Why TypesenseKit

Less glue. More repeatable operations.

Use the official client in application code. Reach for TypesenseKit when humans, automation, and agents need the same operational surface.

Capabilitycurl scriptsTypesense clientBasic MCP wrapperTypesenseKit
Terminal-first UXManualBuilt in
MCP toolsYesYes
Shared operation namesVariesCLI + MCP
Input validationYou build itClient typesVariesBefore requests
Safe defaultsYou build themApplication-ownedVariesRead-only + prompts
API escape hatchAny endpointClient surfaceVariesapi.call

Real operational work

From first collection to production maintenance.

First-class operations target Typesense v30.2, with a raw API escape hatch for endpoints that land sooner.

01 / Collections

Inspect and evolve schemas

List, create, update, delete, and wait for schema changes from one predictable interface.

02 / Documents

Move data with confidence

Import, export, index, upsert, search, retrieve, and delete documents with structured inputs.

03 / Search

Debug relevance faster

Run searches, multi-searches, facet exploration, suggestions, and saved preset workflows.

04 / Configuration

Synchronize search behavior

Operate aliases, presets, synonym sets, curation sets, stopwords, and stemming dictionaries.

05 / AI search

Manage conversational search

Work with natural-language search models, conversation models, and conversation history.

06 / System

See cluster health

Check health, metrics, stats, debug data, slow requests, snapshots, and maintenance operations.

Designed for operational safety

Power without casual risk.

Typesense administration touches data and credentials. TypesenseKit makes the safe path the easy path for both humans and agents.

01

Read-only by default

The MCP server exposes search, reads, collection metadata, and status checks unless full access is explicitly enabled.

02

Secrets stay out of output

Secure prompts, stdin input, macOS Keychain profiles, and redaction utilities reduce accidental API-key exposure.

03

Destructive work asks first

The CLI confirms destructive operations. Non-interactive bypass requires a deliberate --yes.

04

Validate before the network

Structured schemas catch malformed operation inputs before requests reach your Typesense cluster.

Open source · MIT

Make Typesense operations easier for everyone.

If TypesenseKit saves you a script, a dashboard detour, or an unsafe agent integration, star the repository so the next developer can find it.