Liveauth MCP logo

Liveauth MCP

MCP server for LiveAuth: PoW + Lightning auth, L402 bundles, and paid MCP tool receipts.

Install Liveauth MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "liveauth-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@liveauth-labs/mcp-server"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Claude Code command
claude mcp add --transport stdio liveauth-mcp -- npx -y @liveauth-labs/mcp-server

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

We hit an unexpected error while testing this listing automatically.

npx -y @liveauth-labs/mcp-server

Rate limit exceeded, please try again later - you have reached the maximum number of concurrent E2B sandboxes (20). If you need more, please visit 'https://e2b.dev/docs/billing'

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

Tools8

What Liveauth MCP lets your agent do. Expand a tool for its parameters.

Verified live~814 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

15/15 checks healthy over the last 72d

What it can do

From the 8 tools this server returned when we ran it.

Handles credentials · 1Read-only tools · 8
Network at startup3 connections
Files written at startupNone
Install scriptsprepare
npm provenanceNot published
Package age269 days
Maintainers1

Observed 2026-10-31 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 9d ago via OSV.dev · @liveauth-labs/mcp-server (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1Stargazers on the source repository.
npm downloads420Package downloads in the last 30 days.
Last commit1mo agoMost recent push to the default branch.
Install checkInconclusiveWe hit an unexpected error running the automated check.
Tools exposed8Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

From the project README

LiveAuth MCP Server

Caller-funded MCP (1.3.0): use the existing createMcpGate({ publicKey, toolName, fundingMode: 'caller' }). LiveAuthCore verifies caller payment and owns accounting; this package owns payment challenges, retry binding and duplicate execution prevention. Caller funding, API examples and migration. PoW authenticates; it does not fund paid tools.

npm version MIT license L402 MCP M8ven Score

Authentication, pay-per-call metering, and signed receipts for AI agents and MCP tools: Bitcoin-native, Lightning-backed, and L402 compatible.

This MCP server lets any AI agent authenticate against your API using proof-of-work (free, no account) or Lightning Network micropayments (sats), then meter and monetize subsequent tool calls with per-call pricing, idempotent revenue events, and HMAC-signed receipts that auditors can verify offline.

Use it when you want to:

  • Gate an API or MCP tool behind real cost-of-compute or real sats (anti-spam by design, not by CAPTCHA).
  • Charge AI agents per call without signing them up for an account.
  • Issue a tamper-evident audit trail (signed mcp-call-receipt-v1) for every paid tool invocation.
  • Offer Lightning-backed L402 bundle access for prepaid MCP sessions.

Try it in 5 seconds — no account, no API key:

Terminal
npx @liveauth-labs/mcp-server

Without configuration, the server uses LiveAuth's anonymous demo project and the real PoW flow. Add LIVEAUTH_API_KEY only when you need a specific project's policy, pricing, or attribution.


Available Tools (Glama / MCP auto-discovered)

ToolPurpose
liveauth_mcp_startBegin a session. Returns a PoW challenge, a Lightning invoice, or an L402 bundle hint.
liveauth_mcp_confirmSubmit a solved PoW challenge, a paid Lightning invoice, or an L402 macaroon → receive a JWT.
liveauth_mcp_chargeMeter usage after a call. With toolName, resolves registered tool pricing and records a paid revenue event.
liveauth_mcp_refreshExchange a refresh token for a new JWT — no re-auth required.
liveauth_mcp_statusPoll session/payment status (Lightning confirmation, expiry).
liveauth_mcp_lnurlFetch the BOLT11 invoice for a session (lnget-compatible).
liveauth_mcp_payment_confirmConfirm a caller payment with the current session; then retry the original operation.
liveauth_mcp_usageQuery remaining budget, calls used, and rate-limit windows.

Full parameter and response schemas are in the Tool Reference below.


5-Minute Quick Start

Option 1 — Credential-free PoW (no account, no key, no wallet)

Terminal
npx @liveauth-labs/mcp-server

In an MCP client, call liveauth_mcp_start, then call liveauth_mcp_confirm with only the returned quoteId. The package reuses its existing PoW solver locally and the LiveAuth API verifies the signed challenge before issuing a short-lived session JWT.

Option 2 — Production Mode

  1. Grab an API key at liveauth.app.
  2. Add to Claude Desktop's claude_desktop_config.json:
config.json
{
  "mcpServers": {
    "liveauth": {
      "command": "npx",
      "args": ["-y", "@liveauth-labs/mcp-server"],
      "env": {
        "LIVEAUTH_API_BASE": "https://api.liveauth.app",
        "LIVEAUTH_API_KEY": "la_pk_your_public_key"
      }
    }
  }
}
  1. Restart Claude. Done.

Option 3 — Programmatic (CLI / SDK)

server.ts
export LIVEAUTH_API_KEY=la_pk_xxx
npx @liveauth-labs/mcp-server

The package is also a TypeScript SDK — see SDK Usage below. The CLI bin is liveauth-mcp.

Why LiveAuth?

For API providers / tool developers:

  • Stop bots at the protocol layer. PoW and Lightning sats are non-replayable, non-phishable, and don't require user accounts.
  • Charge per call in sats. We sign a receipt you can show auditors, your customers, or your accountant.
  • Wrap any MCP tool with one line (createMcpGate) and you get per-tool revenue, per-tool min/max pricing, and idempotent retries.

For AI agents / agent builders:

  • Permissionless access to paid APIs — solve a PoW or pay sats, get a JWT. No signup, no email, no OAuth dance.
  • Use PoW, Lightning invoices, or L402 bundle macaroons for agent access.
  • Projects can settle through a custom Lightning node when configured; otherwise payments use the LiveAuthCore-configured node.

The math that matters: if your tool is being scraped by a bot, charging 1 sat per call is enough to make the scraper unprofitable. We call this cost-of-attack economics, and it's the whole reason we exist.

Installation

Terminal
npm install -g @liveauth-labs/mcp-server

Or use directly with npx:

Terminal
npx @liveauth-labs/mcp-server

Stdio verification (including MCPVault)

Configure the command as npx and arguments as ["-y", "@liveauth-labs/mcp-server"]. No environment variables are required for initialize, notifications/initialized, or tools/list. Keep stdin open throughout the session. Startup diagnostics go to stderr; stdout is reserved for MCP messages when running without CLI arguments. Do not pass --help or setup goose to a verifier: those commands intentionally exit.

LIVEAUTH_API_KEY optionally selects a project's public key, and LIVEAUTH_API_BASE defaults to https://api.liveauth.app. Leave LIVEAUTH_DEMO unset for verification; the legacy simulated mode is not needed. Authentication and payment requirements remain enforced when tools are called. A safe offline discovery test can set LIVEAUTH_API_BASE=http://127.0.0.1:1, leave the key unset, and only initialize and list tools; those operations do not contact the API.

Run npm run test:package to build and pack the project, install the tarball into a temporary directory, and test the direct entry point and npm bin with an MCP client. The test includes paths with spaces and reserved characters and verifies that an unauthenticated charge is rejected.

Version 1.3.1 fixes the 1.3.0 entry-point detection bug that could exit with code 0 when invoked through an npm bin symlink or from a path containing spaces or URL-reserved characters. For a reproducible verification, use npx -y @liveauth-labs/mcp-server@1.3.1. A successful local handshake does not establish that MCPVault's own retest passes; the separately reported exit 134 has not been reproduced.

For an unexplained exit (especially code 134), retain complete stderr from process launch, the exit code and signal, resolved package version, Node/npm versions, OS/architecture, exact argv, working directory, and stdin/handshake timing. A deprecation warning alone does not establish the cause of an abort.

Goose

LiveAuth for Goose uses the same standards-based stdio MCP server as every other client—there is no Goose wrapper, daemon, or duplicate authentication runtime.

Install in Goose

Or print the official deep link and current fallbacks:

Terminal
npx @liveauth-labs/mcp-server setup goose

For a one-off Goose CLI session:

bash
goose session --with-extension "liveauth:npx -y @liveauth-labs/mcp-server"

Manual Goose stdio configuration, when the deep link is unavailable:

yaml
extensions:
  liveauth:
    type: stdio
    name: LiveAuth
    enabled: true
    cmd: npx
    args: ["-y", "@liveauth-labs/mcp-server"]
    env_keys: []
    envs: {}
    timeout: 300

Do not edit an existing Goose config destructively. Prefer the deep link or goose configure; if you add project configuration later, enter it through Goose's extension secret settings rather than shared plaintext YAML.

Goose quick test

Ask Goose:

Use LiveAuth to start the default authentication flow. Confirm the returned quote, then show my LiveAuth usage.

The initial flow uses the anonymous demo project's PoW challenge and does not require a wallet. A project public key is optional:

VariableWhen to set it
LIVEAUTH_API_KEYProject-specific policy, pricing, and attribution.
LIVEAUTH_API_BASEA self-hosted LiveAuth API instead of https://api.liveauth.app.
LIVEAUTH_DEMO=trueExplicitly opt into the older locally simulated Lightning demo.

When a paid flow is requested, tool results retain the existing invoice fields and also include portable structured data:

config.json
{
  "lightning": {
    "invoice": "lnbc...",
    "lightningUri": "lightning:lnbc...",
    "amountSats": 21,
    "expiresAt": "2030-03-17T17:46:40.000Z",
    "status": "pending"
  }
}

Clients with MCP Apps support can render the included QR, Open Wallet action, expiration, and live paid/pending/expired state. Other clients receive the JSON and QR image content as ordinary MCP results.

Goose troubleshooting

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Liveauth MCP

liveauth-mcp is an MCP server that provides proof-of-work and Lightning authentication, L402 bundle access, paid MCP tool metering, and signed call receipts. It supports caller-funded payment flows, session JWTs, usage tracking, refresh, payment status, and duplicate-execution prevention for integrations that need account-free access or pay-per-call authorization.

Run `npx @liveauth-labs/mcp-server` to start the server using LiveAuth’s anonymous demo project and the PoW flow. In an MCP client, call `liveauth_mcp_start`, then submit its returned `quoteId` to `liveauth_mcp_confirm` to receive a short-lived session JWT.

No, proof-of-work authenticates the caller but does not fund paid tools. Paid tool usage requires the applicable Lightning payment or caller-funded payment flow, while PoW provides credential-free authentication without an account or API key.

Caller-funded mode uses `createMcpGate({ publicKey, toolName, fundingMode: 'caller' })`. LiveAuthCore verifies the caller’s payment and owns accounting, while liveauth-mcp handles payment challenges, retry binding, and duplicate execution prevention.

liveauth-mcp issues HMAC-signed `mcp-call-receipt-v1` receipts for paid tool invocations. These receipts provide a tamper-evident audit trail that auditors can verify offline.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewLiveauth MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/liveauth-mcp?style=directory)](https://allmcps.com/mcp/liveauth-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/liveauth-mcp"><img src="https://allmcps.com/api/badge/liveauth-mcp?style=directory" alt="Liveauth MCP on AllMCPs" /></a>