get-experimental-features
Retrieve the status of experimental features in Meilisearch to manage and evaluate upcoming functionalities for enhanced search index and document handling.
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:44-53 (handler)The handler function for the 'get-experimental-features' tool. It performs a GET request to the '/experimental-features' endpoint and returns the JSON-formatted response or an error.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:40-54 (registration)Registers the 'get-experimental-features' tool on the MCP server with name, description, empty input schema (no parameters), and inline handler function.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/index.ts:68-68 (registration)Calls registerVectorTools to register all vector-related tools, including 'get-experimental-features', on the main MCP server instance.registerVectorTools(server);