Skip to main content
Glama
devlimelabs

Meilisearch MCP Server

by devlimelabs

version

Retrieve the current version details of the connected Meilisearch server to verify compatibility and monitor updates.

Instructions

Get the version information of the Meilisearch server

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Registers the MCP 'version' tool: fetches Meilisearch server version via /version endpoint and returns formatted JSON response or error.
    server.tool( 'version', 'Get the version information of the Meilisearch server', {}, async () => { try { const response = await apiClient.get('/version'); 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, which includes the 'version' tool registration.
    registerSystemTools(server);
  • Handler implementation for 'version' tool within the registration block.
    server.tool( 'version', 'Get the version information of the Meilisearch server', {}, async () => { try { const response = await apiClient.get('/version'); 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