
meilisearch lite mcp
提供单个 Docker 容器,集成 Meilisearch 和 MCP 服务,支持日英 Markdown 搜索。
Repository Info
About This Server
提供单个 Docker 容器,集成 Meilisearch 和 MCP 服务,支持日英 Markdown 搜索。
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
Meilisearch + MCP Server (Single‑Container)
This repository provides a single Docker container that bundles:
- Meilisearch (full‑text + vector search engine, with built‑in Japanese tokenizer Lindera).
- Meilisearch MCP server (
meilisearch-mcpPython package) for Model Context Protocol integration.
Features
- Japanese & English Markdown search using Lindera tokenizer.
- Auto‑index up to three host‑mounted directories of
.mdfiles at container startup. - Configurable startup behavior via environment variables:
DOCUMENT_DIRS(comma‑separated host paths, e.g./host/one,/host/two,/host/three)CHECK_RETRIES(health‑check polling attempts, default:30)MEILI_MASTER_KEY(default:masterKey)
MCP Client Configuration Example
If you are using an MCP client that requires a configuration file (e.g., in JSON format) and supports launching the MCP server as a subprocess using Docker, here is an example of how you might configure it:
{
"mcpServers": {
"meilisearch-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e", "DOCUMENT_DIRS",
"-v", "/path/to/your/repo/example/spec:/app/example/spec",
"-v", "/path/to/your/repo/example/guide:/app/example/guide",
"ghcr.io/upamune/meilisearch-lite-mcp:latest"
],
"env": {
"DOCUMENT_DIRS": "/app/example/spec,/app/example/guide"
}
}
}
}
This example shows how a client could potentially launch the Docker container as a subprocess. Replace /path/to/your/repo/example/spec and /path/to/your/repo/example/guide with the actual paths on your host machine. The exact configuration format may vary depending on the MCP client you are using.
Files
-
Dockerfile Single‑stage build: installs runtime deps, clones & installs
meilisearch-mcp, downloads Meilisearch binary, and sets up entrypoint. -
entrypoint.sh
- Launches Meilisearch in background.
- Polls
/healthuntil{"status":"available"}. - Finds and indexes
.mdfiles in eachDOCUMENT_DIRSpath. - Starts the MCP server.
Usage
Run the container using the image from GitHub Container Registry (GHCR):
docker run --pull always --rm \
-e DOCUMENT_DIRS="/app/example/spec,/app/example/guide" \
-e CHECK_RETRIES=30 \
-v /path/to/your/repo/example/spec:/app/example/spec \
-v /path/to/your/repo/example/guide:/app/example/guide \
ghcr.io/upamune/meilisearch-lite-mcp:latest
Quick Start
Clone the repository
git clone https://github.com/upamune/meilisearch-lite-mcpInstall dependencies
cd meilisearch-lite-mcp
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.