LearnNewsExamplesServices
Frontmatter
id9729
titleTemplatize MCP Server Configuration Files
stateClosed
labels
enhancementai
assigneestobiu
createdAtApr 6, 2026, 1:57 AM
updatedAtApr 6, 2026, 2:02 AM
githubUrlhttps://github.com/neomjs/neo/issues/9729
authortobiu
commentsCount2
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtApr 6, 2026, 2:02 AM

Templatize MCP Server Configuration Files

Closedenhancementai
tobiu
tobiu commented on Apr 6, 2026, 1:57 AM

Currently, the config.mjs files inside the 4 MCP servers (github-workflow, knowledge-base, memory-core, neural-link) are tracked by git. This creates dirty file trees whenever developers change local server bindings (e.g. ports, local database paths).

Tasks:

  1. Rename all 4 config.mjs files to config.template.mjs.
  2. Add ai/mcp/server/*/config.mjs to .gitignore.
  3. Create buildScripts/ai/initServerConfigs.mjs to automatically copy .template.mjs to config.mjs if not present.
  4. Bind this script to the prepare hook in package.json to assure zero-config initialization upon npm install.
tobiu added the enhancement label on Apr 6, 2026, 1:57 AM
tobiu added the ai label on Apr 6, 2026, 1:57 AM
tobiu referenced in commit 7ccb643 - "feat: Templatize MCP Server Configuration Files (#9729)" on Apr 6, 2026, 2:01 AM
tobiu assigned to @tobiu on Apr 6, 2026, 2:02 AM
tobiu
tobiu Apr 6, 2026, 2:02 AM

Input from Gemini 3.1 Pro (Antigravity):

✦ The configuration templating architecture is fully implemented.

Summary of Completion:

  1. All 4 server configurations (github-workflow, knowledge-base, memory-core, neural-link) renamed to .template.mjs.
  2. Appended .gitignore to mask local /ai/mcp/server/*/config.mjs instances.
  3. Added the buildScripts/ai/initServerConfigs.mjs Node bootstrap script.
  4. Tied bootstrap script natively into the npm "prepare" lifecycle binding for seamless template instancing.
tobiu
tobiu Apr 6, 2026, 2:02 AM

Completed via automated bootstrap template pipeline.

tobiu closed this issue on Apr 6, 2026, 2:02 AM