# Typesense MCP server

> Enables AI clients to manage collections, perform keyword and vector searches, and manipulate documents within a Typesense search engine.

- Repository: https://github.com/avarant/typesense-mcp-server
- Page: https://hostedmcp.org/servers/avarant/typesense-mcp-server
- Transport: —
- Stars: 10
- License: MIT

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `MCP_ALLOWED_HOSTS` | no | no |  |
| `MCP_AUTH_TOKEN` | no | no |  |
| `MCP_CORS_ORIGINS` | no | no |  |
| `MCP_HOST` | no | no |  |
| `MCP_STATELESS_HTTP` | no | no |  |
| `MCP_TRANSPORT` | no | no |  |
| `TYPESENSE_API_KEY` | no | no |  |
| `TYPESENSE_HOST` | no | no |  |
| `TYPESENSE_PORT` | no | no |  |
| `TYPESENSE_PROTOCOL` | no | no |  |

## Tools (14)

- `check_typesense_health`
- `list_collections`
- `describe_collection`
- `export_collection`
- `create_collection`
- `delete_collection`
- `truncate_collection`
- `create_document`
- `upsert_document`
- `index_multiple_documents`
- `delete_document`
- `import_documents_from_csv`
- `search`
- `vector_search`

## FAQ

### What transport methods does the server support?

The server supports STDIO (default), SSE (legacy), and Streamable HTTP (recommended for web clients).

### How can I perform a similarity search?

You can use the vector_search tool to perform vector similarity searches on a specific collection.

### Is there a way to import data from CSV files?

Yes, the import_documents_from_csv tool allows you to import documents from inline CSV data or from files located in the CSV_IMPORT_DIR directory.

### How is security handled for HTTP transports?

HTTP transports are locked down by default, listening on loopback only and requiring host/origin checks. For remote access, you must set an MCP_AUTH_TOKEN.
