
This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

A Model Context Protocol server that interfaces with Typesense, offering tools for server health, collection management, document operations, and keyword or vector search.
Typesense MCP Server is cataloged as an MCP server attributed to avarant. A Model Context Protocol server that interfaces with Typesense, offering tools for server health, collection management, document operations, and keyword or vector search. It is categorized under databases storage. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Typesense MCP Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
It supports STDIO (the default), legacy SSE, and Streamable HTTP transports.
HTTP transports bind to loopback by default, enforce host/origin checks, and require a bearer token when listening on a non-loopback address.
README.md · 995ad514e56a · Fetched 2026-11-13 10:23:10 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
A Model Context Protocol (MCP) Server that interfaces with Typesense
Install uv
Requires Python 3.11 or higher.
On Mac you can install it using homebrew
brew install uv
Clone the package
git clone git@github.com:avarant/typesense-mcp-server.git ~/typesense-mcp-server
Add the server to your MCP client config. Most clients (Cursor at ~/.cursor/mcp.json, Claude Desktop at ~/Library/Application Support/Claude/claude_desktop_config.json, Windsurf, Zed, VS Code, etc.) accept the same mcpServers shape:
{
"mcpServers": {
"typesense": {
"command": "uv",
"args": ["--directory", "~/typesense-mcp-server", "run", "mcp", "run", "main.py"],
"env": {
"TYPESENSE_HOST": "",
"TYPESENSE_PORT": "",
"TYPESENSE_PROTOCOL": "",
"TYPESENSE_API_KEY": ""
}
}
}
}
Refer to your client's MCP documentation for the exact config file location.
The server supports three MCP transports. STDIO is the default and is what most desktop clients (Claude Desktop, Cursor, etc.) use. For remote clients or web UIs, you can run it as an HTTP server using either the legacy SSE transport or the newer Streamable HTTP transport.
TYPESENSE_API_KEY=xyz uv run python main.py
Single endpoint at /mcp. Works with browser-based clients like the llama.cpp web chat. Set MCP_TRANSPORT=streamable-http (or pass --http):
TYPESENSE_API_KEY=xyz \
MCP_TRANSPORT=streamable-http \
MCP_STATELESS_HTTP=true \
MCP_CORS_ORIGINS='*' \
uv run python main.py
MCP_STATELESS_HTTP=true) is required for clients that don't keep an MCP session across requests.MCP_CORS_ORIGINS) for browser clients. Use a specific origin like http://localhost:8080 in production rather than *.The HTTP transports give full access to your Typesense instance using the configured API key, so they are locked down by default:
127.0.0.1 unless you set MCP_HOST.localhost, 127.0.0.1 or [::1] (plus anything in MCP_ALLOWED_HOSTS), and browser requests must come from a localhost page or an origin listed in MCP_CORS_ORIGINS. This blocks DNS-rebinding attacks from websites you visit. With MCP_CORS_ORIGINS='*', only localhost pages are allowed.MCP_HOST=0.0.0.0, MCP_AUTH_TOKEN, and MCP_ALLOWED_HOSTS to the hostname/IP clients use. Clients must then send Authorization: Bearer <token>. The server refuses to start on a non-loopback address without a token unless MCP_ALLOW_UNAUTHENTICATED=true (only for setups that enforce auth elsewhere, e.g. a reverse proxy).TYPESENSE_API_KEY=xyz \
MCP_TRANSPORT=streamable-http \
MCP_HOST=0.0.0.0 \
MCP_AUTH_TOKEN="$(openssl rand -hex 32)" \
MCP_ALLOWED_HOSTS=mcp.example.com \
uv run python main.py
When running the HTTP transport in Docker, set MCP_HOST=0.0.0.0 inside the container (plus a token), since connections from the host aren't loopback from the container's point of view.
Two endpoints, GET /sse for the event stream and POST /messages/ for JSON-RPC. Set MCP_TRANSPORT=sse (or pass --sse):
TYPESENSE_API_KEY=xyz MCP_TRANSPORT=sse uv run python main.py
| Env var | Default | Description |
|---|---|---|
MCP_TRANSPORT | stdio | stdio, sse, or streamable-http |
MCP_HOST | 127.0.0.1 | Bind address for HTTP transports |
MCP_PORT | 8000 | Bind port for HTTP transports |
MCP_AUTH_TOKEN | (empty) | Bearer token required on HTTP requests. Required when MCP_HOST is not loopback. |
MCP_ALLOWED_HOSTS | (empty) | Extra accepted Host values, comma-separated (localhost is always allowed). No port = any port. |
MCP_ALLOW_UNAUTHENTICATED | false | Allow a non-loopback MCP_HOST without MCP_AUTH_TOKEN (auth enforced elsewhere). |
MCP_STATELESS_HTTP | false | Stateless mode for HTTP transports (required for some web clients) |
MCP_CORS_ORIGINS | (empty) | Comma-separated allowed origins. Empty disables CORS. * = any. |
CSV_IMPORT_DIR | (empty) | Directory import_documents_from_csv may read files from. Empty disables file-path imports (inline CSV only). |
The Typesense MCP Server provides the following tools:
check_typesense_health - Checks the health status of the configured Typesense serverlist_collections - Retrieves a list of all collections in the Typesense serverdescribe_collection - Retrieves the schema and metadata for a specific collectionexport_collection - Exports all documents from a specific collectioncreate_collection - Creates a new collection with the provided schemadelete_collection - Deletes a specific collectiontruncate_collection - Truncates a collection by deleting all documents but keeping the schemacreate_document - Creates a single new document in a specific collectionupsert_document - Upserts (creates or updates) a single document in a specific collectionindex_multiple_documents - Indexes (creates, upserts, or updates) multiple documents in a batchdelete_document - Deletes a single document by its ID from a specific collectionimport_documents_from_csv - Imports documents from inline CSV data, or from a CSV file inside CSV_IMPORT_DIR, into a collectionsearch - Performs a keyword search on a specific collectionvector_search - Performs a vector similarity search on a specific collectionClaim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Typesense MCP Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/typesense-mcp-server)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

A Model Context Protocol server that lets AI assistants run SQL queries against AWS Athena databases and retrieve results.

A Model Context Protocol (MCP) server that exposes access to an InfluxDB v2 instance using the InfluxDB OSS API v2.