Skip to main content
Glama
OrionPotter

Meilisearch MCP Server

by OrionPotter

info

Retrieve Meilisearch server system information to monitor performance, check status, and verify configuration for search operations.

Instructions

Get the system information of the Meilisearch server

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function for the 'info' tool. It makes a GET request to the root endpoint ('/') of the Meilisearch server using apiClient, stringifies the response data as JSON, and returns it in the MCP content format. Errors are handled via createErrorResponse.
    async () => { try { const response = await apiClient.get('/'); return { content: [{ type: 'text', text: JSON.stringify(response.data, null, 2) }], }; } catch (error) { return createErrorResponse(error); } }
  • Registration of the 'info' tool on the MCP server within the registerSystemTools function. It specifies the tool name, description, empty input schema ({}), and the 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)
    Invocation of registerSystemTools on the main MCP server instance, which registers the 'info' tool among other system tools.
    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