Skip to main content
Glama
OrionPotter

Meilisearch MCP Server

by OrionPotter

health

Check if the Meilisearch server is running and responding to requests. Use this tool to verify server availability and operational status.

Instructions

Check if the Meilisearch server is healthy

Input Schema

NameRequiredDescriptionDefault

No arguments

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "properties": {}, "type": "object" }

Implementation Reference

  • Handler function that fetches the health status from Meilisearch server via apiClient.get('/health') 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); } }
  • Registration of the 'health' MCP tool using server.tool() with name 'health', description, empty input schema, and inline handler function.
    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/OrionPotter/iflow-mcp_meilisearch-ts-mcp'

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