{"_id":"@0xgasless/mcp","_rev":"6-96773fd332703b456ce585a1af47e88f","name":"@0xgasless/mcp","dist-tags":{"latest":"0.1.0"},"versions":{"0.0.1":{"name":"@0xgasless/mcp","version":"0.0.1","keywords":["mcp","model-context-protocol","claude","blockchain","0xgasless","gasless","smart-account","web3","ethereum","bsc","swap","defi","account-abstraction"],"author":{"url":"https://github.com/achiit","name":"21Coder's","email":"achihsingh@gmail.com"},"license":"MIT","_id":"@0xgasless/mcp@0.0.1","maintainers":[{"name":"0xgasless","email":"0xgasless@gmail.com"}],"homepage":"https://github.com/0xgasless/mcp#readme","bugs":{"url":"https://github.com/0xgasless/mcp/issues"},"bin":{"0xgasless-mcp":"dist/index.js"},"dist":{"shasum":"ddfcee7dd0c9d67869c58828dac43054fa477fa2","tarball":"https://registry.npmjs.org/@0xgasless/mcp/-/mcp-0.0.1.tgz","fileCount":15,"integrity":"sha512-y0VNvcgGpKCWe0JY1Pn9Zb5gpKUQtRLowjrIEdSojQef393YVo0RsWaE31cC3A5u5bRElhbRKJ/jQrYMeebzTQ==","signatures":[{"sig":"MEUCIFP455xeM6348w0S4wzQ9IUv0CKIm3WO4aGlRTW3M0SMAiEAnjgFTEj8cjVbg9rwE1ZrP7jRghFKMmq0a+2iWY0cnXc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":47101},"main":"dist/index.js","shasum":"ddfcee7dd0c9d67869c58828dac43054fa477fa2","engines":{"node":">=18.0.0"},"scripts":{"dev":"tsc --watch","lint":"eslint src/**/*.ts","test":"echo \"No tests specified\" && exit 0","build":"tsc","start":"node dist/index.js","format":"prettier --write src/**/*.ts","prepublishOnly":"npm run build"},"_npmUser":{"name":"0xgasless","email":"0xgasless@gmail.com"},"_integrity":"sha512-y0VNvcgGpKCWe0JY1Pn9Zb5gpKUQtRLowjrIEdSojQef393YVo0RsWaE31cC3A5u5bRElhbRKJ/jQrYMeebzTQ==","repository":{"url":"https://github.com/0xgasless/mcp.git","type":"git"},"_npmVersion":"10.8.3","description":"MCP server for 0xGasless smart accounts with gasless blockchain operations. Directly connects to Claude Desktop","directories":{},"_nodeVersion":"22.6.0","dependencies":{"zod":"^3.23.8","viem":"^2.22.17","tslib":"^2.8.1","dotenv":"^16.4.5","@0xgasless/agentkit":"^0.0.9","@0xgasless/smart-account":"^0.0.13","@modelcontextprotocol/sdk":"^0.6.0"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.0.0","prettier":"^3.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","@typescript-eslint/parser":"^6.0.0","@typescript-eslint/eslint-plugin":"^6.0.0"},"peerDependencies":{"node":">=18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.0.1_1749447962204_0.009720942170804214","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@0xgasless/mcp","version":"0.0.2","keywords":["mcp","model-context-protocol","claude","blockchain","0xgasless","gasless","smart-account","web3","ethereum","bsc","swap","defi","account-abstraction"],"author":{"url":"https://github.com/achiit","name":"21Coder's","email":"achihsingh@gmail.com"},"license":"MIT","_id":"@0xgasless/mcp@0.0.2","maintainers":[{"name":"0xgasless","email":"0xgasless@gmail.com"}],"homepage":"https://github.com/0xgasless/mcp#readme","bugs":{"url":"https://github.com/0xgasless/mcp/issues"},"bin":{"0xgasless-mcp":"dist/index.js"},"dist":{"shasum":"abd61b1d7f3bd76ec91a9a77ae9dd793e4582d9e","tarball":"https://registry.npmjs.org/@0xgasless/mcp/-/mcp-0.0.2.tgz","fileCount":15,"integrity":"sha512-UZrrvpPUX0PDQ9klgqrJasuPtYeieeOJ2idyxxPiRcGbLtshL0a5CXzw4Wc2ejZ0GjdiOMJ2yVZNnvvhdLCb2A==","signatures":[{"sig":"MEQCIGPoSdCq1jeIbezTkVE6DZZKCBMtZ2OxRH6ludKcRRyZAiBm7nRHbu2pHvQHtKRJcSFph0xvn1C1LWpe75cjh6v4PQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":47105},"main":"dist/index.js","shasum":"abd61b1d7f3bd76ec91a9a77ae9dd793e4582d9e","engines":{"node":">=18.0.0"},"scripts":{"dev":"tsc --watch","lint":"eslint src/**/*.ts","test":"echo \"No tests specified\" && exit 0","build":"tsc","start":"node dist/index.js","format":"prettier --write src/**/*.ts","prepublishOnly":"npm run build"},"_npmUser":{"name":"0xgasless","email":"0xgasless@gmail.com"},"_integrity":"sha512-UZrrvpPUX0PDQ9klgqrJasuPtYeieeOJ2idyxxPiRcGbLtshL0a5CXzw4Wc2ejZ0GjdiOMJ2yVZNnvvhdLCb2A==","repository":{"url":"https://github.com/0xgasless/mcp.git","type":"git"},"_npmVersion":"10.8.3","description":"MCP server for 0xGasless smart accounts with gasless blockchain operations. Directly connects to Claude Desktop","directories":{},"_nodeVersion":"22.6.0","dependencies":{"zod":"^3.25.56","viem":"^2.31.0","tslib":"^2.8.1","dotenv":"^16.5.0","@0xgasless/agentkit":"latest","@0xgasless/smart-account":"^0.0.13","@modelcontextprotocol/sdk":"^0.6.1"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.1","prettier":"^3.5.3","typescript":"^5.8.3","@types/node":"^20.19.0","@typescript-eslint/parser":"^6.21.0","@typescript-eslint/eslint-plugin":"^6.21.0"},"peerDependencies":{"node":"^22.16.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.0.2_1749449083696_0.7401873237543639","host":"s3://npm-registry-packages-npm-production"}},"0.0.3":{"name":"@0xgasless/mcp","version":"0.0.3","keywords":["mcp","model-context-protocol","claude","blockchain","0xgasless","gasless","smart-account","web3","ethereum","bsc","swap","defi","account-abstraction"],"author":{"url":"https://github.com/achiit","name":"21Coder's","email":"achihsingh@gmail.com"},"license":"MIT","_id":"@0xgasless/mcp@0.0.3","maintainers":[{"name":"0xgasless","email":"0xgasless@gmail.com"}],"homepage":"https://github.com/0xgasless/mcp#readme","bugs":{"url":"https://github.com/0xgasless/mcp/issues"},"bin":{"0xgasless-mcp":"dist/index.js"},"dist":{"shasum":"87ddc9f1ef235bda2e0dd805bec78c48557fb915","tarball":"https://registry.npmjs.org/@0xgasless/mcp/-/mcp-0.0.3.tgz","fileCount":15,"integrity":"sha512-PijDT+HRnGSXRqvvDBIHDAyLry3vUWEqL27gB3Mf8ZaTjBc4c0J69zf47SCJ9IrkHuy/IJwpvSW8xT6jRvTR7w==","signatures":[{"sig":"MEUCIAQECH4ja1q6D5x02yJeRBiI2TSzR17Redp5MNvlrVeKAiEAgHy1KZxA2UrI50HF9kN/Vizrr03HY0i0dL3N8PBy2SM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":54206},"main":"dist/index.js","shasum":"87ddc9f1ef235bda2e0dd805bec78c48557fb915","engines":{"node":">=18.0.0"},"scripts":{"dev":"tsc --watch","lint":"eslint src/**/*.ts","test":"echo \"No tests specified\" && exit 0","build":"tsc","start":"node dist/index.js","format":"prettier --write src/**/*.ts","prepublishOnly":"npm run build"},"_npmUser":{"name":"0xgasless","email":"0xgasless@gmail.com"},"_integrity":"sha512-PijDT+HRnGSXRqvvDBIHDAyLry3vUWEqL27gB3Mf8ZaTjBc4c0J69zf47SCJ9IrkHuy/IJwpvSW8xT6jRvTR7w==","repository":{"url":"https://github.com/0xgasless/mcp.git","type":"git"},"_npmVersion":"10.8.3","description":"MCP server for 0xGasless smart accounts with gasless blockchain operations. Directly connects to Claude Desktop","directories":{},"_nodeVersion":"22.6.0","dependencies":{"zod":"^3.25.56","viem":"^2.31.0","tslib":"^2.8.1","dotenv":"^16.5.0","@0xgasless/agentkit":"latest","@0xgasless/smart-account":"^0.0.13","@modelcontextprotocol/sdk":"^0.6.1"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.1","prettier":"^3.5.3","typescript":"^5.8.3","@types/node":"^20.19.0","@typescript-eslint/parser":"^6.21.0","@typescript-eslint/eslint-plugin":"^6.21.0"},"peerDependencies":{"node":"^22.16.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.0.3_1749836170232_0.012957826186520194","host":"s3://npm-registry-packages-npm-production"}},"0.0.4":{"name":"@0xgasless/mcp","version":"0.0.4","keywords":["mcp","model-context-protocol","claude","blockchain","0xgasless","gasless","smart-account","web3","ethereum","bsc","swap","defi","account-abstraction"],"author":{"url":"https://github.com/achiit","name":"21Coder's","email":"achihsingh@gmail.com"},"license":"MIT","_id":"@0xgasless/mcp@0.0.4","maintainers":[{"name":"0xgasless","email":"0xgasless@gmail.com"}],"homepage":"https://github.com/0xgasless/mcp#readme","bugs":{"url":"https://github.com/0xgasless/mcp/issues"},"bin":{"0xgasless-mcp":"dist/index.js"},"dist":{"shasum":"cadc2dedd2a4e35848d2011a5e291266dccfbdf4","tarball":"https://registry.npmjs.org/@0xgasless/mcp/-/mcp-0.0.4.tgz","fileCount":15,"integrity":"sha512-9YKYj2CQELARTFkOEQtoOWVGMvaMCG+7nLIpVIFMV1oMBTtndciWQSz5Faigf5Aab4Hg0KR9JhMjUfkrW6X0GA==","signatures":[{"sig":"MEYCIQDG7l469H5Lb8B/JNTdTun37UtONF6uwN9WOwrHKhgKnQIhANJL3L3y0h/SHFl78IqbYj7Vgbp+v35/4XM2mYH5tIsB","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":54408},"main":"dist/index.js","shasum":"cadc2dedd2a4e35848d2011a5e291266dccfbdf4","engines":{"node":">=18.0.0"},"scripts":{"dev":"tsc --watch","lint":"eslint src/**/*.ts","test":"echo \"No tests specified\" && exit 0","build":"tsc","start":"node dist/index.js","format":"prettier --write src/**/*.ts","prepublishOnly":"npm run build"},"_npmUser":{"name":"0xgasless","email":"0xgasless@gmail.com"},"_integrity":"sha512-9YKYj2CQELARTFkOEQtoOWVGMvaMCG+7nLIpVIFMV1oMBTtndciWQSz5Faigf5Aab4Hg0KR9JhMjUfkrW6X0GA==","repository":{"url":"https://github.com/0xgasless/mcp.git","type":"git"},"_npmVersion":"10.8.3","description":"MCP server for 0xGasless smart accounts with gasless blockchain operations. Directly connects to Claude Desktop","directories":{},"_nodeVersion":"22.6.0","dependencies":{"zod":"^3.25.56","viem":"^2.31.0","tslib":"^2.8.1","dotenv":"^16.5.0","@0xgasless/agentkit":"latest","@0xgasless/smart-account":"^0.0.13","@modelcontextprotocol/sdk":"^0.6.1"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.1","prettier":"^3.5.3","typescript":"^5.8.3","@types/node":"^20.19.0","@typescript-eslint/parser":"^6.21.0","@typescript-eslint/eslint-plugin":"^6.21.0"},"peerDependencies":{"node":"^22.16.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.0.4_1749836956288_0.7626253752105052","host":"s3://npm-registry-packages-npm-production"}},"0.0.5":{"name":"@0xgasless/mcp","version":"0.0.5","keywords":["mcp","model-context-protocol","claude","blockchain","0xgasless","gasless","smart-account","web3","ethereum","bsc","swap","defi","account-abstraction"],"author":{"url":"https://github.com/achiit","name":"21Coder's","email":"achihsingh@gmail.com"},"license":"MIT","_id":"@0xgasless/mcp@0.0.5","maintainers":[{"name":"0xgasless","email":"0xgasless@gmail.com"}],"homepage":"https://github.com/0xgasless/mcp#readme","bugs":{"url":"https://github.com/0xgasless/mcp/issues"},"bin":{"0xgasless-mcp":"dist/index.js"},"dist":{"shasum":"c5f9d192668b272e047d2a4a7fc5fc7797b2f2ca","tarball":"https://registry.npmjs.org/@0xgasless/mcp/-/mcp-0.0.5.tgz","fileCount":15,"integrity":"sha512-hKc9wGyOiKATVdk369EBF7NgyBkdCE6oV/q3tuzYgiJGZ4bHvpWCrtJM0MAHuk2/n88jDySHXj6gygo1AFm/HA==","signatures":[{"sig":"MEYCIQDU/uX4860I67S0m0hDNwWUNbmIOgIE+fXfILxmSFdlnAIhAM/NCfT3/xOO4vQmvvMZ9+Y1juwl6hys4c5eWtwS082p","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":52794},"main":"dist/index.js","shasum":"c5f9d192668b272e047d2a4a7fc5fc7797b2f2ca","engines":{"node":">=18.0.0"},"scripts":{"dev":"tsc --watch","lint":"eslint src/**/*.ts","test":"echo \"No tests specified\" && exit 0","build":"tsc","start":"node dist/index.js","format":"prettier --write src/**/*.ts","prepublishOnly":"npm run build"},"_npmUser":{"name":"0xgasless","email":"0xgasless@gmail.com"},"_integrity":"sha512-hKc9wGyOiKATVdk369EBF7NgyBkdCE6oV/q3tuzYgiJGZ4bHvpWCrtJM0MAHuk2/n88jDySHXj6gygo1AFm/HA==","repository":{"url":"https://github.com/0xgasless/mcp.git","type":"git"},"_npmVersion":"10.8.3","description":"MCP server for 0xGasless smart accounts with gasless blockchain operations. Directly connects to Claude Desktop","directories":{},"_nodeVersion":"24.3.0","dependencies":{"zod":"^3.25.56","viem":"^2.31.0","tslib":"^2.8.1","dotenv":"^16.5.0","@0xgasless/agentkit":"latest","@0xgasless/smart-account":"^0.0.13","@modelcontextprotocol/sdk":"^0.6.1"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.1","prettier":"^3.5.3","typescript":"^5.8.3","@types/node":"^20.19.0","@typescript-eslint/parser":"^6.21.0","@typescript-eslint/eslint-plugin":"^6.21.0"},"peerDependencies":{"node":"^22.16.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.0.5_1756463415132_0.18101794918131198","host":"s3://npm-registry-packages-npm-production"}},"0.1.0":{"name":"@0xgasless/mcp","version":"0.1.0","description":"Model Context Protocol server for the 0xGasless platform — give any AI agent a KMS-custodied wallet that pays via x402, plus ERC-8004 identity/reputation/validation and the Apify tool gateway. Front door only: one project API key.","type":"module","bin":{"oxgas-mcp":"dist/index.js"},"main":"dist/index.js","scripts":{"build":"tsc","dev":"tsx src/index.ts","start":"node dist/index.js","typecheck":"tsc --noEmit","test":"npm run build && node test/smoke.mjs"},"keywords":["mcp","model-context-protocol","0xgasless","x402","agent-wallet","erc-8004","stablecoin","usdc","ai-agents"],"license":"Apache-2.0","dependencies":{"@0xgasless/agent":"^2.2.1","@modelcontextprotocol/sdk":"^0.6.1","zod":"^3.23.8","zod-to-json-schema":"^3.23.5"},"devDependencies":{"@types/node":"^20.12.11","tsx":"^4.19.0","typescript":"^5.4.5"},"engines":{"node":">=18"},"types":"./dist/index.d.ts","_id":"@0xgasless/mcp@0.1.0","_nodeVersion":"25.8.1","_npmVersion":"11.11.0","dist":{"integrity":"sha512-hZZT+U2p2ZGDh59N6NRFzEkF+Dm4hdRc9BrbZcHkG1Pa3IW940s2wr3t4Kg9tK4Ojtvbk4romRCiOrTc3+z2tQ==","shasum":"24171f2785fdeebf914f48f5907db366a81e0a45","tarball":"https://registry.npmjs.org/@0xgasless/mcp/-/mcp-0.1.0.tgz","fileCount":18,"unpackedSize":62581,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCytoa1Lvn+YpR/ygOcDzX9D9hhQPF9K01fEYvJ+/0G4QIgWw4Y9lupf6VZPtOc7DqWNnz1eQmGoJ/XfB677R4g0dM="}]},"_npmUser":{"name":"0xgasless","email":"0xgasless@gmail.com"},"directories":{},"maintainers":[{"name":"0xgasless","email":"0xgasless@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mcp_0.1.0_1787135349914_0.3393261915546675"},"_hasShrinkwrap":false}},"time":{"created":"2025-06-09T05:46:02.113Z","modified":"2026-08-19T10:29:10.170Z","0.0.1":"2025-06-09T05:46:02.415Z","0.0.2":"2025-06-09T06:04:43.893Z","0.0.3":"2025-06-13T17:36:10.463Z","0.0.4":"2025-06-13T17:49:16.507Z","0.0.5":"2025-08-29T10:30:15.327Z","0.1.0":"2026-08-19T10:29:10.039Z"},"license":"Apache-2.0","keywords":["mcp","model-context-protocol","0xgasless","x402","agent-wallet","erc-8004","stablecoin","usdc","ai-agents"],"description":"Model Context Protocol server for the 0xGasless platform — give any AI agent a KMS-custodied wallet that pays via x402, plus ERC-8004 identity/reputation/validation and the Apify tool gateway. Front door only: one project API key.","maintainers":[{"name":"0xgasless","email":"0xgasless@gmail.com"}],"readme":"# @0xgasless/mcp\n\n**Give any AI agent a wallet.** A Model Context Protocol server that exposes the\nwhole 0xGasless platform — KMS-custodied agent wallets, x402 payments (zero\ngas), ERC-8004 identity / reputation / validation, and the Apify tool gateway —\nto any MCP host (Claude Code, Claude Desktop, Cursor, Windsurf…). One\ncredential: your project API key.\n\n27 tools across 7 domains: `policy`, `agents`, `x402`, `identity`,\n`reputation`, `validation`, `tool-gateway`. See [`SKILL.md`](./SKILL.md) for the\nfull agent-facing integration guide.\n\n## Fastest path — one command\n\nFrom a project directory:\n\n```sh\nOXGAS_API_KEY=0xgas_live_sk_... sh skills.sh\n```\n\n`skills.sh` writes the MCP config (`.mcp.json`, plus `.cursor/mcp.json` for\nCursor projects), drops `0xgasless-SKILL.md` as agent context, and prints next\nsteps. Idempotent, no sudo, no global installs. Add `--allow-spending` to enable\nfund-moving tools.\n\n## Manual MCP config\n\n```json\n{\n  \"mcpServers\": {\n    \"0xgasless\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@0xgasless/mcp\"],\n      \"env\": {\n        \"OXGAS_API_KEY\": \"0xgas_live_sk_...\",\n        \"OXGAS_DEFAULT_CHAIN\": \"fuji\",\n        \"OXGAS_MCP_ALLOW_SPENDING\": \"0\"\n      }\n    }\n  }\n}\n```\n\n## Safety model\n\nRead/create tools (create agent, read balance, get policy, search tools…) always\nwork. Tools that **move funds or write on-chain** are marked `[spending]` and are\n**refused by default**:\n\n- `OXGAS_MCP_ALLOW_SPENDING=1` is required for any spending tool to run.\n- Spending on a **mainnet** chain (`avalanche`, `base`) additionally requires\n  `I_UNDERSTAND_MAINNET=yes`.\n\nRefusals return a clear, actionable message instead of silently failing, and the\nonly credential is the project API key — there is no private key to hold. This\nkeeps an agent from spending without the operator explicitly opting in.\n\n## Local development\n\n```sh\nnpm install\nnpm run build\nOXGAS_API_KEY=... npm start      # runs the stdio server\nnpm run typecheck\n```\n\n## Relationship to the old `mcp/` package\n\nThe legacy `0xgasless-mcp` (folder `mcp/`) wrapped agentkit with a **raw private\nkey** and defaulted to BSC. This package is the **platform** model: KMS-custodied\nwallets via the project API key, x402, and the full ERC-8004 trust stack — no\nprivate key handling. Prefer this one.\n","readmeFilename":"README.md"}