AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
MCP verified MIT Self-run

L402 Shield

mcp-abdelstark-l402-shield · by AbdelStark

L402 demo webapp.

No reviews yet
0 installs
32 views
0.0% view→install

Install

$ agentstack add mcp-abdelstark-l402-shield

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No 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.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/mcp-abdelstark-l402-shield)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
stale · 1y ago

Declared compatibility

Claude CodeClaude DesktopCursorWindsurf

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

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 →
Are you the author of L402 Shield? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

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

  1. Clone the repository:

``bash git clone https://github.com/AbdelStark/l402-shield.git cd l402-shield ``

  1. Install dependencies:

``bash npm install ``

  1. 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.

  1. Start the development server:

``bash npm run dev ``

  1. Open http://localhost:3000 in your browser.

Usage

  1. Sign Up: Click the "PRESS START" button to get an auth token
  2. View Credits: Check your available credits in the top-left corner
  3. 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
  1. 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
  1. Add Credits: Complete payment to add credits
  2. 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.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.