get-experimental-features
Check the status of experimental features in Meilisearch to understand available capabilities and their activation state.
Instructions
Get the status of experimental features in Meilisearch
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {},
"type": "object"
}
Implementation Reference
- src/tools/vector-tools.ts:44-53 (handler)The handler function fetches the experimental features status from the Meilisearch API at '/experimental-features' and returns the JSON response as text content. Errors are handled by 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/tools/vector-tools.ts:40-54 (registration)Registers the 'get-experimental-features' tool with the MCP server. It has no input parameters (empty schema) and uses the inline handler function to retrieve and return experimental features status.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 on the MCP server, which includes the registration of 'get-experimental-features' among other vector tools.registerVectorTools(server);