Describe the problem/error/question : I can’t know if it’s a n8n limitation or non anticipated usage of this node MCP Client, but I can’t figure it out.
I see al the docs about n8n MCP Client and understand that the one thing works is that create a workflow as a MCP Client which I can connect to different tools and then the MCP Client node connecter to the AI Agent node, will work, YES. But it’s not my need.
I really need to connect Tally MCP Server or any other external server to my AI Agent. And idk if it’s possible
What is the error message (if any)?
{
"errorMessage": "Error in sub-node ‘MCP Client’",
"errorDescription": "Could not connect to your MCP server",
"errorDetails": {},
"n8nDetails": {
"nodeName": "MCP Client",
"nodeType": "@n8n/n8n-nodes-langchain.mcpClientTool",
"nodeVersion": 1,
"itemIndex": 0,
"time": "08/07/2025 16:27:30",
"n8nVersion": "1.99.1 (Self Hosted)",
"binaryDataMode": "default",
"stackTrace": [
"NodeOperationError: Error in sub-node MCP Client",
" at ExecuteContext.getInputConnectionData (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@[email protected][email protected][email protected]_/node_modules/n8n-core/src/execution-engine/node-execution-context/utils/get-input-connection-data.ts:207:11)",
" at processTicksAndRejections (node:internal/process/task_queues:105:5)",
" at ExecuteContext.getInputConnectionData (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@[email protected][email protected][email protected]_/node_modules/n8n-core/src/execution-engine/node-execution-context/execute-context.ts:160:10)",
" at getConnectedTools (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/@n8n+n8n-nodes-langchain@file+packages+@n8n+nodes-langchain_90fd06b925ebd5b6cf3e2451e17cc4b6/node_modules/@n8n/n8n-nodes-langchain/utils/helpers.ts:195:5)",
" at getTools (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/@n8n+n8n-nodes-langchain@file+packages+@n8n+nodes-langchain_90fd06b925ebd5b6cf3e2451e17cc4b6/node_modules/@n8n/n8n-nodes-langchain/nodes/agents/Agent/agents/ToolsAgent/common.ts:303:17)",
" at ExecuteContext.toolsAgentExecute (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/@n8n+n8n-nodes-langchain@file+packages+@n8n+nodes-langchain_90fd06b925ebd5b6cf3e2451e17cc4b6/node_modules/@n8n/n8n-nodes-langchain/nodes/agents/Agent/agents/ToolsAgent/V2/execute.ts:40:16)",
" at ExecuteContext.execute (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/@n8n+n8n-nodes-langchain@file+packages+@n8n+nodes-langchain_90fd06b925ebd5b6cf3e2451e17cc4b6/node_modules/@n8n/n8n-nodes-langchain/nodes/agents/Agent/V2/AgentV2.node.ts:168:10)",
" at WorkflowExecute.runNode (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@[email protected][email protected][email protected]_/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1187:9)",
" at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@[email protected][email protected][email protected]_/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1536:27",
" at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@[email protected][email protected][email protected]_/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:2100:11"
]
}
}
Please share your workflow
Share the output returned by the last node
Information on your n8n setup
- n8n version: 1.99.1
- Database (default: SQLite): PostgreSQL
- n8n EXECUTIONS_PROCESS setting (default: own, main): default
- Running n8n via (Docker, npm, n8n cloud, desktop app): heroku n8n app
- Operating system: