Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By Agents-Storev3.0.5In 1 marketplace
Directus + Next.js + Trigger.dev architecture plugin. How Directus (content, files, access), a Next.js App Router frontend and self-hosted Trigger.dev (durable and scheduled work) fit together: who holds which token, how the cache is invalidated, how a Directus change reaches a task and the result reaches the page, who owns the session, and a production checklist. Tool knowledge comes from its dependencies.
Claude hands work to one, or you mention it with @.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
stack, directus-nextjs-trigger, architecture, agents-store, directus, nextjs, trigger.dev, background-jobs ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Directus + Next.js + Trigger.dev architecture plugin for Agents Store. It describes how Directus (content, files, access), a Next.js App Router frontend and self-hosted Trigger.dev (durable and scheduled work) fit together: who holds which token, how the cache is invalidated when content or a task changes it, how a Directus change reaches a task and the result reaches the page, who owns the user session, and what to check before production. It names its parts in dependencies; what one tool does and how to drive it is taught by that tool's own plugin.
| Layer | Service | Role |
|---|---|---|
| Data | Directus | Content, REST API, file storage, users and policies, Flows |
| Interface + Logic | Next.js | App Router, Server Components, Server Actions, Route Handlers |
| Work | Trigger.dev (self-hosted) | Durable tasks: retries, schedules, AI calls, long-running and bulk work, on its own workers |
Next.js keeps the synchronous work (rendering, actions, webhook receivers). Anything slow, flaky or scheduled leaves it as a task that retries, can be observed, and writes its result back to Directus.
The boundaries between them are what this plugin owns:
| Boundary | Rule |
|---|---|
| Token | The Next.js server holds a service token of a dedicated Directus user; a task holds the token of its own Directus user; the browser holds nothing of Directus |
| Cache | Every Directus read is tagged with its collection; a Directus Flow (or a task) expires the tag through a Route Handler |
| Assets | A file URL never carries a token: public files, or a server route that adds the token |
| Types | types/directus.ts follows the Directus schema, the tasks import it too, and tsc is the drift check |
| Session | One owner of the end-user session, chosen once (see authentication) |
| Task payload | Ids and requestedBy, never a token and never a copy of the item |
| Task environment | A task sees only the variables of its Trigger.dev project, never the Next.js host's |
| Browser to task | Only the run-scoped public token and the server address; never TRIGGER_SECRET_KEY |
Deployment of the Next.js app is handled by a separate plugin (for example dokploy-dev, vercel-dev); tasks deploy separately with the Trigger.dev CLI.
Declared in plugin.json and installed together with the stack. They hold the tool-level knowledge:
| Plugin | Teaches |
|---|---|
directus-dev | Directus MCP tools, REST API, @directus/sdk (sdk-patterns, including server-side use), local Docker Compose (docker-local-dev), Flows (flow-automation, including the Flow that sends item keys to a worker), schema design |
nextjs-dev | App Router, data fetching and caching (data-fetching), authentication (auth-patterns), proxy.ts, images, Cache Components |
trigger-dev | Tasks, retries, queues, debounce and idempotency (task-development), schedules (scheduled-tasks), tokens and hooks for the browser (realtime), deploys and CI (deployment), CLI, MCP tools, self-hosted infrastructure |
nextjs-provision (shadcn/ui setup) is optional: install it separately if you want it. Pick the plugin that matches your hosting for deployment (dokploy-dev, vercel-dev).
More from trigger-dev that fits this stack once the basics work: a human approval step in a pipeline (wait.createToken plus a status field in Directus, completed from the browser with useWaitToken; realtime), AI chat agents as tasks (ai-chat-agents), and run and cost analysis with TRQL (observability).
next@^16.3.8@directus/sdk 26 requires it)@trigger.dev/sdk, @trigger.dev/react-hooks and the trigger.dev CLI at the version of the serverclaude plugin install stack-directus-nextjs-trigger@agents-store-claude-plugins
The three technology plugins above come with it. Copies installed under the plugin's former name move to this one through the marketplace renames map; update enabledPlugins entries and any skill reference that still uses the old name (see LEARNINGS.md).
This plugin's .mcp.json connects Claude to Directus and to Trigger.dev. Tools are named mcp__plugin_stack-directus-nextjs-trigger_directus__<tool> and mcp__plugin_stack-directus-nextjs-trigger_trigger-dev__<tool>.
| Server | Transport | Address |
|---|---|---|
directus | HTTP | ${NEXT_PUBLIC_DIRECTUS_URL}/mcp with Bearer ${DIRECTUS_ADMIN_TOKEN} |
trigger-dev | stdio | npx trigger.dev@${TRIGGER_CLI_VERSION:-latest} mcp --dev-only --project-ref ${TRIGGER_PROJECT_REF}, with TRIGGER_ACCESS_TOKEN and TRIGGER_API_URL |
npx claudepluginhub agents-store/claude-plugins --plugin stack-directus-nextjs-triggerPlugins from other owners that cover similar ground
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.