LaunaDocs

MCP server

Cursor / Claude agent tools

@launa/mcp-server exposes Launa seller API actions as MCP tools for Cursor, Claude Desktop, and compatible hosts. API key auth only — no JWT support.

Install and run

npx @launa/mcp-server

Requires Node.js 18+.

Set LAUNA_API_KEY (scoped launa_live_... or launa_sandbox_... key from the Launa dashboard). Optional: LAUNA_BASE_URL (default https://api.launa.io). For paying gateway URLs, set LAUNA_EVM_PRIVATE_KEY and/or HEDERA_ACCOUNT_ID + HEDERA_PRIVATE_KEY.

Pair key prefix with base URL — API key environment cannot be overridden with LAUNA_ENVIRONMENT or LAUNA_SANDBOX:

Key prefixLAUNA_BASE_URL
launa_sandbox_...https://api.staging.launa.io
launa_live_...https://api.launa.io (default)

Wrong pairing → 401 {"error":"invalid token"}. For Sandbox / Test mode, use an launa_sandbox_... key with the staging URL above; default endpoint pricing uses the Anvil fork network. Sandbox wallet private keys are not available via MCP (JWT-only) — use the CLI or Sandbox guide.

From source

git clone https://github.com/AxLabs/launa-sdks.git
cd launa-sdks && pnpm install
pnpm --filter @launa/mcp-server build

LAUNA_API_KEY=launa_live_... \
LAUNA_BASE_URL=https://api.launa.io \
node tools/mcp-server/dist/index.js

Cursor configuration

{
  "mcpServers": {
    "launa": {
      "command": "npx",
      "args": ["-y", "@launa/mcp-server"],
      "env": {
        "LAUNA_BASE_URL": "https://api.launa.io",
        "LAUNA_API_KEY": "launa_live_...",
        "LAUNA_EVM_PRIVATE_KEY": "0x..."
      }
    }
  }
}

To enable Hedera payments on launa_pay_url, add HEDERA_ACCOUNT_ID and HEDERA_PRIVATE_KEY to env.

Example config: cursor-mcp.json.example in the launa-sdks repo.

Tools

ToolScope
launa_list_apisapis:read
launa_get_apiapis:read
launa_discovery_urlsapis:read — gateway OpenAPI / well-known URLs
launa_set_discovery_guidanceapis:write — guidance, contact email, OpenAPI version
launa_list_endpointsendpoints:read
launa_update_endpoint_schemasendpoints:write — request/response JSON Schema
launa_create_apiapis:write + verified email — optional discovery fields
launa_add_endpointendpoints:write
launa_import_openapiopenapi:read — persists schemas from the spec when present
launa_add_domaindomains:write
launa_list_domainsdomains:read
launa_verify_domaindomains:write
launa_domain_suggestdomains:read
launa_stats_overviewstats:read
launa_stats_apistats:read
launa_settlements_listsettlements:read
launa_settlements_exportsettlements:read
launa_billing_overviewbilling:read
launa_income_summaryincome:read
launa_apis_slug_checkapis:read
launa_apis_probe_upstreamapis:read
launa_scopes_listJWT session
launa_facilitator_statsauthenticated
launa_billing_catalogpublic billing catalog
launa_inspect_urlbuyer (no wallet)
launa_supported_networksauthenticated
launa_platform_configpublic
launa_pay_urlbuyer (LAUNA_EVM_PRIVATE_KEY and/or Hedera keys)

See API discovery for gateway OpenAPI / well-known manifests.

Environment

VariableRequiredPurpose
LAUNA_API_KEYYesSeller API key
LAUNA_BASE_URLNoAPI base URL (default https://api.launa.io; use https://api.staging.launa.io with launa_sandbox_... keys)
LAUNA_EVM_PRIVATE_KEYFor launa_pay_urlEVM signer
HEDERA_ACCOUNT_IDFor launa_pay_urlHedera payer account
HEDERA_PRIVATE_KEYFor launa_pay_urlHedera private key

Scopes

Create keys with the apiManager preset for create/update flows. Add wallet credentials to enable in-process payment via launa_pay_url.

Agent guide · CLI reference · API discovery · /llms.txt · Source on GitHub

On this page