mirror of
https://github.com/czlonkowski/n8n-mcp.git
synced 2026-03-19 08:53:09 +00:00
- Add TypeScript interface (MCPToolResponse) for type safety - Implement 1MB response size validation and truncation - Add warning logs for large validation responses - Prevent memory issues with size limits (matches STDIO behavior) This enhances PR #343's fix with defensive measures: - Size validation prevents DoS/memory exhaustion - Truncation ensures HTTP transport stability - Type safety improves code maintainability All changes are backward compatible and non-breaking. Conceived by Romuald Członkowski - https://www.aiadvisors.pl/en