Getting Started
Prerequisites
Node.js
Any version - automatic fallback if needed
Git
For version control and pull requests
Local Development Setup
Development Workflow
Testing
The project includes a comprehensive test suite with 3,336 tests.Running Tests
Test Suite Overview
Test Suite Overview
- Total Tests: 3,336 (100% passing)
- Unit Tests: 2,766 tests across 99 files
- Integration Tests: 570 tests across 20 files
- Execution Time: ~2.5 minutes in CI
- Test Framework: Vitest (for speed and TypeScript support)
- Mocking: MSW for API mocking, custom mocks for databases
Development Commands
Code Quality
TypeScript
- All code must be written in TypeScript
- Run type checking before committing:
Linting
Code Style
- Follow existing code patterns
- Use meaningful variable and function names
- Add comments for complex logic
- Keep functions focused and small
Contribution Guidelines
Please read these guidelines carefully before submitting your contribution.
Pull Request Process
- Fork the repository and create your branch from
main - Make your changes with clear, descriptive commits
- Run tests to ensure everything works
- Update documentation if you’re adding new features
- Submit a pull request with a clear description of changes
Commit Messages
Use clear, descriptive commit messages:What to Contribute
Bug Fixes
Found a bug? Submit a fix with tests
New Features
Have an idea? Open an issue first to discuss
Documentation
Improve docs, add examples, fix typos
Tests
Add tests to improve coverage
Automated Releases
The project uses automated releases triggered by version changes:- GitHub releases with changelog content
- NPM package publishing
- Multi-platform Docker images
- Documentation updates
Getting Help
GitHub Issues
Ask questions, report bugs
Documentation
Browse the full documentation
License
By contributing to n8n-MCP, you agree that your contributions will be licensed under the MIT License.Attribution appreciated! If you use n8n-MCP, consider:
- ⭐ Starring the repository
- 💬 Mentioning it in your project
- 🔗 Linking back to the repo