Skip to main content
Glama
devlimelabs

Meilisearch MCP Server

by devlimelabs

health

Check the operational status of the Meilisearch server to verify its availability and functionality for search operations.

Instructions

Check if the Meilisearch server is healthy

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function for the 'health' tool. It sends a GET request to the Meilisearch '/health' endpoint using apiClient and returns the JSON response or an error response.
    async () => { try { const response = await apiClient.get('/health'); return { content: [{ type: 'text', text: JSON.stringify(response.data, null, 2) }], }; } catch (error) { return createErrorResponse(error); } }
  • Registers the 'health' tool on the MCP server with the given name, description, and empty input schema (no parameters required). The handler is provided inline.
    server.tool( 'health', 'Check if the Meilisearch server is healthy', {},
  • src/index.ts:69-69 (registration)
    Top-level call to registerSystemTools, which registers the system tools including the 'health' tool.
    registerSystemTools(server);

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/devlimelabs/meilisearch-ts-mcp'

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