MCP क्या है?
Model Context Protocol Anthropic का open standard है जो LLMs को external tools तक पहुँच देता है। l402-kit दो श्रेणियों के tools के साथ एक ready-made MCP server प्रदान करता है:Generic L402 tools
| Tool | विवरण |
|---|---|
l402_fetch | कोई भी URL fetch करें — अगर 402 मिले तो स्वचालित रूप से भुगतान करता है |
l402_balance | शेष Lightning budget जाँचें |
l402_spending_report | इस session के भुगतानों का पूरा विवरण |
VERITY tools — paid services, auto-pay included
| Tool | मूल्य | विवरण |
|---|---|---|
verity_btc_price | 10 sats | USD, EUR, BRL में real-time BTC मूल्य |
verity_worldstate | 80 sats | UTC time + geolocation + स्थानीय मौसम |
verity_search | 100 sats | Web search, शीर्ष 10 organic परिणाम |
verity_summarize | 50 sats | 50,000 chars तक AI summarization |
verity_sentiment | 30 sats | Sentiment score + keywords |
verity_scrape | 200 sats | Web scraping से clean markdown |
verity_domain_intel | 500 sats | WHOIS + DNS + SSL certificates |
verity_translate | 50 sats | 11 locales में AI translation, MDX-aware |
verity_integration | 10,000 sats | किसी भी GitHub repo के लिए complete l402-kit integration |
Claude Desktop में Setup
1. Node.js ≥ 18 इंस्टॉल करें
2. अपना wallet configure करें
- Blink
- Alby
claude_desktop_config.json संपादित करें:- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
3. Claude Desktop पुनः प्रारंभ करें
l402_fetch, l402_balance, और l402_spending_report tools Claude की tool list में दिखाई देंगे।
Environment variables
| Variable | आवश्यक | विवरण |
|---|---|---|
BLINK_API_KEY | केवल Blink | आपकी Blink API key |
BLINK_WALLET_ID | केवल Blink | आपका Blink wallet ID |
ALBY_TOKEN | केवल Alby | Alby access token |
ALBY_HUB_URL | वैकल्पिक | Custom Alby Hub base URL |
BUDGET_SATS | वैकल्पिक | प्रति session अधिकतम खर्च (default: 2000) |
Tools का उपयोग
एक बार server चलने के बाद, Claude स्वायत्त रूप से VERITY और किसी भी L402-protected API को call कर सकता है:HTTP MCP endpoint
stdio package के अतिरिक्त, VERITY एक live HTTP MCP server प्रदान करता है — किसी installation की आवश्यकता नहीं:MCP registries
l402-kit सभी प्रमुख MCP registries में सूचीबद्ध है:| Registry | लिंक |
|---|---|
| Anthropic MCP Registry (official) | io.github.ThiagoDataEngineer/l402-kit |
| Glama | glama.ai/mcp/servers/@ShinyDapps/l402-kit |
| Smithery | smithery.ai/servers/shinydapps/l402-kit |
| mcp.so | l402-kit खोजें |
GET https://l402kit.com/.well-known/mcp.json
Cursor के साथ Setup
वही config block Settings → MCP Servers के अंतर्गत Cursor की MCP settings में जोड़ें।किसी भी MCP client के साथ Setup
Serverstdin से पढ़ता है / stdout पर लिखता है (stdio transport):
Custom MCP server बनाना
आप अपने खुद के MCP server मेंL402Client को सीधे embed भी कर सकते हैं:
सुरक्षा संबंधी नोट्स
- Budget cap (
BUDGET_SATS) आपकी प्राथमिक सुरक्षा है — इसे सावधानीपूर्वक कम रखें - प्रत्येक
npx l402-kit-mcpprocess की अपनी in-memory budget होती है; restart पर यह reset हो जाती है - Production agents के लिए, spending log को
onSpendcallback के माध्यम से किसी external store में persist करें