Skip to main content
Glama
devlimelabs

Meilisearch MCP Server

by devlimelabs

health

Monitor the Meilisearch server's operational status to ensure it is functioning correctly. Use this tool to quickly verify health without additional inputs, maintaining reliable search and document management.

Instructions

Check if the Meilisearch server is healthy

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Handler function for the 'health' tool. It makes a GET request to the Meilisearch '/health' endpoint and returns the response as text content, or an error response if failed.
    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 with the MCP server. Name: 'health', description: 'Check if the Meilisearch server is healthy', no input parameters.
    server.tool( 'health', 'Check if the Meilisearch server is healthy', {}, async () => { try { const response = await apiClient.get('/health'); return { content: [{ type: 'text', text: JSON.stringify(response.data, null, 2) }], }; } catch (error) { return createErrorResponse(error); } } );

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