Skip to main content
Glama
devlimelabs

Meilisearch MCP Server

by devlimelabs

info

Retrieve detailed system information from the Meilisearch server to monitor performance and server status using the MCP interface.

Instructions

Get the system information of the Meilisearch server

Input Schema

NameRequiredDescriptionDefault

No arguments

Input Schema (JSON Schema)

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

Implementation Reference

  • The handler function for the 'info' tool. Performs a GET request to the Meilisearch root endpoint ('/') via apiClient, formats the response as JSON text, and handles errors using createErrorResponse.
    async () => { try { const response = await apiClient.get('/'); return { content: [{ type: 'text', text: JSON.stringify(response.data, null, 2) }], }; } catch (error) { return createErrorResponse(error); } }
  • Registers the MCP 'info' tool with server.tool, providing name, description, empty input schema, and inline handler function.
    server.tool( 'info', 'Get the system information of the Meilisearch server', {}, async () => { try { const response = await apiClient.get('/'); return { content: [{ type: 'text', text: JSON.stringify(response.data, null, 2) }], }; } catch (error) { return createErrorResponse(error); } } );
  • src/index.ts:69-69 (registration)
    Top-level call to registerSystemTools on the MCP server instance, which registers the 'info' tool among others.
    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