Frontmatter
| id | 7804 |
| title | Add CLI argument parsing and Config refactoring to Memory Core MCP Server |
| state | Closed |
| labels | enhancementairefactoring |
| assignees | tobiu |
| createdAt | Nov 19, 2025, 12:12 PM |
| updatedAt | Nov 19, 2025, 12:18 PM |
| githubUrl | https://github.com/neomjs/neo/issues/7804 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| contentTrust | |
| projected | |
| quarantined | 0 |
| signals | [] |
| blockedBy | [] |
| blocking | [] |
| closedAt | Nov 19, 2025, 12:18 PM |
Apply the same configuration and CLI argument parsing improvements to the Memory Core MCP server as were done for the GitHub Workflow server.
Tasks:
ai/mcp/server/memory-core/config.mjsto:load(filePath)method that supports both JSON and JS/MJS files.dataproperty on the singleton instance.ai/mcp/server/memory-core/mcp-stdio.mjsto:commanderfor CLI argument parsing.-c, --config <path>to load a custom configuration file.-d, --debugto enable debug logging (and updateaiConfig.data.debug).ai/mcp/server/memory-core/logger.mjs(if applicable/similar to GitHub workflow) to rely solely onaiConfig.debug.Goal: Standardize the configuration and startup logic across MCP servers for better maintainability and flexibility.