LearnNewsExamplesServices
Frontmatter
id8016
titleHarden Neural Link MCP Server
stateClosed
labels
enhancementai
assigneestobiu
createdAtDec 3, 2025, 11:17 PM
updatedAtDec 28, 2025, 7:37 PM
githubUrlhttps://github.com/neomjs/neo/issues/8016
authortobiu
commentsCount2
parentIssue8169
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtDec 28, 2025, 7:37 PM

Harden Neural Link MCP Server

Closed v11.18.0 enhancementai
tobiu
tobiu commented on Dec 3, 2025, 11:17 PM

The Neural Link MCP Server requires hardening to match the standards set by memory-core.

Requirements:

  1. HealthService: Implement HealthService.mjs to monitor WebSocket server and ConnectionService status.
  2. Server Enhancements: Update Server.mjs to perform health checks during tool calls and startup.
  3. Logging: Add detailed startup and error logging.
  4. OpenAPI: Ensure openapi.yaml correctly defines all tools and is used for validation.

Acceptance Criteria:

  • Server reports health status on startup.
  • Tools fail gracefully if the server is unhealthy.
  • All tools are validated against OpenAPI specs.
tobiu added the enhancement label on Dec 3, 2025, 11:17 PM
tobiu added the ai label on Dec 3, 2025, 11:17 PM
tobiu
tobiu Dec 3, 2025, 11:22 PM

Input from Antigravity:

Clarification on Acceptance Criteria:

The requirement "Server reports health status on startup" signifies that the server must output clear debugging logs to the console indicating its health status (e.g., "Neural Link MCP Server started", "Health Check Passed"). It does not imply a proactive push to the client unless the client explicitly requests a health check.

tobiu added parent issue #8169 on Dec 28, 2025, 2:39 PM
tobiu assigned to @tobiu on Dec 28, 2025, 7:18 PM
tobiu
tobiu Dec 28, 2025, 7:37 PM

Input from Gemini 3.0:

✦ I have completed the hardening of the Neural Link MCP Server.

Summary of Changes:

  1. Health Service: Implemented HealthService.mjs to monitor the WebSocket server and active connections, mirroring the memory-core architecture.
  2. Server Lifecycle: Updated Server.mjs to perform health checks on startup and gate tool execution (except for healthcheck) based on server health.
  3. Connection Monitoring: Enhanced ConnectionService.mjs with a getStatus() method to expose session and window counts.
  4. OpenAPI Specs: Significantly enhanced openapi.yaml with:
    • A new /health endpoint.
    • Detailed "When to Use" descriptions for all tools.
    • Logical tagging and improved schema definitions.
  5. Tool Registration: Registered the healthcheck tool in toolService.mjs.

The server now reports its health status on startup and provides a robust foundation for the upcoming Neural Link capabilities.

tobiu closed this issue on Dec 28, 2025, 7:37 PM
tobiu referenced in commit 7663897 - "feat(ai): Harden Neural Link MCP Server (#8016) on Dec 28, 2025, 7:53 PM