mirror of
https://github.com/czlonkowski/n8n-mcp.git
synced 2026-03-24 19:33:08 +00:00
Compare commits
1 Commits
v2.28.8
...
fix/memory
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
32f63c64a5 |
15
CHANGELOG.md
15
CHANGELOG.md
@@ -7,21 +7,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
## [2.28.8] - 2025-12-07
|
|
||||||
|
|
||||||
### Bug Fixes
|
|
||||||
|
|
||||||
**Multi-tenant: handleValidateWorkflow missing context parameter (#474)**
|
|
||||||
|
|
||||||
Fixed `n8n_validate_workflow` tool failing in multi-tenant mode with error:
|
|
||||||
`"n8n API not configured. Please set N8N_API_URL and N8N_API_KEY environment variables."`
|
|
||||||
|
|
||||||
- **Root Cause**: `handleValidateWorkflow` called `handleGetWorkflow` without passing the `context` parameter
|
|
||||||
- **Impact**: Multi-tenant deployments could not use the `n8n_validate_workflow` tool
|
|
||||||
- **Solution**: Pass `context` parameter to `handleGetWorkflow` call (line 987)
|
|
||||||
|
|
||||||
**Conceived by Romuald Członkowski - [AiAdvisors](https://www.aiadvisors.pl/en)**
|
|
||||||
|
|
||||||
## [2.28.7] - 2025-12-05
|
## [2.28.7] - 2025-12-05
|
||||||
|
|
||||||
### Bug Fixes
|
### Bug Fixes
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "n8n-mcp",
|
"name": "n8n-mcp",
|
||||||
"version": "2.28.8",
|
"version": "2.28.7",
|
||||||
"description": "Integration between n8n workflow automation and Model Context Protocol (MCP)",
|
"description": "Integration between n8n workflow automation and Model Context Protocol (MCP)",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"types": "dist/index.d.ts",
|
"types": "dist/index.d.ts",
|
||||||
|
|||||||
@@ -984,7 +984,7 @@ export async function handleValidateWorkflow(
|
|||||||
const input = validateWorkflowSchema.parse(args);
|
const input = validateWorkflowSchema.parse(args);
|
||||||
|
|
||||||
// First, fetch the workflow from n8n
|
// First, fetch the workflow from n8n
|
||||||
const workflowResponse = await handleGetWorkflow({ id: input.id }, context);
|
const workflowResponse = await handleGetWorkflow({ id: input.id });
|
||||||
|
|
||||||
if (!workflowResponse.success) {
|
if (!workflowResponse.success) {
|
||||||
return workflowResponse; // Return the error from fetching
|
return workflowResponse; // Return the error from fetching
|
||||||
|
|||||||
Reference in New Issue
Block a user