@nevermined-io/payments
AMCP server package @nevermined-io/payments
Install
agr install @nevermined-io/payments --target claudeThis artifact does not publish files for Claude.
Document
{ "name": "@nevermined-io/payments", "version": "1.10.0", "description": "Typescript SDK to interact with the Nevermined Payments Protocol", "main": "./dist/index.js", "types": "./dist/index.d.ts", "type": "module", "repository": { "type": "git", "url": "git+https://github.com/nevermined-io/payments" }, "author": "Nevermined root@nevermined.io", "license": "Apache-2.0", "homepage": "https://github.com/nevermined-io/payments", "files": [ "dist" ], "keywords": [ "ai-payments", "ai-payments-protocol" ], "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js" }, "./mcp": { "types": "./dist/mcp/index.d.ts", "import": "./dist/mcp/index.js" }, "./express": { "types": "./dist/x402/express/index.d.ts", "import": "./dist/x402/express/index.js" }, "./langchain": { "types": "./dist/x402/langchain/index.d.ts", "import": "./dist/x402/langchain/index.js" }, "./langsmith": { "types": "./dist/x402/langsmith/index.d.ts", "import": "./dist/x402/langsmith/index.js" } }, "scripts": { "clean": "rm -rf ./dist/ ./doc/ ./.nyc_output", "build": "tsc", "build:all": "pnpm build && pnpm cli:build", "lint": "eslint ./src", "test": "jest --verbose --config ./tests/jest.config.json", "test:unit": "jest --verbose --config ./tests/jest.config.json --testPathPattern=tests/unit", "test:integration": "jest --verbose --config ./tests/jest.config.json --testPathPattern=tests/integration", "test:e2e": "jest --verbose --config ./tests/jest.e2e.config.cjs --testPathPattern=tests/e2e --runInBand", "format": "prettier --check ./src", "prepublishOnly": "pnpm build", "doc": "typedoc --out docs ./src", "docs:lint-links": "python3 ./scripts/lint_doc_links.py", "docs:check-links": "./scripts/check_synced_doc_links.sh", "cli:build": "cd cli && pnpm build", "cli:dev": "cd cli && pnpm dev", "cli:test": "cd cli && pnpm test", "cli:install": "cd cli && pnpm install" }, "devDependencies": { "@anthropic-ai/sdk": "^0.91.1", "@aws-sdk/client-bedrock-runtime": "^3.972.0", "@babel/core": "^7.27.4", "@babel/preset-env": "^7.27.2", "@google-cloud/aiplatform": "^6.1.0", "@langchain/langgraph": "1.2.0", "@modelcontextprotocol/sdk": "^1.24.3", "@types/express": "4.17.23", "@types/jest": "^29.5.13", "@types/node": "^20.11.19", "@types/supertest": "^6.0.3", "@types/uuid": "^10.0.0", "@types/ws": "^8.0.3", "@typescript-eslint/eslint-plugin": "^5.62.0", "@typescript-eslint/parser": "^5.62.0", "babel-jest": "^30.0.2", "cohere-ai": "^7.19.0", "dotenv": "^17.2.3", "eslint": "^8.56.0", "eslint-config-nevermined": "^0.3.0", "eslint-config-next": "^15.1.5", "eslint-config-prettier": "^9.1.0", "eslint-plugin-tsdoc": "^0.5.2", "jest": "^29.7.0", "langchain": "^0.3.37", "langsmith": "^0.7.4", "openai": "^6.2.0", "prettier": "^3.2.5", "source-map-support": "^0.5.21", "supertest": "^7.1.4", "together-ai": "^0.39.0", "ts-jest": "^29.2.5", "ts-node": "^10.9.2", "tsconfig-paths": "^4.2.0", "tslib": "^2.6.2", "typedoc": "0.28.19", "typescript": "^5.3.3" }, "peerDependencies": { "@langchain/core": ">=0.3.0", "@langchain/langgraph": ">=1.0.0 <2", "@modelcontextprotocol/sdk": ">=1.25.0", "express": ">=4.0.0", "langsmith": ">=0.7.0" }, "peerDependenciesMeta": { "@modelcontextprotocol/sdk": { "optional": true }, "express": { "optional": true }, "@langchain/core": { "optional": true }, "@langchain/langgraph": { "optional": true }, "langsmith": { "optional": true } }, "dependencies": { "@a2a-js/sdk": "^0.3.13", "@helicone/helpers": "^1.6.0", "@opentelemetry/api": "^1.9.0", "@opentelemetry/exporter-trace-otlp-http": "^0.215.0", "@traceloop/node-server-sdk": "^0.26.0", "axios": "^1.13.1", "express": "4.21.2", "jose": "^5.2.4", "js-file-download": "^0.4.12", "uuid": "^10.0.0", "zod": "^4.0.17", "zod-to-json-schema": "^3.25.0" }, "packageManager": "pnpm@10.33.0", "pnpm": { "overrides": { "qs": ">=6.14.1", "jws": ">=4.0.1", "js-yaml": ">=4.1.1", "@langchain/core": ">=0.3.80", "@smithy/config-resolver": ">=4.4.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-d11e31cec11d2026-08-06