loading…
Search for a command to run...
loading…
Alpaca trading API with a hard daily USD cap enforced server-side. Paper trading by default — live trading blocked until you explicitly opt in.
Alpaca trading API with a hard daily USD cap enforced server-side. Paper trading by default — live trading blocked until you explicitly opt in.
Give your AI agent a USDC wallet. One signature, 90 days, done.
ERC-2612 permit-based pay-per-call infrastructure for autonomous AI agents. No signup. No API keys.
npx agent-payment-mcpboots in Demo Mode instantly.
License: MIT MCP Compatible npm: agent-payment-mcp npm: xstocks-mcp npm: alpaca-guard-mcp npm: tokenized-stock-mcp npm: @lemon-cake/mcp-sdk Non-custodial FSA-confirmed Glama score
🚀 Try in 30 seconds · 💳 Unlock paid services · 🏗 Publish your API · 📧 Contact
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (or Cursor / Cline):
{
"mcpServers": {
"lemon": {
"command": "npx",
"args": ["-y", "agent-payment-mcp"]
}
}
}
Restart Claude Desktop, then ask:
"use lemon to search Wikipedia for AI agents"
Demo Mode runs against real Wikipedia, real FX rates, and real httpbin APIs. No credentials needed.
To use Serper (Google search), Hunter.io, gBizINFO, and more:
LEMON_CAKE_PERMIT blob into your MCP config:{
"mcpServers": {
"lemon": {
"command": "npx",
"args": ["-y", "agent-payment-mcp"],
"env": {
"LEMON_CAKE_PERMIT": "<paste the permit blob here>"
}
}
}
}
After that, every API call settles directly from your wallet to the API provider with no signing prompts for 90 days. LemonCake never holds your USDC.
LLM agents are getting powerful — but they still can't pay for things autonomously.
LemonCake solves this with ERC-2612 permits: a single 90-day signature that lets an AI agent spend up to a daily cap from your wallet, directly to API providers. The agent calls paid APIs through our MCP server, gets charged per call in USDC, and stops automatically when the daily cap is reached.
You Agent Paid API
│ │ │
├─ sign one permit ──▶ │ │
│ $25/day, 90 days │ │
│ ├─ call_service ───────▶ │
│ │ uses LEMON_CAKE_PERMIT
│ │ │
│ │ ◀─ response + receipt ┤
│ │ on-chain transferFrom
Budget exhausted? Hard stop until tomorrow. Permit expired? Re-sign in one click. No runaway agents, no stolen API keys, no platform middleman holding your USDC.
| Package | What it does |
|---|---|
| agent-payment-mcp | Main entry — pay-per-call any HTTP API in the LemonCake marketplace |
| xstocks-mcp | Buy tokenized US stocks (AAPLx, TSLAx, …) on Solana with USDC |
| alpaca-guard-mcp | Alpaca paper / live trading with hard daily USD cap |
| tokenized-stock-mcp | Buy Dinari dShares with USDC |
| polymarket-guard-mcp | Polymarket prediction markets with USDC |
| @lemon-cake/mcp-sdk | SDK for sellers to monetize their own MCP servers |
Want to monetize your MCP server? Self-service registration at lemoncake.xyz/sellers:
serviceId instantlyAdd billing in 3 lines:
import { withPayment } from "@lemon-cake/mcp-sdk";
server.tool("my_premium_tool", withPayment({ price: 0.01 }, async (args) => {
return { content: [{ type: "text", text: "result" }] };
}));
/start/v2/sellers — no sales call ┌─────────────────────────────────────────────┐
│ User wallet (Privy embedded / MetaMask) │
│ │
│ ERC-2612 permit signature │
│ ↳ spender = LemonCake marketplace addr │
│ ↳ value = $25/day daily cap │
│ ↳ deadline= 90 days from now │
└────────────────────┬────────────────────────┘
│
LEMON_CAKE_PERMIT (one-time copy)
│
▼
┌──────────────────────────────────────────────┐
│ Claude / Cursor / Cline │
│ ↳ MCP client │
└────────────────────┬─────────────────────────┘
│ stdio
▼
┌──────────────────────────────────────────────┐
│ agent-payment-mcp (this repo) │
│ ↳ list_services() │
│ ↳ call_service(serviceId, …) │
└────────────────────┬─────────────────────────┘
│ HTTPS
▼
┌──────────────────────────────────────────────┐
│ LemonCake charge API (Hono on Railway) │
│ ↳ POST /api/charges/permit │
│ ↳ metering: 1000 free + $0.005/call paid │
└────────────────────┬─────────────────────────┘
│ permit() + transferFrom()
▼
┌──────────────────────────────────────────────┐
│ USDC contract on Base │
│ ↳ user wallet ──→ provider wallet (direct) │
└──────────────────────────────────────────────┘
LemonCake is the dotted middle box. It never holds USDC — every payment is
a direct on-chain transferFrom(userWallet, providerWallet, amount).
The 2026-05-21 reply from Japan's FSA Fintech Support Desk (Q11) confirmed that a pure SDK distribution model where:
…does NOT require the "electronic payment means management" registration.
The same architecture is registration-exempt under 🇺🇸 FinCEN (2019 guidance §4.5), 🇪🇺 MiCA (non-CASP), 🇬🇧 FCA (Tech Service Provider), 🇸🇬 MAS (DPT non-applicable), 🇨🇦 FINTRAC, and 🇨🇭 FINMA. See lemoncake.xyz/security.
MIT.
Выполни в терминале:
claude mcp add alpaca-guard-mcp -- npx PRs, issues, code search, CI status
автор: GitHubDatabase, auth and storage
автор: SupabaseSecure file operations with configurable access controls.
Reference / test server with prompts, resources, and tools.
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development