feat: add the Rollstack node and credential
Merged
YO
6d ago+46218+46218+01234567890123456789012345678901234567890123456789-1-1-0123456789
Summary
This adds the Rollstack node for n8n, packaged as @rollstack/n8n-nodes-rollstack, for n8n's verified community nodes.
- 121 operations under 22 resources, one for each tool of Rollstack's MCP server. The 4 left out are called only by Rollstack's own views, as
definitions/excluded.jsonexplains. Required inputs are fields of their own, and optional ones are under Additional Fields. - Generated, not hand-written.
scripts/generate.mjswrites the operations and the README's tables fromdefinitions/.npm run update-definitionsrefreshes those definitions from Rollstack with an admin's key. - One call per operation: a JSON-RPC
tools/calltohttps://api.rollstack.com/public/v1/mcp, signed with the Rollstack API credential's key. Gateway errors are retried with the same idempotency key. A call Rollstack holds for confirmation comes back with its link rather than as an error, and slide images come back as binary data. - As an AI Agent tool, each operation's Tool Description starts as Rollstack's full description of it. n8n's automatic description is only the operation's name, which doesn't tell the agent to keep checking on the slides agent's reply.
- Safe defaults: each resource opens on an operation that only reads, or on its first step: Send message to slides agent for Chat, Submit feedback for Feedback. Never on one that emails people, deletes something or approves a change.
- Credential: a Rollstack API key (
rsk_ā¦), which n8n checks with Rollstack when it's saved. There's no OAuth credential, because n8n's OAuth2 credential needs a fixed client ID and Rollstack registers clients dynamically. - For n8n Cloud and verification: n8n's default ESLint config,
"strict": true, no run-time dependencies and an MIT license. The publish workflow is the starter's, which publishes to npm with provenance on a version tag.
Test plan
-
npm run generate:check: the generated files matchdefinitions/. -
npm run lint: passes with n8n's default config. -
npm test: 31 tests pass. They cover how fields become a call, event-stream answers, errors and retries, held confirmations, images, safe defaults, and the tool descriptions as n8n's own code works them out. -
npx @n8n/scan-community-packageon the packed package passes the pre-publish checks. - In a local n8n 2.48.5 with a real key: List reports, Create report, and Send message to slides agent built a deck.
- In the same n8n, an AI Agent on Claude with three Rollstack tools built a deck from chat.
- After merging: let this repo's publish workflow publish
@rollstack/n8n-nodes-rollstackin the npm org, release0.1.0by tag, then submit at creators.n8n.io.
š¤ Generated with Claude Code