{"_id":"@aipp/mcp","_rev":"4-4c3d2e0bda636b2d6bd41c320fe856b3","name":"@aipp/mcp","dist-tags":{"latest":"0.3.1"},"versions":{"0.1.0":{"name":"@aipp/mcp","version":"0.1.0","_id":"@aipp/mcp@0.1.0","maintainers":[{"name":"aipp","email":"farukucal@gmail.com"}],"bin":{"aipp-mcp":"dist/index.js"},"dist":{"shasum":"b05b94ea272c0ca1aff429b1059571d48f821689","tarball":"https://registry.npmjs.org/@aipp/mcp/-/mcp-0.1.0.tgz","fileCount":5,"integrity":"sha512-FhSX5zELo9NE7KJynXFpAkdBQ3L+ZdIpVoul+DjSzbAj2viVnKprQp0sxqMo8hs0cHMZt4D0WBNRrFn/HuzQxg==","signatures":[{"sig":"MEUCIQDTzcFqrAjBboG4/ggM1ZTgNaQ6babW+3Fc0DJ1z3YojAIgKH+A4EjdbD8BD300RovjREn3zwELUjydBLHkEAyNDQo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7958},"main":"dist/index.js","gitHead":"a31e63f0ab490a7c316d08bde06830f3c1791623","scripts":{"build":"tsc","start":"node dist/index.js"},"_npmUser":{"name":"aipp","email":"farukucal@gmail.com"},"_npmVersion":"11.11.0","description":"MCP Server for AIPP (Agent-Native Lightning Payment Infrastructure)","directories":{},"_nodeVersion":"24.12.0","dependencies":{"axios":"^1.6.0","@modelcontextprotocol/sdk":"^1.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.1.0_1780672999913_0.6237511200744279","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@aipp/mcp","version":"0.2.0","_id":"@aipp/mcp@0.2.0","maintainers":[{"name":"aipp","email":"farukucal@gmail.com"}],"bin":{"aipp-mcp":"dist/index.js"},"dist":{"shasum":"a8623c92f125c069e624f1c1c5ee8fcd79d7fc88","tarball":"https://registry.npmjs.org/@aipp/mcp/-/mcp-0.2.0.tgz","fileCount":5,"integrity":"sha512-7CnR1ISuZmIK9yaDhGMs9CSwLIb9zJtUi6XnSaTbRid2mOVmtFdwOn9Ynu/npVwskA8hLz2uiLLL+XbOjvXZ3A==","signatures":[{"sig":"MEQCID8Qk3kyzRZW0eDjSq7EeP6ZT9ptW1+cd+4gqEi0b2nIAiBu35P2XAw9dFRQmMjbemu+30luwToMby0H1g2B8r/+4w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7920},"main":"dist/index.js","gitHead":"429da02924ee587e158e08a76666734a5bd9d580","scripts":{"build":"tsc","start":"node dist/index.js"},"_npmUser":{"name":"aipp","email":"farukucal@gmail.com"},"_npmVersion":"11.11.0","description":"AIPP (AI Payment Protocol) MCP Server","directories":{},"_nodeVersion":"24.12.0","dependencies":{"axios":"^1.6.0","@modelcontextprotocol/sdk":"^1.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.2.0_1780686522236_0.005700224130741782","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@aipp/mcp","version":"0.3.0","keywords":["mcp","agentpay","lightning","l402","bitcoin","ai","paywall"],"author":{"name":"AIPP"},"license":"MIT","_id":"@aipp/mcp@0.3.0","maintainers":[{"name":"aipp","email":"farukucal@gmail.com"}],"homepage":"https://github.com/aipp/agentpay-mcp#readme","bugs":{"url":"https://github.com/aipp/agentpay-mcp/issues"},"bin":{"agentpay-mcp":"dist/index.js"},"dist":{"shasum":"404766520c00440c6548292f9c3d5ae93002da78","tarball":"https://registry.npmjs.org/@aipp/mcp/-/mcp-0.3.0.tgz","fileCount":6,"integrity":"sha512-4bao7sb40CGTf+7YZfmRWc+h5WiPREwxnXlzicjg6SUgM70AJNLY/22JaFSTl1FF2eiXdFRqzggl0LzDQXXxFw==","signatures":[{"sig":"MEUCID6BE6HqOJ4FyIVHaF2lDFBAZS0dJ+OWmV4F93ReZLb5AiEAxfKbS++SvbIQ7BK5FKOK1jQuCPx+S4EUxRVm9n6jc18=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":29979},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=18"},"scripts":{"dev":"tsc --watch","build":"tsc","start":"node dist/index.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"aipp","email":"farukucal@gmail.com"},"repository":{"url":"git+https://github.com/aipp/agentpay-mcp.git","type":"git"},"_npmVersion":"10.8.2","description":"MCP server for AgentPay — Lightning Network L402 paywall for AI agents","directories":{},"_nodeVersion":"20.20.2","dependencies":{"zod":"^3.24.0","dotenv":"^16.4.0","@modelcontextprotocol/sdk":"^1.11.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.8.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.3.0_1781095763622_0.24335569382902644","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@aipp/mcp","version":"0.3.1","description":"MCP server for AgentPay — Lightning Network L402 paywall for AI agents","main":"dist/index.js","types":"dist/index.d.ts","bin":{"agentpay-mcp":"dist/index.js"},"scripts":{"build":"tsc","start":"node dist/index.js","prepublishOnly":"npm run build","dev":"tsc --watch"},"keywords":["mcp","agentpay","lightning","l402","bitcoin","ai","paywall"],"author":{"name":"AIPP"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/aipp/agentpay-mcp.git"},"engines":{"node":">=18"},"dependencies":{"@modelcontextprotocol/sdk":"^1.11.0","zod":"^3.24.0","dotenv":"^16.4.0"},"devDependencies":{"typescript":"^5.8.0","@types/node":"^22.0.0"},"_id":"@aipp/mcp@0.3.1","bugs":{"url":"https://github.com/aipp/agentpay-mcp/issues"},"homepage":"https://github.com/aipp/agentpay-mcp#readme","_nodeVersion":"20.20.2","_npmVersion":"10.8.2","dist":{"integrity":"sha512-okX8O/Z+/PQYabRfUNTMvGWa6i6QGmZk5afux0/gGo4dv3D+D0/JeocXLB1twfl6y13yfQXLToEdt4NodDESww==","shasum":"3213c34bf080ad2e55457b8816541c56cf46ebb6","tarball":"https://registry.npmjs.org/@aipp/mcp/-/mcp-0.3.1.tgz","fileCount":6,"unpackedSize":30052,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIBovu8tVO/toLfsLfMvp9bixwhWh7MwsaZcI/O33T7vMAiEAnV8liM/W2cm3t3Mde+tysfyRN+Tr2zYrPwgzay0LLBk="}]},"_npmUser":{"name":"aipp","email":"farukucal@gmail.com"},"directories":{},"maintainers":[{"name":"aipp","email":"farukucal@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mcp_0.3.1_1781095792985_0.44585606636248865"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-05T15:23:19.817Z","modified":"2026-06-10T12:49:53.205Z","0.1.0":"2026-06-05T15:23:20.053Z","0.2.0":"2026-06-05T19:08:42.369Z","0.3.0":"2026-06-10T12:49:23.747Z","0.3.1":"2026-06-10T12:49:53.103Z"},"bugs":{"url":"https://github.com/aipp/agentpay-mcp/issues"},"author":{"name":"AIPP"},"license":"MIT","homepage":"https://github.com/aipp/agentpay-mcp#readme","keywords":["mcp","agentpay","lightning","l402","bitcoin","ai","paywall"],"repository":{"type":"git","url":"git+https://github.com/aipp/agentpay-mcp.git"},"description":"MCP server for AgentPay — Lightning Network L402 paywall for AI agents","maintainers":[{"name":"aipp","email":"farukucal@gmail.com"}],"readme":"# @agentpay/mcp\n\n**MCP server for AgentPay** — Lightning Network L402 paywall for AI agents.\n\nGive any MCP-compatible client (Claude Desktop, Cursor, Windsurf, custom agents) direct access to AgentPay's payment infrastructure.\n\n## Quick Start\n\n```bash\n# Install\nnpx @agentpay/mcp\n\n# Or clone & run\ngit clone https://github.com/aipp/agentpay-mcp.git\ncd agentpay-mcp\nnpm install && npm run build\n```\n\n## Configuration\n\nSet your API key in `.env`:\n\n```env\nAGENTPAY_API_KEY=sg_your_key_here\nAGENTPAY_API_URL=https://api.aipp.dev\n```\n\nDon't have an API key? Use the `register` tool to get one with 50 free credits.\n\n## Tools\n\n| Tool | Description | Auth Required |\n|------|-------------|:------------:|\n| `register` | Get an API key + 50 free credits | ❌ |\n| `get_balance` | Check credit balance | ✅ |\n| `get_client_info` | Get profile and payee info | ✅ |\n| `set_payee` | Set Lightning Address for invoices | ✅ |\n| `spend_credits` | Spend credits (idempotent) | ✅ |\n| `create_paywall_challenge` | Create L402 challenge + invoice | ✅ |\n| `verify_payment` | Verify L402 payment & spend credits | ✅ |\n| `list_plans` | List top-up plans | ❌ |\n| `get_usage_summary` | Usage over time window | ✅ |\n| `get_usage_forecast` | Forecast + purchase recommendation | ✅ |\n\n## Integration with Claude Desktop\n\nAdd to your `claude_desktop_config.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"agentpay\": {\n      \"command\": \"npx\",\n      \"args\": [\"@agentpay/mcp\"],\n      \"env\": {\n        \"AGENTPAY_API_KEY\": \"sg_your_key_here\"\n      }\n    }\n  }\n}\n```\n\n## Integration with Cursor / Windsurf\n\n```bash\n# In your project\nnpx @agentpay/mcp\n\n# Configure in Cursor settings → MCP Servers → Add:\n# Command: npx @agentpay/mcp\n# Env: AGENTPAY_API_KEY=sg_your_key_here\n```\n\n## Development\n\n```bash\nnpm run dev    # watch mode\nnpm run build  # production build\nnpm start      # run server\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md"}