{"_id":"@astrokid-afk/x402-monetization-gateway","_rev":"2-8bf52d06e98dfa8641556fd978afe798","name":"@astrokid-afk/x402-monetization-gateway","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@astrokid-afk/x402-monetization-gateway","version":"1.0.0","keywords":[],"author":"","license":"ISC","_id":"@astrokid-afk/x402-monetization-gateway@1.0.0","maintainers":[{"name":"astrokid-afk","email":"guineapigpower12@hotmail.com"}],"dist":{"shasum":"67687a9626226f5e7caefcec00cbfc744cff378b","tarball":"https://registry.npmjs.org/@astrokid-afk/x402-monetization-gateway/-/x402-monetization-gateway-1.0.0.tgz","fileCount":9,"integrity":"sha512-fSpyg+/zXMGCFN58F/+HFhthwIK9xl36hVaYwYrjeLOolqDuEqVkBgvzWCMHlQN48qqPOiDlTX6X8yHBHRkkiQ==","signatures":[{"sig":"MEUCIG/GPe6IjEZhzC85jJpTETjwKJGZ5Tv3JbItn1rpdM//AiEA4TunQ/oKOV+lLCFvcjAdBuvoOVW61zDsETUWNn6QoIk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9227},"main":"index.js","type":"module","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"astrokid-afk","email":"guineapigpower12@hotmail.com"},"_npmVersion":"10.8.2","directories":{},"_nodeVersion":"20.20.2","dependencies":{"zod":"^4.4.3","express":"^5.2.1","@modelcontextprotocol/sdk":"^1.30.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.23.5","typescript":"^7.0.2","@types/node":"^26.1.2"},"_npmOperationalInternal":{"tmp":"tmp/x402-monetization-gateway_1.0.0_1785805828501_0.4652854034191547","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@astrokid-afk/x402-monetization-gateway","version":"1.0.1","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":[],"author":"","license":"ISC","description":"Hey there! This is a custom Model Context Protocol (MCP) server I built to help developers easily monetize their API endpoints.","dependencies":{"@modelcontextprotocol/sdk":"^1.30.0","express":"^5.2.1","zod":"^4.4.3"},"devDependencies":{"@types/node":"^26.1.2","tsx":"^4.23.5","typescript":"^7.0.2"},"type":"module","_id":"@astrokid-afk/x402-monetization-gateway@1.0.1","_nodeVersion":"20.20.2","_npmVersion":"10.8.2","dist":{"integrity":"sha512-I4PnTG5KLzDvbu3sO2ZieBx1p+BcYknSIT+PuysHFIdmrzDcQUSWKY3Mtg8gKZZfkUClHQ3XSeXHvUrsGN4TyQ==","shasum":"5b3026f68081984b1a758ee2599f49c492b73d29","tarball":"https://registry.npmjs.org/@astrokid-afk/x402-monetization-gateway/-/x402-monetization-gateway-1.0.1.tgz","fileCount":10,"unpackedSize":10676,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIEIhHxa4wjKrXs/imCclH6HZKf5tVPG+6TLXBUtZ4O/GAiEA6g5xhMLJ6mz3mfX5EEZV9KcJ66+KJ+PcQhb7WZxhg78="}]},"_npmUser":{"name":"astrokid-afk","email":"guineapigpower12@hotmail.com"},"directories":{},"maintainers":[{"name":"astrokid-afk","email":"guineapigpower12@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/x402-monetization-gateway_1.0.1_1785806616074_0.6134391633357648"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-04T01:10:28.318Z","modified":"2026-08-04T01:23:36.411Z","1.0.0":"2026-08-04T01:10:28.657Z","1.0.1":"2026-08-04T01:23:36.238Z"},"license":"ISC","keywords":[],"maintainers":[{"name":"astrokid-afk","email":"guineapigpower12@hotmail.com"}],"readme":"# X402 Monetization Gateway for AI Agents\n\nHey there! This is a custom Model Context Protocol (MCP) server I built to help developers easily monetize their API endpoints. \n\nIt acts as a bridge, wrapping your paid data feeds so autonomous AI agents can actually pay you for access using the X402 (HTTP 402 Payment Required) standard. There is no human in the loop—just AI agents paying for the data they need using USDC on the Base network (Chain ID: 8453).\n\n## What it does\n* **Automatic 402 Handshakes:** When an agent hits a paywall, this server intercepts the 402 header, grabs the exact price and your wallet address, and hands it right to the agent.\n* **Cheap & Fast on Base:** It's built specifically for USDC on the Base network. We're talking fractions of a cent for transaction fees, which makes AI micro-transactions actually viable.\n* **Built for MCP:** Under the hood, everything is cleanly typed out with Zod schemas. Any standard MCP client will know exactly how to talk to it without you having to write custom parsers.\n\n## Quickstart Setup\n\nWant to plug this into your own AI agent? It's super simple. Just drop this quick config block into your agent's MCP settings (like your `claude_desktop_config.json` or whatever custom orchestrator you're running):\n\n```json\n{\n  \"mcpServers\": {\n    \"x402-gateway\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\",\n        \"@astrokid-afk/x402-monetization-gateway\"\n      ]\n    }\n  }\n}\n","readmeFilename":"README.md","description":"Hey there! This is a custom Model Context Protocol (MCP) server I built to help developers easily monetize their API endpoints."}