@dulnan/nuxt-graphql-middleware
AMCP server package nuxt-graphql-middleware
Install
agr install @dulnan/nuxt-graphql-middleware --target claudeThis artifact does not publish files for Claude.
Document
{ "name": "nuxt-graphql-middleware", "version": "5.4.0", "description": "Module to perform GraphQL requests as a server middleware.", "author": "Jan Hug me@dulnan.net", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/dulnan/nuxt-graphql-middleware.git" }, "homepage": "https://nuxt-graphql-middleware.dulnan.net", "bugs": { "url": "https://github.com/dulnan/nuxt-graphql-middleware/issues" }, "keywords": [ "nuxt", "nuxt-module", "graphql", "middleware", "typescript", "codegen", "ssr" ], "type": "module", "exports": { ".": { "types": "./dist/types.d.mts", "import": "./dist/module.mjs" }, "./utils": { "types": "./dist/utils.d.mts", "import": "./dist/utils.mjs" }, "./client-options": { "types": "./dist/client-options.d.mts", "import": "./dist/client-options.mjs" }, "./server-options": { "types": "./dist/server-options.d.mts", "import": "./dist/server-options.mjs" } }, "main": "./dist/module.mjs", "types": "./dist/types.d.mts", "typesVersions": { "*": { ".": [ "./dist/types.d.mts" ], "utils": [ "./dist/utils.d.mts" ], "client-options": [ "./dist/client-options.d.mts" ], "server-options": [ "./dist/server-options.d.mts" ] } }, "files": [ "dist", "docs/composables", "docs/configuration" ], "engines": { "node": ">=18.0.0" }, "scripts": { "prepack": "npm run styles:build && nuxt-module-build build && npm run client:build", "dev": "PLAYGROUND_MODULE_BUILD=true nuxi dev playground --trace-warnings", "dev:layers": "PLAYGROUND_MODULE_BUILD=true nuxi dev playground-layers --trace-warnings", "debug": "PLAYGROUND_MODULE_BUILD=true nuxi dev playground --inspect", "dev:build": "PLAYGROUND_MODULE_BUILD=true nuxi build playground", "dev:layers:build": "nuxi build playground-layers", "dev:prepare": "PLAYGROUND_MODULE_BUILD=true nuxt-module-build build --stub && PLAYGROUND_MODULE_BUILD=true nuxt-module-build prepare && nuxi prepare playground-layers && nuxi prepare playground", "dev:start": "node ./playground/.output/server/index.mjs", "client:build": "nuxi generate client", "client:dev": "nuxi dev client --port 3300", "typecheck": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit && cd ../playground-layers && vue-tsc --noEmit", "docs:dev": "vitepress dev docs --port 5000", "docs:build": "vitepress build docs", "docs:serve": "vitepress serve docs --port 5000", "typedoc": "./scripts/typedoc.sh", "typedoc:generate": "typedoc --tsconfig tsconfig.typedoc.json", "cypress": "cypress run --e2e", "cypress:open": "cypress open --e2e", "lint": "eslint ./src", "lint:fix": "eslint ./src --fix", "test": "vitest --no-file-parallelism", "test:debug": "vitest --inspect --no-file-parallelism", "test:ci": "vitest run --no-file-parallelism", "test:coverage": "vitest run --coverage --no-file-parallelism", "prettier": "prettier --check .", "prettier:fix": "prettier --write .", "styles:build": "postcss ./css/index.css -o ./src/runtime/css/output.css", "styles:watch": "postcss ./css/index.css -o ./src/runtime/css/output.css --watch" }, "dependencies": { "@clack/core": "^0.4.2", "@clack/prompts": "^0.11.0", "@graphql-codegen/cli": "^6.1.0", "@graphql-codegen/schema-ast": "^5.0.0", "@graphql-tools/load": "^8.1.0", "@graphql-tools/utils": "^10.11.0", "@nuxt/devtools-kit": "^3.2.4", "graphql-typescript-deluxe": "^0.1.0", "is-unicode-supported": "^2.1.0", "micromatch": "^4.0.8", "picocolors": "^1.1.1", "sirv": "^3.0.2" }, "peerDependencies": { "@modelcontextprotocol/sdk": "^1.24.0", "@nuxtjs/mcp-toolkit": "^0.5.2", "graphql": "^16.0.0", "zod": "^3.0.0 || ^4.0.0" }, "peerDependenciesMeta": { "@modelcontextprotocol/sdk": { "optional": true }, "@nuxtjs/mcp-toolkit": { "optional": true }, "zod": { "optional": true } }, "devDependencies": { "@iconify-json/carbon": "^1.2.15", "@modelcontextprotocol/sdk": "^1.24.3", "@nuxt/devtools": "^3.1.1", "@nuxt/devtools-ui-kit": "^3.1.1", "@nuxt/eslint": "^1.12.1", "@nuxt/kit": "^4.4.2", "@nuxt/module-builder": "^1.0.2", "@nuxt/schema": "^4.4.2", "@nuxt/test-utils": "^3.21.0", "@nuxtjs/mcp-toolkit": "^0.5.2", "@types/micromatch": "^4.0.10", "commander": "^13.1.0", "cypress": "^15.7.1", "cypress-wait-until": "^3.0.2", "eslint": "^9.39.2", "eslint-config-prettier": "^10.1.8", "eslint-plugin-import-x": "^4.16.1", "eslint-plugin-prettier": "^5.5.4", "mermaid": "^11.12.2", "minisearch": "^7.2.0", "nuxt": "^4.4.2", "postcss": "^8.5.6", "postcss-cli": "^11.0.1", "postcss-import": "^16.1.1", "postcss-nested-import": "^1.3.0", "postcss-prefix-selector": "^2.1.1", "postcss-replace": "^2.0.1", "postcss-url": "^10.1.3", "prettier": "^3.7.4", "tailwindcss": "^3.4.17", "tailwindcss-scoped-preflight": "^3.5.4", "typedoc": "^0.28.15", "typedoc-plugin-markdown": "^4.9.0", "typedoc-vitepress-theme": "^1.1.2", "vitepress": "^1.6.4", "vitepress-plugin-mermaid": "^2.0.17", "vitest": "^3.2.4", "vue-tsc": "^3.1.8", "zod": "^4.0.0" } }
Trustgrade A
- passBody integrity
Whether the stored document is plausibly the kind of file the artifact declares, rather than something fetched by mistake.
- warnType matchbest-effort: server code not analyzed
Whether the artifact is really the kind of thing its metadata claims it is.
- passFreshness
How long since the source repository was last pushed to.
- passPrompt injection
Scans the artifact's own text for instructions aimed at your agent rather than at you.
- passLicense
Whether the source repository declares an SPDX license permissive enough to redistribute.
How the grade is calculated
Each check contributes 0 points when it passes, 1 when it warns, and 2 when it fails. The total maps to a letter:
- Aevery check passed
- Bone warning
- Ctwo warnings
- Dprompt injection or body integrity failed, or three warnings
- Fone of those failed, and something else is wrong
These are automated hygiene checks, not a security audit, and not a dependency or vulnerability scan. A grade of A means nothing was flagged — not that the artifact is safe.
Versions
git-9f6a9a24210e2026-08-06