We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/schimmmi/n8n-workflow-builder'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
# Release v1.7.1: Bugfix for Workflow Validators
**Release Date:** 2024-12-16
## π Bug Fixes
### 1. Fixed Missing Import in `workflow_validator.py`
**Issue**: The `validate_workflow` MCP tool was throwing a `NameError: name 'json' is not defined` error when attempting to validate workflows.
**Root Cause**: During the v1.7.0 refactoring, when extracting `WorkflowValidator` into its own module, the `json` import statement was not included, but the class uses `json.dumps()` internally.
**Fix**: Added the missing `import json` statement to `validators/workflow_validator.py`.
### 2. Fixed Missing Import in `semantic_analyzer.py`
**Issue**: The `analyze_workflow_semantics` MCP tool was throwing a `NameError: name 'json' is not defined` error when attempting to analyze workflows.
**Root Cause**: Same as above - during the v1.7.0 refactoring, when extracting `SemanticWorkflowAnalyzer` into its own module, the `json` import statement was not included, but the class uses `json.dumps()` internally.
**Fix**: Added the missing `import json` statement to `validators/semantic_analyzer.py`.
## π§ Changes
### Modified Files
- `src/n8n_workflow_builder/validators/workflow_validator.py`
- Added: `import json` on line 6
- `src/n8n_workflow_builder/validators/semantic_analyzer.py`
- Added: `import json` on line 6
### Impact
- β
`validate_workflow` tool now works correctly
- β
`validate_workflow_json` tool now works correctly
- β
`analyze_workflow_semantics` tool now works correctly
- β
No other changes or breaking changes
## π Testing
Verified that:
- β
All modules compile without errors
- β
All imports work correctly
- β
WorkflowValidator class instantiates successfully
- β
SemanticWorkflowAnalyzer class instantiates successfully
- β
`validate_workflow` tool tested and confirmed working
- β
`analyze_workflow_semantics` tool tested and confirmed working
## π Upgrade Notes
This is a **patch release** that fixes a critical bug introduced in v1.7.0. No API changes or migration required.
Simply update to v1.7.1 to get the fix:
```bash
git pull origin main
# or
git checkout v1.7.1
```
## π Related Issues
- Introduced in: v1.7.0 (refactoring)
- Affects: All users of `validate_workflow`, `validate_workflow_json`, and `analyze_workflow_semantics` tools
- Severity: High (tools completely non-functional)
- Resolution: Immediate (same day fix)
## π Thanks
Thanks for reporting this issue! Quick turnaround from bug report to fix and release.
---
**Full Diff**: https://github.com/yourusername/n8n-workflow-builder/compare/v1.7.0...v1.7.1
**Previous Release**: [v1.7.0 - Modular Architecture Refactoring](./v1.7.0.md)