Back to Home
JuniorJoanis icon

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

Run Command
python -m meilisearch_docs_mcp

Environment 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

Stats

Interest Score0
Security Score3
Cost ClassMedium
Avg Tokens3500
Stars0
Forks0
Last Update2025-11-19

Tags

MeilisearchDocumentationLLM IntegrationSearchModel Context Protocol