get-version
Retrieve Meilisearch version details via the Meilisearch MCP Server to ensure compatibility and monitor system updates.
Instructions
Get Meilisearch version information
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/meilisearch_mcp/server.py:555-559 (handler)The handler function within the call_tool method that executes the 'get-version' tool. It calls MeilisearchClient.get_version() and returns the version information as text content.elif name == "get-version": version = self.meili_client.get_version() return [ types.TextContent(type="text", text=f"Version info: {version}") ]
- src/meilisearch_mcp/server.py:105-113 (registration)Registration of the 'get-version' tool in the list_tools handler, including its name, description, and input schema (no parameters required).types.Tool( name="get-version", description="Get Meilisearch version information", inputSchema={ "type": "object", "properties": {}, "additionalProperties": False, }, ),
- Input schema for the 'get-version' tool: an empty object with no properties.inputSchema={ "type": "object", "properties": {}, "additionalProperties": False,
- src/meilisearch_mcp/client.py:43-45 (helper)Supporting helper method in MeilisearchClient that delegates to the underlying Meilisearch Python client's get_version() method.def get_version(self) -> Dict[str, Any]: """Get Meilisearch version information""" return self.client.get_version()