Frontmatter
| id | 7805 |
| title | Add CLI argument parsing and Config refactoring to Knowledge Base MCP Server |
| state | Closed |
| labels | enhancementairefactoring |
| assignees | tobiu |
| createdAt | Nov 19, 2025, 12:20 PM |
| updatedAt | Nov 19, 2025, 12:25 PM |
| githubUrl | https://github.com/neomjs/neo/issues/7805 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| contentTrust | |
| projected | |
| quarantined | 0 |
| signals | [] |
| blockedBy | [] |
| blocking | [] |
| closedAt | Nov 19, 2025, 12:25 PM |
Apply the same configuration and CLI argument parsing improvements to the Knowledge Base MCP server as were done for the GitHub Workflow and Memory Core servers.
Tasks:
ai/mcp/server/knowledge-base/config.mjsto:load(filePath)method that supports both JSON and JS/MJS files.dataproperty on the singleton instance.ai/mcp/server/knowledge-base/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/knowledge-base/logger.mjs(if applicable) to rely solely onaiConfig.debug.Goal: Standardize the configuration and startup logic across all three MCP servers (GitHub Workflow, Memory Core, Knowledge Base).