TypesenseKit MCP Server
OfficialClick on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@TypesenseKit MCP Serversearch my products collection for oak chairs"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Operate Typesense from your terminal or AI agent
TypesenseKit gives humans and AI agents the same 95 typed Typesense operations through a human-friendly CLI and secure MCP server. MCP access is read-only by default; write, delete, key-management, and raw API tools require explicit opt-in.
Website · Typesense CLI · Typesense MCP · Guides
pnpm add -g @typesensekit/cli
# Securely prompts for the API key
tsk profile add local --url http://localhost:8108
tsk profile use local
# Discover the input, then run the operation
tsk documents.search --examples
tsk documents.search --input '{"collection":"products","params":{"q":"oak chair","query_by":"title"}}' --jsonRelated MCP server: production-grade-mcp-agentic-system
Why TypesenseKit
Typesense work often jumps between dashboards, one-off scripts, local curl commands, and agent experiments. TypesenseKit keeps those workflows on one predictable surface:
Use the same operation names from the CLI and MCP server.
Validate structured inputs before requests reach Typesense.
Get readable terminal output or stable, redacted JSON for scripts.
Keep secrets out of shell history with secure prompts, stdin, or macOS Keychain profiles.
Confirm destructive CLI operations before they run.
Give AI clients read-only tools by default, then opt in to writes deliberately.
Reach newer or uncommon endpoints through the raw
api.callescape hatch.
One-off scripts | Typesense client | Basic MCP wrapper | TypesenseKit | |
Terminal-first workflow | Manual | — | — | Built in |
MCP tools | — | — | Yes | Yes |
Shared CLI/MCP operations | — | — | Varies | Yes |
Safe operational defaults | You build them | Application-owned | Varies | Read-only + confirmations |
Use the official Typesense client in application code. Use TypesenseKit when humans, scripts, and agents need to perform the same operational work.
CLI
Install the public CLI package:
pnpm add -g @typesensekit/cliCreate a profile interactively, pipe a key over stdin for automation, or use macOS Keychain:
# Interactive secure prompt
tsk profile add local --url http://localhost:8108
# Scripted setup without putting the key in argv or shell history
printf '%s' "$TYPESENSE_API_KEY" | tsk profile add ci \
--url https://search.example.com --api-key-stdin
# Keychain-backed profile on macOS
tsk profile add production --url https://search.example.com --keychainEvery operation supports generated schemas and examples. Common results render as tables; pass --json for stable automation output.
tsk operations
tsk collections.list --input '{}'
tsk documents.search --schema
tsk documents.search --examples
tsk collections.list --input '{}' --jsonEnable shell completion:
source <(tsk completion zsh)
source <(tsk completion bash)
tsk completion fish | sourceSee the Typesense CLI overview or read the complete CLI guide for profiles, environment-only use, JSON input, completion, and destructive-operation behavior.
MCP Server
Run the stdio server directly. It exposes search, reads, collection metadata, configuration reads, and system status operations by default.
TYPESENSE_URL=http://localhost:8108 \
TYPESENSE_API_KEY=xyz \
pnpm dlx @typesensekit/mcpWrite, delete, key-management, and raw API tools stay hidden unless full access is explicitly enabled:
TYPESENSEKIT_READ_ONLY=false \
TYPESENSE_URL=http://localhost:8108 \
TYPESENSE_API_KEY=xyz \
pnpm dlx @typesensekit/mcpGenerate client configuration from the CLI:
tsk skills mcp
tsk skills claude-desktop
tsk skills claude-code
tsk skills hermesSee the Typesense MCP overview, MCP guide, and client setup guide for Claude Desktop, Claude Code, Codex, Cursor, generic MCP clients, Streamable HTTP, and Docker.
MCP resources
Resource | Purpose |
| Operations exposed by the current MCP mode |
| Tools included in the default read-only mode |
| Collection schema lookup |
| Document lookup |
What You Can Operate
TypesenseKit targets the Typesense v30.2 API for current first-class operations:
Collections, schema changes, documents, imports, exports, search, multi-search, facets, and suggestions
Aliases, presets, global synonym and curation sets, stopwords, stemming dictionaries, and legacy collection configuration
API keys, analytics rules and events, natural-language search models, conversations, and conversation history
Health, metrics, stats, debug information, snapshots, slow-request logging, database maintenance, and other system operations
The generated API coverage inventory is the source of truth for operation names and compatibility notes. Use api.call for endpoints that are new, uncommon, or not yet wrapped.
Security
Typesense administration touches data and credentials. Keep the MCP server read-only for assistant-facing deployments, use narrowly scoped Typesense keys, and protect any Streamable HTTP deployment with authentication and network controls.
Development
corepack enable
pnpm install
pnpm checkRun a local Typesense server:
docker run -p 8108:8108 \
-e TYPESENSE_API_KEY=xyz \
-e TYPESENSE_DATA_DIR=/data \
typesense/typesense:30.2 --enable-corsRun the landing page locally:
pnpm dev:webSee CONTRIBUTING.md for development and release rules.
License
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceProduction-grade MCP server that gives AI agents safe access to your local dev environment: filesystem, databases, processes, and OpenAPI specs.Last updated15523MIT
- Alicense-qualityDmaintenanceA production-grade MCP server designed for multi-tenant, authenticated, and observable AI agent systems, enabling secure tool execution across heterogeneous data sources.Last updated52MIT
- Alicense-qualityCmaintenanceA secure, production-grade MCP server that provides filesystem operations, AST math evaluation, and system diagnostics for LLM agents.Last updatedMIT
- AlicenseAqualityAmaintenanceA safe, structured MCP server that lets AI inspect and operate a VPS through typed, allowlisted tools for nginx, PM2, SSL, UFW, fail2ban, with read-only defaults and opt-in mutations.Last updated61502MIT
Related MCP Connectors
Agent-native MCP server over the public saagarpatel.dev corpus. Read-only, stateless.
Personal assistant MCP server with search, execute, packages, jobs, secrets, and integrations.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/typesensekit/typesensekit'
If you have feedback or need assistance with the MCP directory API, please join our Discord server