Files
n8n-mcp/docs
czlonkowski 6699a1d34c test: implement comprehensive testing improvements from PR #104 review
Major improvements based on comprehensive test suite review:

Test Fixes:
- Fix all 78 failing tests across logger, MSW, and validator tests
- Fix console spy management in logger tests with proper DEBUG env handling
- Fix MSW test environment restoration in session-management.test.ts
- Fix workflow validator tests by adding proper node connections
- Fix mock setup issues in edge case tests

Test Organization:
- Split large config-validator.test.ts (1,075 lines) into 4 focused files
- Rename 63+ tests to follow "should X when Y" naming convention
- Add comprehensive edge case test files for all major validators
- Create tests/README.md with testing guidelines and best practices

New Features:
- Add ConfigValidator.validateBatch() method for bulk validation
- Add edge case coverage for null/undefined, boundaries, invalid data
- Add CI-aware performance test timeouts
- Add JSDoc comments to test utilities and factories
- Add workflow duplicate node name validation tests

Results:
- All tests passing: 1,356 passed, 19 skipped
- Test coverage: 85.34% statements, 85.3% branches
- From 78 failures to 0 failures

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-30 13:44:35 +02:00
..

n8n-MCP Documentation

Welcome to the n8n-MCP documentation. This directory contains comprehensive guides for installation, configuration, and troubleshooting.

📚 Documentation Index

Getting Started

Deployment

Reference

For Users

For Developers

📋 Environment Variables

Key configuration options:

Variable Description Default
MCP_MODE Server mode: stdio or http stdio
USE_FIXED_HTTP Use fixed HTTP implementation (v2.3.2+) true
AUTH_TOKEN Authentication token for HTTP mode Required
PORT HTTP server port 3000
LOG_LEVEL Logging verbosity info

See Installation Guide for complete list.

🆘 Getting Help

  1. Check the Troubleshooting Guide
  2. Review HTTP Server Fix Documentation for v2.3.2 issues
  3. Open an issue on GitHub

📝 License

This project uses the Sustainable Use License. See LICENSE for details.