Skip to main content
Glama
mixelpixx

meMCP - Memory-Enhanced Model Context Protocol

config_get_settings

Retrieve current configuration settings from the memory-enhanced MCP server to manage persistent storage and learning parameters.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Registers the 'config_get_settings' tool with no input parameters, delegating execution to the handleGetSettings method.
    server.registerTool(
      'config_get_settings',
      'Get current system settings',
      {
        type: 'object',
        properties: {},
      },
      async (args) => {
        return await this.handleGetSettings(args);
      }
    );
  • The main handler function for the tool. Retrieves system settings from configManager, formats them into a markdown response, and returns it. Handles errors gracefully.
    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,
        };
      }
  • Input schema for the tool: an empty object (no parameters required).
    {
      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