Skip to main content
Glama
meilisearch

Meilisearch MCP Server

Official
by meilisearch

get-connection-settings

Retrieve current Meilisearch connection settings for integration and configuration with LLM interfaces like Claude.

Instructions

Get current Meilisearch connection settings

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The execution handler for the 'get-connection-settings' tool. It returns a text content with the current Meilisearch URL and a masked API key (first 8 characters shown if set).
    if name == "get-connection-settings":
        return [
            types.TextContent(
                type="text",
                text=f"Current connection settings:\nURL: {self.url}\nAPI Key: {'*' * 8 if self.api_key else 'Not set'}",
            )
        ]
  • Registration of the tool in the list_tools() handler, defining its name, description, and input schema (empty object).
    types.Tool(
        name="get-connection-settings",
        description="Get current Meilisearch connection settings",
        inputSchema={
            "type": "object",
            "properties": {},
            "additionalProperties": False,
        },
    ),
  • Input schema for the tool: an empty object with no properties and no additional properties allowed.
            "type": "object",
            "properties": {},
            "additionalProperties": False,
        },
    ),

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/meilisearch/meilisearch-mcp'

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