github czlonkowski/n8n-mcp v2.14.4
Release v2.14.4

9 hours ago

Release v2.14.4

Added

  • Workflow Cleanup Operations: Two new operations for n8n_update_partial_workflow to handle broken workflow recovery

    • cleanStaleConnections: Automatically removes all connections referencing non-existent nodes
      • Essential after node renames or deletions that leave dangling connection references
      • Supports dryRun: true mode to preview what would be removed
      • Removes both source and target stale connections
    • replaceConnections: Replace entire connections object in a single operation
      • Faster than crafting many individual connection operations
      • Useful for bulk connection rewiring
  • Graceful Error Handling for Connection Operations: Enhanced removeConnection operation

    • New ignoreErrors flag: When true, operation succeeds even if connection doesn't exist
    • Perfect for cleanup scenarios where you're not sure if connections exist
    • Maintains backwards compatibility (defaults to false for strict validation)
  • Best-Effort Mode: New continueOnError mode for WorkflowDiffRequest

    • Apply valid operations even if some fail
    • Returns detailed results with applied and failed operation indices
    • Breaks atomic guarantees intentionally for bulk cleanup scenarios
    • Maintains atomic mode as default for safety

Enhanced

  • Tool Documentation: Updated n8n_update_partial_workflow documentation

    • Added examples for cleanup scenarios
    • Documented new operation types and modes
    • Added best practices for workflow recovery
    • Clarified atomic vs. best-effort behavior
  • Type System: Extended workflow diff types

    • Added CleanStaleConnectionsOperation interface
    • Added ReplaceConnectionsOperation interface
    • Extended WorkflowDiffResult with applied, failed, and staleConnectionsRemoved fields
    • Updated type guards for new connection operations

Testing

  • Added comprehensive test suite for v2.14.4 features
    • 15 new tests covering all new operations and modes
    • Tests for cleanStaleConnections with various stale scenarios
    • Tests for replaceConnections validation
    • Tests for ignoreErrors flag behavior
    • Tests for continueOnError mode with mixed success/failure
    • Backwards compatibility verification tests

Impact

  • Time Saved: Reduces broken workflow fix time from 10-15 minutes to 30 seconds
  • Token Efficiency: cleanStaleConnections is 1 operation vs 10+ manual operations
  • User Experience: Dramatically improved workflow recovery capabilities
  • Backwards Compatibility: 100% - all additions are optional and default to existing behavior

Installation

NPM Package

# Install globally
npm install -g n8n-mcp

# Or run directly
npx n8n-mcp

Docker

# Standard image
docker run -p 3000:3000 ghcr.io/czlonkowski/n8n-mcp:v2.14.4

# Railway optimized
docker run -p 3000:3000 ghcr.io/czlonkowski/n8n-mcp-railway:v2.14.4

Documentation

🤖 Generated with Claude Code

Don't miss a new n8n-mcp release

NewReleases is sending notifications on new releases.