Skip to main content
Glama
mixelpixx

meMCP - Memory-Enhanced Model Context Protocol

config_get_settings

Retrieve configuration settings from the meMCP server to manage and optimize persistent memory for Large Language Models (LLMs), ensuring continuous learning and knowledge retention across sessions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The main handler function for 'config_get_settings' tool. It calls this.configManager.getSettings() to fetch settings, formats them into a markdown response listing each key-value pair, and returns as text content. Includes error handling.
    async handleGetSettings(args) { try { const settings = this.configManager.getSettings(); let response = `⚙️ **System Settings**\n\n`; for (const [key, value] of Object.entries(settings)) { response += `**${key}:** ${typeof value === 'object' ? JSON.stringify(value) : value}\n`; } return { content: [ { type: 'text', text: response.trim(), }, ], }; } catch (error) { return { content: [ { type: 'text', text: `Error getting settings: ${error.message}`, }, ], isError: true, }; }
  • Registers the 'config_get_settings' tool with the MCP server. Specifies empty input schema (no parameters), description, and points to the handleGetSettings handler function.
    // Register config_get_settings tool server.registerTool( 'config_get_settings', 'Get current system settings', { type: 'object', properties: {}, }, async (args) => { return await this.handleGetSettings(args); } );
  • Input schema for the tool: an empty object (no required parameters).
    { type: 'object', properties: {}, },

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/mixelpixx/meMCP'

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