#claude-code

9 post(s)

til

n8n MCP 404 in Claude Code? The endpoint is /sse on a v1 trigger

To use your n8n workflows as tools inside Claude Code, add an MCP Server Trigger node, connect a tool node to it over the ai_tool connection, and activate the workflow. Then point Claude Code at the SSE endpoint: on n8n 2.29 with a v1 MCP Server Trigger the URL is http://host:5678/mcp/{path}/sse, not /mcp/{path} (that 404s). Register it with claude mcp add --transport sse. Separate concern: n8n-as-a-server (this post) is the opposite of czlonkowski/n8n-mcp, which lets Claude build workflows for you.

article

Stop Claude Code Reading Your .env: deny vs hook vs sandbox

To keep Claude Code out of your .env, permissions.deny (Read(./.env)) stops the honest mistakes — the Read tool and a literal cat .env — but it is a string match, so node -e readFileSync('.env') or a filename assembled from fragments reads right through. A PreToolUse hook catches the script but still falls to the assembled name. Only the sandbox (sandbox.enabled with sandbox.filesystem.denyRead, Claude Code v2.1.187+) blocks every bypass at the OS level with EPERM. Ranking: sandbox > hook > deny. deny is a mistake-guard, not a security boundary.

article

Claude Code MCP Permissions: What Your AI Agent Can Actually Access

If you've connected MCP servers (a notetaker, Gmail, Drive) to Claude Code, check three layers: run claude mcp list to see what's connected (reach), set settings.json permissions so risky tools are read-only or denied (scope — deny wins over allow), and keep the approval prompt on (gate). And remember the vector nobody mentions: text your notetaker pulls in — a meeting transcript — can itself carry instructions the agent will try to follow. Claude Code's own docs warn to trust a server before connecting it.

article

I'm a Frontend Dev Who Can't Design. So I Let Claude Redesign a Client Site.

I'm a freelance frontend dev. I can't design, but I'd been curious about AI design tools for a while, and I was paying for Claude Code Max. When a client asked if I could redesign their site, I said: let me try it with AI. This is the honest story of how that went — the answer to 'how far has AI design come' is 'further than I expected, with more hand-holding than I expected.' The how and why are the rest of this series.