# Example Codex CLI MCP configuration # Adjust command, args, and environment to match your local n8n MCP setup. [mcp_servers.n8n] command = "npx" args = ["-y", "n8n-mcp"] [mcp_servers.n8n.env] N8N_BASE_URL = "http://localhost:5678" N8N_API_KEY = "replace-me"