lemon-cake-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LEMON_CAKE_BUYER_JWT | No | Buyer JWT for production use, issues tokens on each call. | |
| LEMON_CAKE_PAY_TOKEN | No | Pay Token JWT for quickstart or pre-issued token. |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| setupA | Show the LemonCake MCP first-run setup guide. No authentication required. Call this tool FIRST to learn what credentials are missing and how to obtain them. Returns the current credential status (Pay Token / Buyer JWT) and step-by-step instructions to obtain anything that is missing, including a sample MCP client config snippet ready to paste. Returns: { version, apiUrl, credentials, availableTools, setupSteps, register, dashboard, docs } Errors: none — this tool always succeeds. |
| list_servicesA | List approved API services available on the LemonCake marketplace. No authentication required. Use this BEFORE call_service to discover serviceId values and per-call USDC pricing. Each item: { id, name, provider, type ('API' | 'MCP'), pricePerCall, endpoint }.
Errors: HTTP-level errors are returned as |
| call_serviceA | Invoke an upstream API service through LemonCake's pay-per-call proxy. Each successful call automatically charges USDC against your configured Pay Token. PRECONDITIONS: • LEMON_CAKE_PAY_TOKEN env var must be set. If missing, the tool returns a structured CREDENTIAL_MISSING error (not a thrown exception) with how-to-fix steps. • serviceId must come from list_services. BEHAVIOR: • Returns the upstream response body verbatim (JSON or text), plus the X-Charge-Id and X-Amount-Usdc headers reported by the proxy. • HTTP 402 Payment Required is returned as a normal result (NOT thrown) so the agent can autonomously stop spending when the Pay Token's limitUsdc is exhausted. • Pass the same idempotencyKey to retry safely without double-charging. • This tool spends real money and contacts an external service — it is non-idempotent by default and has external side effects. Returns: { status, chargeId, amountUsdc, response } |
| check_balanceA | Check the current USDC balance, KYC tier, and account info of the configured buyer. PRECONDITIONS: • LEMON_CAKE_BUYER_JWT env var must be set. If missing, returns a structured CREDENTIAL_MISSING error with how-to-fix steps (no exception thrown). Use BEFORE call_service to confirm sufficient funds, especially before a long batch. Returns: { balanceUsdc, kycTier, email, name } |
| check_taxA | Run a Japanese tax compliance check on a single transaction. No authentication required. Performs three checks in one call:
Intended for Japanese corporations that pay AI / API services and need to file withholding correctly under the qualified-invoice (インボイス制度) regime. Returns: { invoice: { valid, name, ... }, withholding: { required, rate, amount, net } } Errors: invalid registrationNumber returns invoice.valid = false (not an exception). |
| get_service_statsA | Return public usage statistics for every approved service on the marketplace. No authentication required. Use this AFTER list_services and BEFORE call_service to pick a service based on real-world traction (call counts, USDC revenue, last-used timestamp). Returns: an array of { serviceId, callCount, totalRevenueUsdc, lastCalledAt }. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/evidai/lemon-cake'
If you have feedback or need assistance with the MCP directory API, please join our Discord server