-
Notifications
You must be signed in to change notification settings - Fork 118
Description
Overview
Client: claude
Bug Type: Server Bug
Server: @makafeli/n8n-workflow-builder
Connection: Remote
OS: Mac
Source: Smithery
Description
The list_workflows function returns complete workflow JSON content instead of a summary list, causing context window overflow and conversation termination.
Environment
Tool: n8n Workflow Builder MCP (Model Context Protocol)
Integration: Claude AI Chat Interface
Expected Behavior
When calling list_workflows, the tool should return a concise summary containing only:
Workflow ID
Workflow Name
Active/Inactive Status
(Optionally) Creation/Update timestamps
Example of expected output:
json{
"workflows": [
{ "id": "abc123", "name": "Twitter Scraper", "active": false },
{ "id": "def456", "name": "Email Automation", "active": true }
]
}
Actual Behavior
The tool returns the complete JSON structure of every workflow, including:
All node definitions
All connection mappings
All parameter configurations
Credential references
Sticky notes content
Position coordinates
Full code blocks within Code nodes
This results in massive data output (potentially megabytes) that immediately exhausts the chat context window, causing the conversation to terminate with the error: "Claude has reached the maximum length for this conversation."
Steps to Reproduce
- Have multiple workflows in the connected n8n instance
- Call the list_workflows tool via MCP
- Observe that full workflow JSON is returned instead of a summary
- Chat session terminates due to context overflow
Screenshots
Screenshots can be added by dragging and dropping them here.