Skip to main content
Glama

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": { "typesense": { "command": "uv", "args": ["--directory", "~/typesense-mcp-server", "run", "mcp", "run", "main.py"], "env": { "TYPESENSE_HOST": "", "TYPESENSE_PORT": "", "TYPESENSE_PROTOCOL": "", "TYPESENSE_API_KEY": "" } } } }

Related MCP server: SearXNG Model Context Protocol Server

可用工具

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 - 对特定集合执行矢量相似性搜索

Latest Blog Posts

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/avarant/typesense-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server