get-experimental-features
Check the activation status of experimental features in Meilisearch to determine which advanced capabilities are available for testing.
Instructions
Get the status of experimental features in Meilisearch
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/vector-tools.ts:40-54 (registration)Registration of the 'get-experimental-features' MCP tool, including its description, empty input schema, and inline handler function that retrieves the experimental features status from the Meilisearch API and returns the JSON response or an error.server.tool( "get-experimental-features", "Get the status of experimental features in Meilisearch", {}, async () => { try { const response = await apiClient.get('/experimental-features'); return { content: [{ type: "text", text: JSON.stringify(response.data, null, 2) }], }; } catch (error) { return createErrorResponse(error); } } );
- src/tools/vector-tools.ts:44-53 (handler)The core handler function for the 'get-experimental-features' tool. It makes a GET request to '/experimental-features' using apiClient, formats the response as text content, or handles errors using createErrorResponse.async () => { try { const response = await apiClient.get('/experimental-features'); 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 on the MCP server instance, thereby registering the 'get-experimental-features' tool along with other vector tools.registerVectorTools(server);