Install
$ agentstack add mcp-abdelstark-l402-shield ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ● Environment & secrets Used
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
L402 Shield
A web application that demonstrates the L402 protocol (Lightning HTTP 402) by integrating Lightning Network payments into a fun, nostalgic interface.
Try it out at https://l402-shield.starknetonbitcoin.com.
Overview
L402 Shield showcases how to implement the Lightning HTTP 402 Protocol (L402) for API monetization. The app interacts with a backend that provides three main endpoints:
/signup- to obtain an auth token/info- to retrieve user credits/block- to get the latest Bitcoin block data (requires payment if out of credits)
The application follows a vintage arcade game theme with neon colors, pixelated fonts, and playful audio-visual feedback.
Features
- Retro Arcade UI: Styled with neon colors, pixelated fonts, and arcade-style animations
- Token-based Authentication: Sign up to receive an auth token
- Credit System: Track your credits in a coin-based counter
- Lightning Payments: Multiple options for paying with Lightning
- QR Code: Scan a QR code with a Lightning wallet to pay
- Bitcoin Connect: Connect directly to your browser's Lightning wallet
- Block Explorer: View the latest Bitcoin block information
Getting Started
Prerequisites
- Node.js 16+ or latest LTS
- A Lightning wallet for testing payments
- A compatible L402 backend server
Installation
- Clone the repository:
``bash git clone https://github.com/AbdelStark/l402-shield.git cd l402-shield ``
- Install dependencies:
``bash npm install ``
- Configure the backend URL:
Create a .env.local file in the root directory:
``text NEXT_PUBLIC_API_BASE_URL="http://127.0.0.1:8080" ``
Replace the URL with your backend server address.
- Start the development server:
``bash npm run dev ``
- Open http://localhost:3000 in your browser.
Usage
- Sign Up: Click the "PRESS START" button to get an auth token
- View Credits: Check your available credits in the top-left corner
- Get Block Data: Click the "GET LATEST BLOCK" button
- If you have credits, you'll see the latest block information
- If you're out of credits, payment options will appear
- Choose Payment Method: Toggle between QR code and wallet connection
- QR Code: Scan with any Lightning wallet
- Wallet Connection: Connect directly to your browser's Lightning wallet with Bitcoin Connect
- Add Credits: Complete payment to add credits
- Logout: Click "LOGOUT" to clear your session
Development
- Built with Next.js and TypeScript
- Styled with Tailwind CSS
- Uses react-qr-code for QR code generation
- Integrates with Bitcoin Connect for direct wallet connections
License
[MIT](LICENSE)
Built with 🧡 by @AbdelStark
Feel free to follow me on Nostr if you'd like, using my public key:
npub1hr6v96g0phtxwys4x0tm3khawuuykz6s28uzwtj5j0zc7lunu99snw2e29
Or just scan this QR code to find me:
Source & license
This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: AbdelStark
- Source: AbdelStark/l402-shield
- License: MIT
- Homepage: https://l402.starknetonbitcoin.com/
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.