MCP servers · n8n · MCP server
Connect Codex CLI to n8n
One line gives Codex CLI your n8n account as tools: 14 endpoints, workflows, executions, credentials, called with your own connection. No key in the prompt, a receipt for every call, revoke Codex CLI's access alone any time.
Three steps
- Create a free 0n3 account and connect n8n. Paste a key or sign in; it lands in your vault, encrypted.
- Install 0n3 into Codex CLI. OpenAI's terminal agent reads 0n3 over Streamable HTTP with a token from your environment.
- Ask Codex CLI: whoami. Then: "List workflows in n8n".
Put the token in your environment
export ON3_TOKEN="<your 0n token>"
Add it to your shell profile so Codex finds it next time.
The line above carries a placeholder; 0n3.app/install mints a real key named for Codex CLI and fills it in.
What Codex CLI can then do in n8n
Workflows · Create and manage automation workflows8
List workflows
GET /workflowsGet a workflow
GET /workflows/{workflowId}Create a workflow
POST /workflowsUpdate a workflow
PUT /workflows/{workflowId}Delete a workflow
DELETE /workflows/{workflowId}Activate workflow
PATCH /workflows/{workflowId}Deactivate workflow
PATCH /workflows/{workflowId}Run a workflow
POST /workflows/{workflowId}/runExecutions · View and manage workflow execution history3
List executions
GET /executionsGet an execution
GET /executions/{executionId}Delete an execution
DELETE /executions/{executionId}Credentials · Manage integration credentials3
List credentials
GET /credentialsCreate a credential
POST /credentialsDelete a credential
DELETE /credentials/{credentialId}Trigger workflow · Trigger a workflow via webhook or API0
Trigger a workflow via webhook or API
n8n in other AI clients
Claude Code + n8nMCP server + skillClaude (desktop & claude.ai) + n8nconnectorChatGPT + n8nconnector · GPT actionGemini CLI + n8nMCP serverCursor + n8nMCP serverVS Code (Copilot) + n8nMCP serverWindsurf + n8nMCP server
