Workflow: Simple Box MCP Agent

{"name": "Simple Box MCP Agent", "nodes": [{"parameters": {"options": {}}, "type": "@n8n/n8n-nodes-langchain.chatTrigger", "typeVersion": 1.1, "position": [-224, -144], "id": "82f333cc-a89b-4dd8-a489-18b94802d828", "name": "When chat message received", "webhookId": "60602892-e333-4f0a-a218-d127a2a47930"}, {"parameters": {"options": {}}, "type": "@n8n/n8n-nodes-langchain.agent", "typeVersion": 2, "position": [112, -144], "id": "d8dd23bf-559f-4342-8caf-65e2f02279ba", "name": "AI Agent"}, {"parameters": {"model": {"__rl": true, "mode": "list", "value": "gpt-4.1-mini"}, "options": {}}, "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi", "typeVersion": 1.2, "position": [32, 112], "id": "5942d9db-2a46-4fe2-ad22-3d8b2456e2a9", "name": "OpenAI Chat Model", "credentials": {"openAiApi": {"id": "0JUtlCL2o7F6kzb0", "name": "OpenAi account"}}}, {"parameters": {"sseEndpoint": "http://0.0.0.0:8001/sse"}, "type": "@n8n/n8n-nodes-langchain.mcpClientTool", "typeVersion": 1, "position": [448, 128], "id": "cf074b89-be28-4d56-8c80-5b4ace232075", "name": "MCP Client"}, {"parameters": {"contextWindowLength": 10}, "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow", "typeVersion": 1.3, "position": [224, 144], "id": "c88ebdc1-0d6c-4945-af6e-6f4599199de4", "name": "Simple Memory"}], "pinData": {}, "connections": {"When chat message received": {"main": [[{"node": "AI Agent", "type": "main", "index": 0}]]}, "OpenAI Chat Model": {"ai_languageModel": [[{"node": "AI Agent", "type": "ai_languageModel", "index": 0}]]}, "MCP Client": {"ai_tool": [[{"node": "AI Agent", "type": "ai_tool", "index": 0}]]}, "Simple Memory": {"ai_memory": [[{"node": "AI Agent", "type": "ai_memory", "index": 0}]]}}, "active": false, "settings": {"executionOrder": "v1"}, "versionId": "0b5e0655-b6a9-4b41-8a6b-fa0093be24ce", "meta": {"templateCredsSetupCompleted": true, "instanceId": "0c7ddbf0a802aa192ef7932e98a7bf66b62ea35f6147e074d94373e93824a8a2"}, "id": "iP146iHyquMTygtL", "tags": []}