meilisearch-documentation-mcp
by JuniorJoanis
Overview
Exposes Meilisearch documentation as structured tools, resources, and prompts for LLMs to facilitate intelligent querying and integration of technical information.
Installation
python -m meilisearch_docs_mcpEnvironment Variables
- MEILISEARCH_DOCS_REPO_URL
- MEILISEARCH_DOCS_CACHE_DIR
- MEILISEARCH_DOCS_INDEX_DIR
- MEILISEARCH_DOCS_REPO_BRANCH
- MEILISEARCH_DOCS_SEARCH_LIMIT
Security Notes
The `read_resource` function, when handling a resource URI, uses `pathlib.Path` to combine the `repo_path` (local repository clone directory) with `doc_path` (extracted from the URI, which can contain user-controlled input and is URL-decoded). This is vulnerable to path traversal attacks (e.g., `meilisearch-docs://../../../../etc/passwd`), potentially allowing an LLM or malicious user to read arbitrary files on the host system. Although `pathlib.Path` handles `..` sequences, it does not prevent resolving paths outside the intended base directory. Additionally, the system relies on Git cloning and local file system operations, and while configurations are via environment variables, general host filesystem access should be considered when deploying.
Similar Servers
mcp-server
Provides a Model Context Protocol (MCP) server for AI agents to search and retrieve curated documentation for the Strands Agents framework, facilitating AI coding assistance.
meilisearch-mcp
Connect LLMs to Meilisearch for natural language interaction and management of search indices and data.
mcp-server-llmling
mcp-server-llmling serves as a Machine Chat Protocol (MCP) server, providing a YAML-based system to configure and manage LLM applications, including resources, prompts, and tools.
lyra-tool-discovery
This MCP server is designed to fetch, parse, and organize documentation from websites implementing the llms.txt standard. It transforms raw documentation into structured, agent-ready formats, exposing tools for AI agents, LLMs, and automation workflows to consume documentation programmatically.