{"_id":"@11x.agency/n8n-cli","_rev":"3-744ed561c1cec0a43692d5af66f329a9","name":"@11x.agency/n8n-cli","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.0":{"name":"@11x.agency/n8n-cli","version":"1.0.0","keywords":["n8n","cli","automation","ai","workflow","n8n-api"],"author":{"name":"Robin Sadeghpour"},"license":"MIT","_id":"@11x.agency/n8n-cli@1.0.0","maintainers":[{"name":"joschua_11x.agency","email":"joschua.suenneke@11x.agency"},{"name":"robinfaraj","email":"contact@robinfaraj.me"}],"homepage":"https://github.com/robinsadeghpour/n8n-cli#readme","bugs":{"url":"https://github.com/robinsadeghpour/n8n-cli/issues"},"bin":{"n8n-cli":"dist/index.js","n8n-agent-cli":"dist/index.js"},"dist":{"shasum":"2d5ae7610a3cde4307ca2e5abc6cc79811a4178a","tarball":"https://registry.npmjs.org/@11x.agency/n8n-cli/-/n8n-cli-1.0.0.tgz","fileCount":7,"integrity":"sha512-QZD+4k9t4v2i0DXQM8p8Qy51OuuxEY8VnixTaKtDOlKS6kbSiaz0MktuN1+LHDJcWvZMor2kgoQv1xh22pfPtg==","signatures":[{"sig":"MEUCIQCqFjHw9tXiGR0s3ZQtFgmsx4/ZMbZc87uyxtzkfN9oFAIgQVbEpDyorLrJWlKEhm4Y7qxjjsCe+IDcPeV8pzzmV/Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17341},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"8c90fb1c787bd6fdadb45030e2cca7dc224b5805","scripts":{"dev":"tsx src/index.ts","build":"tsc","start":"node dist/index.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"robinfaraj","email":"contact@robinfaraj.me"},"repository":{"url":"git+https://github.com/robinsadeghpour/n8n-cli.git","type":"git"},"_npmVersion":"11.6.2","description":"Lightweight CLI for n8n API - designed for AI agents","directories":{},"_nodeVersion":"24.12.0","dependencies":{"commander":"^12.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","typescript":"^5.3.3","@types/node":"^20.11.0"},"_npmOperationalInternal":{"tmp":"tmp/n8n-cli_1.0.0_1774517252985_0.18642394750600344","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@11x.agency/n8n-cli","version":"1.0.1","keywords":["n8n","cli","automation","ai","workflow","n8n-api"],"author":{"name":"Robin Sadeghpour"},"license":"MIT","_id":"@11x.agency/n8n-cli@1.0.1","maintainers":[{"name":"joschua_11x.agency","email":"joschua.suenneke@11x.agency"},{"name":"robinfaraj","email":"contact@robinfaraj.me"}],"homepage":"https://github.com/robinsadeghpour/n8n-cli#readme","bugs":{"url":"https://github.com/robinsadeghpour/n8n-cli/issues"},"bin":{"n8n-cli":"dist/index.js","n8n-agent-cli":"dist/index.js"},"dist":{"shasum":"93698ee3fe4046eb25c7460eedbfd471d2458c78","tarball":"https://registry.npmjs.org/@11x.agency/n8n-cli/-/n8n-cli-1.0.1.tgz","fileCount":7,"integrity":"sha512-sietTBZhpcZNUpoFDcN+GQ7MDvEK7DR87vZ0eHN79vf5Ehb/p2GC4R6m8hOQDmdI2Unt4VFYz9e/xWlCkGd8DQ==","signatures":[{"sig":"MEYCIQDTaNFlbpxZvY9GrUKV1LToOu9txL4lyfOdyVbgJT2IPAIhAKeelj6UfKE2vMN1gD2j4U8whFKQSzq4qlT4hL5PoHro","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18106},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"282d14ee7b6876f48e4a7bd0a75afe6f553d9fdf","scripts":{"dev":"tsx src/index.ts","build":"tsc","start":"node dist/index.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"robinfaraj","email":"contact@robinfaraj.me"},"repository":{"url":"git+https://github.com/robinsadeghpour/n8n-cli.git","type":"git"},"_npmVersion":"11.6.2","description":"Lightweight CLI for n8n API - designed for AI agents","directories":{},"_nodeVersion":"24.12.0","dependencies":{"commander":"^12.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","typescript":"^5.3.3","@types/node":"^20.11.0"},"_npmOperationalInternal":{"tmp":"tmp/n8n-cli_1.0.1_1774518484958_0.5342420517138693","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@11x.agency/n8n-cli","version":"1.1.0","description":"Lightweight CLI for n8n API - designed for AI agents","main":"dist/index.js","type":"module","bin":{"n8n-cli":"dist/index.js","n8n-agent-cli":"dist/index.js"},"scripts":{"build":"tsc","start":"node dist/index.js","dev":"tsx src/index.ts","prepublishOnly":"npm run build"},"keywords":["n8n","cli","automation","ai","workflow","n8n-api"],"license":"MIT","author":{"name":"Robin Sadeghpour"},"repository":{"type":"git","url":"git+https://github.com/robinsadeghpour/n8n-cli.git"},"homepage":"https://github.com/robinsadeghpour/n8n-cli#readme","bugs":{"url":"https://github.com/robinsadeghpour/n8n-cli/issues"},"engines":{"node":">=18.0.0"},"dependencies":{"commander":"^12.1.0"},"devDependencies":{"@types/node":"^20.11.0","tsx":"^4.7.0","typescript":"^5.3.3"},"gitHead":"b757e7d3cb1fec9a73e660dd8d53bc94281505c2","types":"./dist/index.d.ts","_id":"@11x.agency/n8n-cli@1.1.0","_nodeVersion":"24.12.0","_npmVersion":"11.6.2","dist":{"integrity":"sha512-y9Rp5nchBMTxEztOKEaCnm75s0aBZrId006Z19glaZaf5aMLl6R/AsqX865Dm7OfPnPIjHOVdeKRtpr/7oKtxQ==","shasum":"afc43679d47c55c93831223c8e34567105010c30","tarball":"https://registry.npmjs.org/@11x.agency/n8n-cli/-/n8n-cli-1.1.0.tgz","fileCount":29,"unpackedSize":35167,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIDqPoFAt11ZYmQIidkJ+dET3wmHqmqj0yAkdGjT2MG+bAiEAxnK82/3RvutMZ0MqNfRuim9JsNH7AwmkPOiPvO+XATQ="}]},"_npmUser":{"name":"robinfaraj","email":"contact@robinfaraj.me"},"directories":{},"maintainers":[{"name":"joschua_11x.agency","email":"joschua.suenneke@11x.agency"},{"name":"robinfaraj","email":"contact@robinfaraj.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/n8n-cli_1.1.0_1775906435728_0.9731801671877589"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-26T09:27:32.919Z","modified":"2026-04-11T11:20:36.041Z","1.0.0":"2026-03-26T09:27:33.123Z","1.0.1":"2026-03-26T09:48:05.114Z","1.1.0":"2026-04-11T11:20:35.901Z"},"bugs":{"url":"https://github.com/robinsadeghpour/n8n-cli/issues"},"author":{"name":"Robin Sadeghpour"},"license":"MIT","homepage":"https://github.com/robinsadeghpour/n8n-cli#readme","keywords":["n8n","cli","automation","ai","workflow","n8n-api"],"repository":{"type":"git","url":"git+https://github.com/robinsadeghpour/n8n-cli.git"},"description":"Lightweight CLI for n8n API - designed for AI agents","maintainers":[{"name":"joschua_11x.agency","email":"joschua.suenneke@11x.agency"},{"name":"robinfaraj","email":"contact@robinfaraj.me"}],"readme":"# @11x.agency/n8n-cli\n\n[![npm](https://img.shields.io/npm/v/@11x.agency/n8n-cli)](https://www.npmjs.com/package/@11x.agency/n8n-cli)\n[![license](https://img.shields.io/npm/l/@11x.agency/n8n-cli)](LICENSE)\n\nLightweight CLI wrapper around the n8n REST API — built for AI agents.\n\nFast, direct REST API calls for workflow management without MCP protocol overhead.\n\n## Install\n\n```bash\nnpm install -g @11x.agency/n8n-cli\n```\n\nOr run directly without installing:\n\n```bash\nnpx @11x.agency/n8n-cli <command>\n```\n\n## Setup\n\nGet your API key from n8n: **Settings > API > Create API Key**\n\n```bash\nexport N8N_BASE_URL=\"https://your-n8n-instance.com\"\nexport N8N_API_KEY=\"your-api-key\"\n```\n\nOr pass via flags:\n```bash\nn8n-cli --url \"https://...\" --api-key \"...\" workflow list\n```\n\n## Commands\n\n```bash\nn8n-cli workflow list|get|create|update|delete|activate|deactivate|run\nn8n-cli execution list|get|retry|stop|delete\nn8n-cli variable list|get|set|delete\nn8n-cli tag list|get|create|update|delete\nn8n-cli credential list|get|create|delete|schema\nn8n-cli user list|get\nn8n-cli project list|get|create|update|delete\nn8n-cli audit generate\nn8n-cli doctor\n```\n\n## Agent-Optimized Output\n\nList commands return **summary fields only** — no nodes, connections, or execution data payloads. Use `get` for full detail.\n\n```bash\nn8n-cli workflow list --json         # compact JSON, summary fields\nn8n-cli workflow get <id> --json     # compact JSON, full detail\nn8n-cli workflow list --fields id,name --json   # custom fields\nn8n-cli workflow list --limit 10 --cursor <cur> # pagination\n```\n\nWith `npx`:\n\n```bash\nnpx @11x.agency/n8n-cli workflow list --json\nnpx @11x.agency/n8n-cli doctor\n```\n\n## Claude Code Plugin\n\nUse this CLI with Claude Code via the [11x marketplace plugin](https://github.com/11x-agency/claude-marketplace/tree/main/plugins/n8n-agent-cli):\n\n```\n/plugin marketplace add 11x-agency/claude-marketplace\n/plugin install n8n-agent-cli@11x-marketplace\n```\n\n## Links\n\n- **npm:** [npmjs.com/package/@11x.agency/n8n-cli](https://www.npmjs.com/package/@11x.agency/n8n-cli)\n- **GitHub:** [github.com/robinsadeghpour/n8n-cli](https://github.com/robinsadeghpour/n8n-cli)\n- **Issues:** [github.com/robinsadeghpour/n8n-cli/issues](https://github.com/robinsadeghpour/n8n-cli/issues)\n\n## License\n\nMIT\n","readmeFilename":"README.md"}