{"_id":"@delegare/mcp-tools","_rev":"8-ca5a7cf497dff1c2765f69891d26b361","name":"@delegare/mcp-tools","dist-tags":{"latest":"0.4.3"},"versions":{"0.1.0":{"name":"@delegare/mcp-tools","version":"0.1.0","keywords":["ai","agents","mcp","payments","delegation"],"license":"MIT","_id":"@delegare/mcp-tools@0.1.0","maintainers":[{"name":"tp_securelend","email":"tobias@securelend.ai"}],"homepage":"https://github.com/delegare/delegare#readme","bugs":{"url":"https://github.com/delegare/delegare/issues"},"dist":{"shasum":"639f2adb93082ab34396825e2086c0addc3eb4b7","tarball":"https://registry.npmjs.org/@delegare/mcp-tools/-/mcp-tools-0.1.0.tgz","fileCount":13,"integrity":"sha512-ofgVgrqZqgVAoX+dy3Uk31xNAfNHcW+CU4VVkFI3DlwnzQ9cWzSBqCLv187+/F1bBKgoXu0JaCYu3+TTalTofA==","signatures":[{"sig":"MEUCIE63LTStjTJMyK08pEusTx7KMkdTmq72sWeb2XePDZudAiEA1ZSKVyEHR1acnhSwKquCj6yzX9iBr66XFUiFrZqU67Y=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":14574},"jest":{"preset":"ts-jest","testEnvironment":"node"},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"f115ff61abae9c4e2ce5d8ccdaceabe44b0c16ac","scripts":{"lint":"tsc --noEmit","test":"jest --passWithNoTests","build":"tsc","prepublishOnly":"pnpm build"},"_npmUser":{"name":"tp_securelend","email":"tobias@securelend.ai"},"repository":{"url":"git+https://github.com/delegare/delegare.git","type":"git"},"_npmVersion":"11.12.0","description":"MCP tool registration for Delegare agent payment delegation","directories":{},"_nodeVersion":"24.12.0","dependencies":{"zod":"^4.3.6","@delegare/sdk":"workspace:*","@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.0","ts-jest":"^29.0.0","typescript":"^5.4.0","@types/jest":"^29.0.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp-tools_0.1.0_1774477875474_0.694532200254433","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@delegare/mcp-tools","version":"0.2.0","keywords":["ai","agents","mcp","payments","delegation"],"license":"MIT","_id":"@delegare/mcp-tools@0.2.0","maintainers":[{"name":"tp_securelend","email":"tobias@securelend.ai"}],"homepage":"https://github.com/delegare/delegare#readme","bugs":{"url":"https://github.com/delegare/delegare/issues"},"dist":{"shasum":"0634a1c1dae81878cc003586a4e1f888e458b5ba","tarball":"https://registry.npmjs.org/@delegare/mcp-tools/-/mcp-tools-0.2.0.tgz","fileCount":14,"integrity":"sha512-QPMxO98SI7FhfHG9pNNE0m2Jlz5s1oMoKYVlkqPCGfxQuD2q/BfW1lkc/r9JNq26b2LoBeJqOK2G7NOLpjpB8w==","signatures":[{"sig":"MEUCICiUFGW2UsilZPhkd9XDDorDtoeQiieMJl1w7vkDqEsJAiEArTkbtV+Tx2nq+ja4VnYIzPAPDqMajBKkhTA/EZ+EEAQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21523},"jest":{"preset":"ts-jest","testEnvironment":"node"},"main":"dist/index.js","_from":"file:delegare-mcp-tools-0.2.0.tgz","types":"dist/index.d.ts","scripts":{"lint":"tsc --noEmit","test":"jest --passWithNoTests","build":"tsc"},"_npmUser":{"name":"tp_securelend","email":"tobias@securelend.ai"},"_resolved":"/private/var/folders/23/xzk1r3rs6l93xff30gb79xgc0000gn/T/e3ab7ffc114661eec89453f8f9d0cf16/delegare-mcp-tools-0.2.0.tgz","_integrity":"sha512-QPMxO98SI7FhfHG9pNNE0m2Jlz5s1oMoKYVlkqPCGfxQuD2q/BfW1lkc/r9JNq26b2LoBeJqOK2G7NOLpjpB8w==","repository":{"url":"git+https://github.com/delegare/delegare.git","type":"git"},"_npmVersion":"11.12.0","description":"MCP tool registration for Delegare agent payment delegation","directories":{},"_nodeVersion":"24.12.0","dependencies":{"zod":"^4.3.6","@delegare/sdk":"0.2.0","@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.0","ts-jest":"^29.0.0","typescript":"^5.4.0","@types/jest":"^29.0.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp-tools_0.2.0_1775684717270_0.8041896844422889","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@delegare/mcp-tools","version":"0.2.1","keywords":["ai","agents","mcp","payments","delegation"],"license":"MIT","_id":"@delegare/mcp-tools@0.2.1","maintainers":[{"name":"tp_securelend","email":"tobias@securelend.ai"}],"homepage":"https://github.com/delegare/delegare#readme","bugs":{"url":"https://github.com/delegare/delegare/issues"},"dist":{"shasum":"f28612020f6d020b19f3982cb9911442da0e8b5e","tarball":"https://registry.npmjs.org/@delegare/mcp-tools/-/mcp-tools-0.2.1.tgz","fileCount":15,"integrity":"sha512-obEe1hJN+TPmNXhHZVpg1xfVMaCvxO7B/l0qlHb4WZOw5SyqcmqXAPz89RhGD11ZkhCb2VYUe6uTj4I7WscGZw==","signatures":[{"sig":"MEYCIQDUECI7LeBIYqk1S8G+6TDsIKokHvVcyWDrZrnIaGkyagIhAMf4IlbGn0S5jBDLOtUvdZnrjlRGE8eLTYCVD9StumvS","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":24468},"jest":{"preset":"ts-jest","testEnvironment":"node"},"main":"dist/index.js","_from":"file:delegare-mcp-tools-0.2.1.tgz","types":"dist/index.d.ts","scripts":{"lint":"tsc --noEmit","test":"jest --passWithNoTests","build":"tsc"},"_npmUser":{"name":"tp_securelend","email":"tobias@securelend.ai"},"_resolved":"/private/var/folders/23/xzk1r3rs6l93xff30gb79xgc0000gn/T/e1a7845ff3f1da02ec1441523542490e/delegare-mcp-tools-0.2.1.tgz","_integrity":"sha512-obEe1hJN+TPmNXhHZVpg1xfVMaCvxO7B/l0qlHb4WZOw5SyqcmqXAPz89RhGD11ZkhCb2VYUe6uTj4I7WscGZw==","repository":{"url":"git+https://github.com/delegare/delegare.git","type":"git"},"_npmVersion":"11.12.0","description":"MCP tool registration for Delegare agent payment delegation","directories":{},"_nodeVersion":"24.12.0","dependencies":{"zod":"^4.3.6","@delegare/sdk":"0.2.0","@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.0","ts-jest":"^29.0.0","typescript":"^5.4.0","@types/jest":"^29.0.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp-tools_0.2.1_1775685006480_0.8501798787426926","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@delegare/mcp-tools","version":"0.2.2","keywords":["ai","agents","mcp","payments","delegation"],"license":"MIT","_id":"@delegare/mcp-tools@0.2.2","maintainers":[{"name":"tp_securelend","email":"tobias@securelend.ai"}],"homepage":"https://github.com/delegare/delegare#readme","bugs":{"url":"https://github.com/delegare/delegare/issues"},"dist":{"shasum":"849bbbc7d9ca485c35772c2394d66536004b4acc","tarball":"https://registry.npmjs.org/@delegare/mcp-tools/-/mcp-tools-0.2.2.tgz","fileCount":15,"integrity":"sha512-eB6Gon3IuH7PKOGk+RTJQHz2vKbEkd6B9Fdl+KHS0ucVOxwBu0oKBEKGyRSeo+xbicfvqaZWjzDafBcv7cQaJg==","signatures":[{"sig":"MEYCIQCYjJYY6NJS+BAPsabYJa8UWYD1HoA81ykjfpean9F0WQIhAPCUZpcTA9/QMHTFfN4WgHFzrAQSPsHQCmbGIY6fnmmm","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":24468},"jest":{"preset":"ts-jest","testEnvironment":"node"},"main":"dist/index.js","_from":"file:delegare-mcp-tools-0.2.2.tgz","types":"dist/index.d.ts","scripts":{"lint":"tsc --noEmit","test":"jest --passWithNoTests","build":"tsc"},"_npmUser":{"name":"tp_securelend","email":"tobias@securelend.ai"},"_resolved":"/private/var/folders/23/xzk1r3rs6l93xff30gb79xgc0000gn/T/8e667f92ac5d092ee8e44e71ed0618e5/delegare-mcp-tools-0.2.2.tgz","_integrity":"sha512-eB6Gon3IuH7PKOGk+RTJQHz2vKbEkd6B9Fdl+KHS0ucVOxwBu0oKBEKGyRSeo+xbicfvqaZWjzDafBcv7cQaJg==","repository":{"url":"git+https://github.com/delegare/delegare.git","type":"git"},"_npmVersion":"11.12.0","description":"MCP tool registration for Delegare agent payment delegation","directories":{},"_nodeVersion":"24.12.0","dependencies":{"zod":"^4.3.6","@delegare/sdk":"0.2.1","@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.0","ts-jest":"^29.0.0","typescript":"^5.4.0","@types/jest":"^29.0.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp-tools_0.2.2_1775768335762_0.9635224057259169","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@delegare/mcp-tools","version":"0.4.0","keywords":["ai","agents","mcp","payments","delegation"],"license":"MIT","_id":"@delegare/mcp-tools@0.4.0","maintainers":[{"name":"tp_securelend","email":"tobias@securelend.ai"}],"homepage":"https://github.com/delegare/delegare#readme","bugs":{"url":"https://github.com/delegare/delegare/issues"},"dist":{"shasum":"f6efd4bbc8cd3ebf2fcdb326f564346a1c80b830","tarball":"https://registry.npmjs.org/@delegare/mcp-tools/-/mcp-tools-0.4.0.tgz","fileCount":19,"integrity":"sha512-Nze/UbmA2YPixdww47LpIPU2IzNrfLu4exTudS7KKM/v94bup2flYa5sHhmmyPBQUZxCDs8PIFgcAHSA38pYQQ==","signatures":[{"sig":"MEUCIQC0P0YGuw4Etu+R9YVwmfwp12QRJakUQ9tFvhfcQUzrKQIgEW1ghNWPmfZRJaxHc56+gCRJn330oaoLChugDZNbudk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":27173},"jest":{"preset":"ts-jest","testEnvironment":"node"},"main":"dist/index.js","_from":"file:delegare-mcp-tools-0.4.0.tgz","types":"dist/index.d.ts","scripts":{"lint":"tsc --noEmit","test":"jest --passWithNoTests","build":"tsc"},"_npmUser":{"name":"tp_securelend","email":"tobias@securelend.ai"},"_resolved":"/private/var/folders/23/xzk1r3rs6l93xff30gb79xgc0000gn/T/62394bb7bcba3ef2fdb228642122120c/delegare-mcp-tools-0.4.0.tgz","_integrity":"sha512-Nze/UbmA2YPixdww47LpIPU2IzNrfLu4exTudS7KKM/v94bup2flYa5sHhmmyPBQUZxCDs8PIFgcAHSA38pYQQ==","repository":{"url":"git+https://github.com/delegare/delegare.git","type":"git"},"_npmVersion":"11.12.0","description":"MCP tool registration for Delegare agent payment delegation","directories":{},"_nodeVersion":"24.12.0","dependencies":{"zod":"^4.3.6","@delegare/sdk":"0.4.0","@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.0","esbuild":"^0.28.0","ts-jest":"^29.0.0","typescript":"^5.4.0","@types/jest":"^29.0.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp-tools_0.4.0_1776633630186_0.10808065437064207","host":"s3://npm-registry-packages-npm-production"}},"0.4.1":{"name":"@delegare/mcp-tools","version":"0.4.1","keywords":["ai","agents","mcp","payments","delegation"],"license":"MIT","_id":"@delegare/mcp-tools@0.4.1","maintainers":[{"name":"tp_securelend","email":"tobias@securelend.ai"}],"homepage":"https://github.com/delegare/delegare#readme","bugs":{"url":"https://github.com/delegare/delegare/issues"},"dist":{"shasum":"60454382eff5842343f999d8d717e0bd413fbe4e","tarball":"https://registry.npmjs.org/@delegare/mcp-tools/-/mcp-tools-0.4.1.tgz","fileCount":18,"integrity":"sha512-/o77M9bhF0urGr/Phdp/U6vjjedR+Re14A8PAGsZIjAIlADGE+ua7I2ppZdt7WiKjoGuhfsLs/Qknm0Nak6Avg==","signatures":[{"sig":"MEUCICZxk3YHAyZ5DsC7JkNMlJwrV8P7TJteNzRco5A+9zKTAiEAwzQG73y9edwVkg6ZDTXQwLUkFPe/tohNnhq+SqrN/ns=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":26933},"jest":{"preset":"ts-jest","testEnvironment":"node"},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"72c4ecf81182bbf487191f617745269c86e36267","scripts":{"lint":"tsc --noEmit","test":"jest --passWithNoTests","build":"tsc","prepublishOnly":"pnpm build"},"_npmUser":{"name":"tp_securelend","email":"tobias@securelend.ai"},"repository":{"url":"git+https://github.com/delegare/delegare.git","type":"git"},"_npmVersion":"11.12.0","description":"MCP tool registration for Delegare agent payment delegation","directories":{},"_nodeVersion":"24.12.0","dependencies":{"zod":"^4.3.6","@delegare/sdk":"workspace:*","@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.0","esbuild":"^0.28.0","ts-jest":"^29.0.0","typescript":"^5.4.0","@types/jest":"^29.0.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp-tools_0.4.1_1778268029692_0.6888797914896132","host":"s3://npm-registry-packages-npm-production"}},"0.4.2":{"name":"@delegare/mcp-tools","version":"0.4.2","keywords":["ai","agents","mcp","payments","delegation"],"license":"MIT","_id":"@delegare/mcp-tools@0.4.2","maintainers":[{"name":"tp_securelend","email":"tobias@securelend.ai"}],"homepage":"https://github.com/delegare/delegare#readme","bugs":{"url":"https://github.com/delegare/delegare/issues"},"dist":{"shasum":"d0da43d10efe04bb471f121520c2f78a290ade14","tarball":"https://registry.npmjs.org/@delegare/mcp-tools/-/mcp-tools-0.4.2.tgz","fileCount":19,"integrity":"sha512-JKaHR/R4uHsCXiSJUMCOv84yeX5SpVoJxDcUi6mW4QkeRsVMyo4wp9VL11GwgZehMtQcnylyIpcPR2NDVSMa6A==","signatures":[{"sig":"MEQCIHhdYILvYH5h8ftIXrmO1fB4FG7QqLQfz259sO5s0KLDAiBld3cHuCWoKKExJGMqAfeZGt983ZUsl4BbfMFSQHaA7w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":29988},"jest":{"preset":"ts-jest","testEnvironment":"node"},"main":"dist/index.js","_from":"file:delegare-mcp-tools-0.4.2.tgz","types":"dist/index.d.ts","scripts":{"lint":"tsc --noEmit","test":"jest --passWithNoTests","build":"tsc"},"_npmUser":{"name":"tp_securelend","email":"tobias@securelend.ai"},"_resolved":"/private/var/folders/23/xzk1r3rs6l93xff30gb79xgc0000gn/T/fd62ed93576daf2e1b9cce9a1dee2dd4/delegare-mcp-tools-0.4.2.tgz","_integrity":"sha512-JKaHR/R4uHsCXiSJUMCOv84yeX5SpVoJxDcUi6mW4QkeRsVMyo4wp9VL11GwgZehMtQcnylyIpcPR2NDVSMa6A==","repository":{"url":"git+https://github.com/delegare/delegare.git","type":"git"},"_npmVersion":"11.12.0","description":"MCP tool registration for Delegare agent payment delegation","directories":{},"_nodeVersion":"24.12.0","dependencies":{"zod":"^4.3.6","@delegare/sdk":"0.4.0","@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.0","esbuild":"^0.28.0","ts-jest":"^29.0.0","typescript":"^5.4.0","@types/jest":"^29.0.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp-tools_0.4.2_1780007837680_0.2660156590901195","host":"s3://npm-registry-packages-npm-production"}},"0.4.3":{"name":"@delegare/mcp-tools","version":"0.4.3","description":"MCP tool registration for Delegare agent payment delegation","main":"dist/index.js","types":"dist/index.d.ts","license":"MIT","repository":{"type":"git","url":"git+https://github.com/delegare/delegare.git"},"keywords":["ai","agents","mcp","payments","delegation"],"dependencies":{"@modelcontextprotocol/sdk":"^1.0.0","zod":"^4.3.6","@delegare/sdk":"0.4.0"},"devDependencies":{"@types/jest":"^29.0.0","@types/node":"^20.0.0","esbuild":"^0.28.0","jest":"^29.0.0","ts-jest":"^29.0.0","typescript":"^5.4.0"},"jest":{"preset":"ts-jest","testEnvironment":"node"},"scripts":{"build":"tsc","test":"jest --passWithNoTests","lint":"tsc --noEmit"},"_id":"@delegare/mcp-tools@0.4.3","bugs":{"url":"https://github.com/delegare/delegare/issues"},"homepage":"https://github.com/delegare/delegare#readme","_integrity":"sha512-Az3cNR3UZ46XlQslu1LNM2Ngj97Y3DIKfnLlND+bDyqbf8bUOif4PKnNI/FuUUBrWDpEjMzng4B6Uiky8+8iOA==","_resolved":"/private/var/folders/23/xzk1r3rs6l93xff30gb79xgc0000gn/T/f06a73bf23195d7f15b2c5c77f8187df/delegare-mcp-tools-0.4.3.tgz","_from":"file:delegare-mcp-tools-0.4.3.tgz","_nodeVersion":"24.12.0","_npmVersion":"11.12.0","dist":{"integrity":"sha512-Az3cNR3UZ46XlQslu1LNM2Ngj97Y3DIKfnLlND+bDyqbf8bUOif4PKnNI/FuUUBrWDpEjMzng4B6Uiky8+8iOA==","shasum":"5383820008ca088d8dd2eae4f3b49656a4b7d0e3","tarball":"https://registry.npmjs.org/@delegare/mcp-tools/-/mcp-tools-0.4.3.tgz","fileCount":19,"unpackedSize":35265,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCMp/ro4ySnP/3sQWcsw5ZGfdsBKql2riEXnnCKcAuW1AIhAKxyfJ5kmIkVWheCulNv8xd91mQbhnpcKt/eHdaUAN/X"}]},"_npmUser":{"name":"tp_securelend","email":"tobias@securelend.ai"},"directories":{},"maintainers":[{"name":"tp_securelend","email":"tobias@securelend.ai"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mcp-tools_0.4.3_1780045117580_0.5805430780942447"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-25T22:31:15.358Z","modified":"2026-05-29T08:58:37.846Z","0.1.0":"2026-03-25T22:31:15.610Z","0.2.0":"2026-04-08T21:45:17.570Z","0.2.1":"2026-04-08T21:50:06.639Z","0.2.2":"2026-04-09T20:58:55.907Z","0.4.0":"2026-04-19T21:20:30.417Z","0.4.1":"2026-05-08T19:20:29.849Z","0.4.2":"2026-05-28T22:37:17.820Z","0.4.3":"2026-05-29T08:58:37.721Z"},"bugs":{"url":"https://github.com/delegare/delegare/issues"},"license":"MIT","homepage":"https://github.com/delegare/delegare#readme","keywords":["ai","agents","mcp","payments","delegation"],"repository":{"type":"git","url":"git+https://github.com/delegare/delegare.git"},"description":"MCP tool registration for Delegare agent payment delegation","maintainers":[{"name":"tp_securelend","email":"tobias@securelend.ai"}],"readme":"# @delegare/mcp-tools\n\nA collection of Model Context Protocol (MCP) tools that enable AI agents to autonomously execute payments and handle `x402` paywalls using the **Delegare** protocol.\n\nThis package exposes a set of Zod-validated, secure MCP tools that integrate directly with the `@delegare/sdk`.\n\n---\n\n## Installation\n\n```bash\npnpm add @delegare/mcp-tools @delegare/sdk\n# or\nnpm install @delegare/mcp-tools @delegare/sdk\n```\n\n---\n\n## Provided Tools\n\nWhen you register these tools, the agent gains the ability to:\n\n*   **`delegare_fetch`**: Fetch a URL. If the resource returns a `402 Payment Required` (x402 protocol), the tool automatically intercepts the challenge, signs an EIP-3009 transaction using the agent's active spending mandate, and seamlessly retries the request to fetch the premium data.\n*   **`authorize_agent_payment`**: Manually execute a payment to a specified merchant using the agent's pre-authorized spending mandate.\n*   **`setup_spending_mandate`**: Generate a secure setup URL to send to the human user so they can authorize a spending budget (e.g., \"$50 max per month\").\n*   **`poll_setup_session`**: Check the status of a pending setup session to retrieve the newly minted `intentMandate` (SD-JWT-VC) once the user has approved it.\n*   **`check_mandate_balance`**: Query the remaining monthly budget for an active mandate.\n*   **`revoke_mandate`**: Instantly revoke the active spending mandate.\n\n---\n\n## Usage in Custom MCP Servers\n\nYou can register these tools in any standard MCP server. The `registerDelegareTools` function injects the tools into your server instance.\n\n```typescript\nimport { McpServer } from \"@modelcontextprotocol/sdk/server/mcp.js\";\nimport { registerDelegareTools } from \"@delegare/mcp-tools\";\n\nconst server = new McpServer({\n  name: \"my-custom-agent\",\n  version: \"1.0.0\"\n});\n\n// Register the Delegare payment tools\nregisterDelegareTools(server, {\n  merchantId: process.env.DELEGARE_MERCHANT_ID, // Your merchant/platform ID\n  apiKey: process.env.DELEGARE_API_KEY,         // Your API key\n  \n  // Optional: Restrict the agent to only making payments of specific amounts\n  allowedAmountsCents: [500, 1000], // Only $5 and $10 allowed\n});\n\n// ... start your transport ...\n```\n\n---\n\n## Security\n\n*   **No Wallet Popups:** Tools like `delegare_fetch` use the agent's pre-authorized `intentMandate` to securely sign transactions server-side, eliminating the need for browser-based wallet popups during automated execution.\n*   **Zero Exposure:** The API Key and Merchant ID are injected securely via the server closure. They are never exposed to the LLM prompt or output.\n*   **Strict Bounds:** All payments executed via these tools are strictly bounded by the human-defined limits set during the setup session (e.g., max per transaction, max per month).\n\n---\n\n## Links\n- [Documentation](https://docs.delegare.dev)\n- [Dashboard](https://app.delegare.dev)\n- [GitHub](https://github.com/delegare)","readmeFilename":"README.md"}