cyberneticlibrary

Claude Agent nodes for n8n workflows

n8n-nodes-claude-sdk-agentskillsetup L30
liuhauyao/n8n-nodes-claude-agent
What it does

Integrate Claude Agent SDK into n8n workflow automation via nodes and credentials

Best for

N8n automation workflows requiring Claude agents with MCP integrations and model-routing rules when workflow nodes must delegate to LLM-backed agents.

Inputs
  • · n8n workflow definition
  • · Claude Provider credential
  • · MCP tool configuration
Outputs
  • · Claude Model Selector node
  • · Claude Agent node
  • · OAuth token storage
  • · MCP tool routing
Requires
  • · n8n self-hosted
  • · Redis (session mgmt)
  • · Node.js ≥22.16
  • · @anthropic-ai/claude-agent-sdk
Preconditions

n8n self-hosted (not Cloud); Redis running; Python 3.11–3.13; optional anthropic-openai-shim for gateway compatibility

Failure modes

Missing SDK in ~/.n8n/nodes; Redis connection failure; OAuth token expired; MCP tool list unavailable; shim unreachable

Trust signals
  • · liuhauyao/n8n-nodes-claude-agent repo
  • · OpenAI-compatible shim
  • · permission presets (mcp_skills_only/plan_only/full_agent)