Skip to main content
Glama
OrionPotter

Meilisearch MCP Server

by OrionPotter

reset-embedders

Reset embedder configurations for a Meilisearch index to restore default vector search settings and resolve embedding-related issues.

Instructions

Reset the embedders configuration for an index

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
indexUidYesUnique identifier of the index

Implementation Reference

  • Executes the reset-embedders tool by deleting the embedders configuration for the given indexUid via the API client.
    async ({ indexUid }) => { try { const response = await apiClient.delete(`/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 reset-embedders tool.
    { indexUid: z.string().describe("Unique identifier of the index"), },
  • Registers the reset-embedders tool on the MCP server with its name, description, input schema, and handler function.
    "reset-embedders", "Reset the embedders configuration for an index", { indexUid: z.string().describe("Unique identifier of the index"), }, async ({ indexUid }) => { try { const response = await apiClient.delete(`/indexes/${indexUid}/settings/embedders`); return { content: [{ type: "text", text: JSON.stringify(response.data, null, 2) }], }; } catch (error) { return createErrorResponse(error); } } );
  • src/index.ts:68-68 (registration)
    Registers the vector tools module (including reset-embedders) on the main MCP server instance.
    registerVectorTools(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