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-Storev2.0.5In 1 marketplace
Directus + Next.js architecture plugin. How Directus (content, files, access) and a Next.js App Router frontend fit together: who holds the token, how the cache is invalidated, how assets and types cross the boundary, 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, architecture, agents-store, directus, nextjs, headless-cms, app-router
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Directus + Next.js architecture plugin for Agents Store. It describes how Directus (content, files, access) and a Next.js App Router frontend fit together: who holds which token, how the cache is invalidated when content changes, how assets and types cross the boundary, 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 |
| Interface + Logic | Next.js | App Router, Server Components, Server Actions, Route Handlers |
The boundary between them is what this plugin owns:
| Boundary | Rule |
|---|---|
| Token | The server holds a service token of a dedicated Directus user; the browser holds nothing of Directus |
| Cache | Every Directus read is tagged with its collection; a Directus Flow 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, and tsc is the drift check |
| Session | One owner of the end-user session, chosen once (see authentication) |
Deployment is handled by a separate plugin (for example dokploy-dev, vercel-dev).
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), schema design |
nextjs-dev | App Router, data fetching and caching (data-fetching), authentication (auth-patterns), proxy.ts, images, Cache Components |
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).
next@^16.3.8@directus/sdk 26 requires it)claude plugin install stack-directus-nextjs@agents-store-claude-plugins
The two technology plugins above come with it.
This plugin's .mcp.json connects Claude to Directus. Tools are named mcp__plugin_stack-directus-nextjs_directus__<tool> (schema, collections, fields, items, files, flows and the rest of the Directus MCP surface).
| Server | Transport | Address |
|---|---|---|
directus | HTTP | ${NEXT_PUBLIC_DIRECTUS_URL}/mcp with Bearer ${DIRECTUS_ADMIN_TOKEN} |
MCP acts with the permissions of the token's user, so a token of a dedicated user with a narrow policy also narrows what the model can change.
Copy templates/.env.example to your project root as .env.local:
| Variable | Purpose | Client-side |
|---|---|---|
NEXT_PUBLIC_DIRECTUS_URL | Directus address | Yes |
DIRECTUS_ADMIN_TOKEN | Static token of a dedicated Directus user (the name is historical; an administrator token is for local development only) | No |
DIRECTUS_URL, DIRECTUS_TOKEN, NEXT_PUBLIC_CMS_URL | The names the directus-dev and nextjs-dev recipes read. In .env.local they expand to the two variables above (DIRECTUS_URL=${NEXT_PUBLIC_DIRECTUS_URL}, DIRECTUS_TOKEN=${DIRECTUS_ADMIN_TOKEN}, NEXT_PUBLIC_CMS_URL=${NEXT_PUBLIC_DIRECTUS_URL}); without them the NextAuth login calls undefined/auth/login and the images config fails | NEXT_PUBLIC_CMS_URL: yes |
NEXTAUTH_URL | NextAuth base URL (NextAuth path only) | No |
NEXTAUTH_SECRET | NextAuth encryption secret (NextAuth path only) | No |
REVALIDATION_SECRET | Shared secret for /api/revalidate, sent by a Directus Flow in a header | No |
PUBLIC_ASSET_FOLDER_ID | Directus folder whose files the asset proxy may serve (proxy path only) | No |
| Skill | Description |
|---|---|
init-project | Versions, environment, dependencies, client and types, verification |
directus-to-nextjs | The boundary: token, cache, assets, types |
authentication | Who owns the user session and the tokens; three paths |
deployment | Local development pointers, the revalidation pipeline, production checklist |
full-feature | Step-by-step recipe for building a feature across both layers |
examples | Scenario walkthroughs (blog, product catalog) |
stack-orchestrator — Coordinates work across Directus and Next.js: content pages, the session, revalidation, and cross-service debugging.
npx claudepluginhub agents-store/claude-plugins --plugin stack-directus-nextjsBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground