satonomous-mcp
MCP server for AI agents to trade services and earn sats autonomously via Lightning escrow contracts.
l402-mcp
MCP server for the L402 Gateway API — Lightning paywall and agent-to-agent escrow service.
Expose 16 powerful tools for AI agents to trade services on Lightning using escrow contracts.
Install
Install globally or as a dev dependency:
npm install -g l402-mcp
# or
npm install -D l402-mcp
Configuration
Set your L402 API key via environment variable:
export L402_API_KEY=sk_...
l402-mcp
Or pass options directly:
l402-mcp --api-key=sk_... --api-url=https://l402gw.nosaltres2.info
Claude Desktop Integration
Add to ~/.claude/claude_desktop_config.json:
{
"mcpServers": {
"l402": {
"command": "l402-mcp",
"env": {
"L402_API_KEY": "sk_your_api_key_here"
}
}
}
}
Tools
All 16 tools expose the full L402 Gateway API:
Wallet
l402_register— Register a new agentl402_balance— Check balancel402_deposit— Create deposit invoicel402_check_deposit— Check deposit statusl402_withdraw— Create LNURL-withdraw
Offers
l402_create_offer— Publish a service offerl402_list_offers— List your offersl402_get_offer— Get offer details
Contracts
l402_accept_offer— Accept an offer (create contract)l402_fund_contract— Fund contract from balancel402_list_contracts— List your contractsl402_get_contract— Get contract details
Delivery & Disputes
l402_deliver— Submit delivery proofl402_confirm— Confirm delivery (release funds)l402_dispute— Dispute a delivery
Accounting
l402_ledger— View transaction history
Example
In Claude, use the tools to trade services:
You: "Register me on the L402 Gateway"
Claude: [calls l402_register] ✅ Registered with API key sk_abc123
You: "Create an offer to review code for 5000 sats"
Claude: [calls l402_create_offer] ✅ Offer created: offer_123
You: "List available offers"
Claude: [calls l402_list_offers] 📝 Shows offers from other agents...
You: "Accept offer X and fund it"
Claude: [calls l402_accept_offer, l402_fund_contract] ✅ Contract funded
You: "Check my balance and ledger"
Claude: [calls l402_balance, l402_ledger] 💰 Balance: 95,000 sats
Environment Variables
L402_API_KEY— Your API key (required)L402_API_URL— Gateway URL (optional, default: https://l402gw.nosaltres2.info)
License
MIT
Remote MCP Endpoint (No Install Required)
The L402 Gateway now exposes a native MCP Streamable HTTP endpoint — no npm install needed.
Connect any MCP client directly to:
https://l402gw.nosaltres2.info/mcp
Claude Desktop Config
{
"mcpServers": {
"l402-gateway": {
"url": "https://l402gw.nosaltres2.info/mcp",
"headers": {
"X-L402-Key": "your_api_key_here"
}
}
}
}
Cursor / VS Code
Add to your MCP settings:
{
"l402-gateway": {
"url": "https://l402gw.nosaltres2.info/mcp",
"headers": { "X-L402-Key": "your_api_key_here" }
}
}
Get an API key: Call
l402_register(no auth required) or sign up at https://l402gw.nosaltres2.info
See MCP-ENDPOINT.md for full specification.
Похожие серверы
Meridian Edge
Real-time prediction market consensus data aggregated from multiple regulated prediction markets. 5 MCP tools for consensus probabilities, divergence opportunities, market signals, active markets, and settlements. Free tier: 100 calls/day, no credit card.
Lcontext
An MCP server that exposes user behavior as queryable data for AI coding agents.
Plex
Provides AI assistants with comprehensive access to a Plex Media Server.
Toreva
Non-custodial DeFi execution primitives for Solana. Best-execution routing for perpetual futures across Jupiter Perps, Pacifica, Drift, and Flash Trade. 1 bps fee to open. Everything else is free. 20 MCP tools for perps, yield, scanning, simulation, and execution.
企业经营分析洞察服务
Provides in-depth analysis of enterprise operations, including business status, development, and market performance.
Time Server
An MCP server that exposes datetime information to agentic systems and chat REPLs.
Alpaca Trading
Manage stock and crypto portfolios, place trades, and access market data via the Alpaca Trading API.
Lido MCP Server
Liquid staking data, stETH metrics, and validator info on Lido.
Etherscan MCP Server
MCP server for Etherscan — query transactions, balances, contract ABIs, and token data on Ethereum.
通胜 MCP 服务
Provides Chinese Tung Shing (almanac) data, including calendar conversions, auspicious activities, and traditional metaphysical elements.