Typesense MCP Server

by avarant
Verified

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Integrations

  • Offers a Python-based implementation of the MCP server that connects to Typesense.

  • Enables running shell commands to install, configure and operate the Typesense MCP server.

Typesense MCP 服务器

Typesense接口的模型上下文协议(MCP) 服务器

安装

安装uv

在 Mac 上,您可以使用homebrew安装它

brew install uv

克隆包

git clone git@github.com:avarant/typesense-mcp-server.git ~/typesense-mcp-server

更新.cursor/mcp.json以便在Cursor中使用

{ "mcpServers": { "server-name": { "command": "uv", "args": ["--directory", "~/typesense-mcp-server", "run", "mcp", "run", "main.py"], "env": { "TYPESENSE_HOST": "", "TYPESENSE_PORT": "", "TYPESENSE_PROTOCOL": "", "TYPESENSE_API_KEY": "" } } } }

可用工具

Typesense MCP 服务器提供以下工具:

服务器管理

  • check_typesense_health - 检查已配置的 Typesense 服务器的健康状态
  • list_collections - 检索 Typesense 服务器中所有集合的列表

收藏管理

  • describe_collection - 检索特定集合的架构和元数据
  • export_collection - 从特定集合中导出所有文档
  • create_collection - 使用提供的架构创建一个新集合
  • delete_collection - 删除特定集合
  • truncate_collection - 通过删除所有文档但保留架构来截断集合

文档操作

  • create_document - 在特定集合中创建一个新文档
  • upsert_document - 更新(创建或更新)特定集合中的单个文档
  • index_multiple_documents - 批量索引(创建、插入或更新)多个文档
  • delete_document - 根据 ID 从特定集合中删除单个文档
  • import_documents_from_csv - 将 CSV 数据中的文档导入到集合中

搜索功能

  • search - 对特定集合执行关键字搜索
  • vector_search - 对特定集合执行矢量相似性搜索

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

通过模型上下文协议在 Typesense 数据库中启用向量和关键字搜索功能的服务器,提供集合管理、文档操作和搜索功能的工具。

  1. Installation
    1. Available Tools
      1. Server Management
      2. Collection Management
      3. Document Operations
      4. Search Capabilities
    ID: hgixq30f32