Skip to main content
Glama
devlimelabs

Meilisearch MCP Server

by devlimelabs

enable-vector-search

Activate the experimental vector search feature in Meilisearch to enhance search capabilities with AI-driven semantic understanding through the MCP server interface.

Instructions

Enable the vector search experimental feature in Meilisearch

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Registration of the 'enable-vector-search' tool using server.tool(). Includes empty input schema and inline handler that enables the vector store experimental feature via Meilisearch API POST to '/experimental-features'.
    server.tool( "enable-vector-search", "Enable the vector search experimental feature in Meilisearch", {}, async () => { try { const response = await apiClient.post('/experimental-features', { vectorStore: true, }); return { content: [{ type: "text", text: JSON.stringify(response.data, null, 2) }], }; } catch (error) { return createErrorResponse(error); } } );
  • Inline handler function for 'enable-vector-search' tool. Executes POST request to enable vector store feature and returns formatted response or error.
    async () => { try { const response = await apiClient.post('/experimental-features', { vectorStore: true, }); return { content: [{ type: "text", text: JSON.stringify(response.data, null, 2) }], }; } catch (error) { return createErrorResponse(error); } }
  • src/index.ts:68-68 (registration)
    Top-level registration call that invokes registerVectorTools to add vector tools, including 'enable-vector-search', to the MCP server.
    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/devlimelabs/meilisearch-ts-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server