config_export
Export configuration settings from the Memory-Enhanced Model Context Protocol (meMCP) server to manage and transfer persistent memory and learning configurations for Large Language Models (LLMs).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/ConfigurationTools.js:264-287 (handler)Main handler for config_export tool: calls configManager.exportConfiguration() and formats the JSON response.async handleExport(args) { try { const configData = await this.configManager.exportConfiguration(); return { content: [ { type: 'text', text: `📤 **Configuration Export**\n\n\`\`\`json\n${configData}\n\`\`\`\n\n*Copy this JSON to backup or share your configuration*`, }, ], }; } catch (error) { return { content: [ { type: 'text', text: `Error exporting configuration: ${error.message}`, }, ], isError: true, }; } }
- src/tools/ConfigurationTools.js:124-135 (registration)Registers the config_export tool with the MCP server, including description, empty input schema, and links to handleExport.// Register config_export tool server.registerTool( 'config_export', 'Export all configuration as JSON', { type: 'object', properties: {}, }, async (args) => { return await this.handleExport(args); } );
- Input schema for config_export: no parameters required.type: 'object', properties: {}, },
- Supporting method that gathers configuration data and serializes it to JSON string.async exportConfiguration() { const exportData = { factTypes: this.config.factTypes, scoringWeights: this.config.scoringWeights, settings: this.config.settings, exportedAt: new Date().toISOString(), version: '1.0.0', }; return JSON.stringify(exportData, null, 2); }
- src/core/SequentialGraphitiIntegration.js:83-83 (registration)Calls registerTools on ConfigurationTools instance, which includes config_export registration.await this.configurationTools.registerTools(server);