Typesense MCP Server
Typesense MCP 服务器
一个与 Typesense 进行交互的 模型上下文协议 (MCP) 服务器。
安装
通过 Smithery 安装
要通过 Smithery 自动为 Claude Desktop 安装 Typesense 服务器集成:
npx -y @smithery/cli install @avarant/typesense-mcp-server --client claude手动安装
安装 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: Better Qdrant MCP Server
传输方式
该服务器支持两种 MCP 传输方式。STDIO 是默认方式,也是大多数桌面客户端(Claude Desktop、Cursor 等)所使用的。对于远程客户端、Web UI 或像 llama.cpp 聊天这样的无状态工具,你可以将其作为 HTTP SSE 监听器运行。
STDIO (默认)
TYPESENSE_API_KEY=xyz uv run python main.pyHTTP / SSE
设置 MCP_TRANSPORT=sse(或传递 --sse),并可选择覆盖主机/端口:
TYPESENSE_API_KEY=xyz \
MCP_TRANSPORT=sse \
MCP_HOST=0.0.0.0 \
MCP_PORT=8000 \
uv run python main.py服务器随后会暴露以下接口:
GET http://<host>:<port>/sse— SSE 事件流(客户端在此连接)POST http://<host>:<port>/messages/— JSON-RPC 消息端点
环境变量 | 默认值 | 描述 |
|
|
|
|
| SSE 模式的绑定地址 |
|
| SSE 模式的绑定端口 |
可用工具
Typesense MCP 服务器提供以下工具:
服务器管理
check_typesense_health- 检查已配置的 Typesense 服务器的健康状态list_collections- 获取 Typesense 服务器中所有集合的列表
集合管理
describe_collection- 获取特定集合的模式和元数据export_collection- 导出特定集合中的所有文档create_collection- 使用提供的模式创建一个新集合delete_collection- 删除特定集合truncate_collection- 清空集合,删除所有文档但保留模式
文档操作
create_document- 在特定集合中创建一个新文档upsert_document- 在特定集合中插入或更新(upsert)单个文档index_multiple_documents- 批量索引(创建、插入或更新)多个文档delete_document- 通过 ID 从特定集合中删除单个文档import_documents_from_csv- 将 CSV 数据中的文档导入到集合中
搜索功能
search- 在特定集合上执行关键词搜索vector_search- 在特定集合上执行向量相似度搜索
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
- AlicenseAqualityCmaintenanceA Model Context Protocol server providing vector database capabilities through Chroma, enabling semantic document search, metadata filtering, and document management with persistent storage.641MIT
- AlicenseBqualityCmaintenanceA Model Context Protocol server that enables semantic search capabilities by providing tools to manage Qdrant vector database collections, process and embed documents using various embedding services, and perform semantic searches across vector embeddings.41644MIT
- Alicense-qualityDmaintenanceA Model Context Protocol server that provides AI assistants with direct access to local document collections through full-text search, supporting multiple formats and hierarchical collections.MIT
- Alicense-qualityBmaintenanceA local-first semantic search server for documents, supporting PDFs, Office files, and text/markdown, enabling natural language search via the Model Context Protocol (MCP).1MIT
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A Model Context Protocol server for Wix AI tools
Remote ChromaDB vector database MCP server with streamable HTTP transport
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/avarant/typesense-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server