Skip to main content
Glama
OrionPotter

Meilisearch MCP Server

by OrionPotter

health

Check if the Meilisearch server is operational and responding to requests to ensure search functionality is available.

Instructions

Check if the Meilisearch server is healthy

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Registration of the 'health' MCP tool, including its description, empty input schema, and inline handler function that queries the Meilisearch /health endpoint.
    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); } } );
  • The core handler logic for the 'health' tool: performs a GET request to '/health', returns formatted JSON response or error.
    async () => { try { const response = await apiClient.get('/health'); return { content: [{ type: 'text', text: JSON.stringify(response.data, null, 2) }], }; } catch (error) { return createErrorResponse(error); } } );
  • src/index.ts:69-69 (registration)
    Invocation of registerSystemTools which includes the 'health' tool registration on the main MCP server instance.
    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/OrionPotter/iflow-mcp_meilisearch-ts-mcp'

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