Skip to main content
Glama
OrionPotter

Meilisearch MCP Server

by OrionPotter

get-embedders

Retrieve configured embedders for a Meilisearch index to manage vector search settings and enable semantic search functionality.

Instructions

Get the embedders configuration for an index

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
indexUidYesUnique identifier of the index

Implementation Reference

  • Executes the tool by fetching embedders configuration from Meilisearch API for the given indexUid.
    async ({ indexUid }) => { try { const response = await apiClient.get(`/indexes/${indexUid}/settings/embedders`); return { content: [{ type: "text", text: JSON.stringify(response.data, null, 2) }], }; } catch (error) { return createErrorResponse(error); } }
  • Zod schema defining the input parameters for the tool.
    { indexUid: z.string().describe("Unique identifier of the index"), },
  • Registers the 'get-embedders' tool on the MCP server with name, description, input schema, and handler function.
    server.tool( "get-embedders", "Get the embedders configuration for an index", { indexUid: z.string().describe("Unique identifier of the index"), }, async ({ indexUid }) => { try { const response = await apiClient.get(`/indexes/${indexUid}/settings/embedders`); 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