listbee-mcp

listbee-mcp

Enables AI agents to create and manage sellable listings, handle orders, and integrate Stripe payments through natural language using ListBee's API.

Category
访问服务器

README

listbee-mcp

Install in VS Code

MCP server for ListBee — commerce API for AI agents. 20 tools.


Connect

Remote (zero install): https://mcp.listbee.so — for ChatGPT Apps, Claude API Connector, remote agents. Each request needs Authorization: Bearer lb_... header.

Local (stdio): npx -y listbee-mcp — for Claude Desktop, Cursor, VS Code, Cline.


Golden Path

Three calls to go from zero to a live, selling product page:

create_listing    →  get_listing  →  publish_listing
  name, price        check status     go live

1. Create — set deliverable for managed auto-delivery, or agent_callback_url for async agent fulfillment

{
  "name": "50 Cold Outreach Templates",
  "price": 1900,
  "deliverable": { "type": "url", "value": "https://cdn.example.com/templates.zip" }
}

2. Inspect readinessget_listing tells you what's missing and how to fix it

3. Publishpublish_listing makes the product page live


Bootstrap (no API key)

Don't have a ListBee account yet? Start the MCP server without a key — it exposes bootstrap tools for account creation:

bootstrap_start  →  bootstrap_verify
  send OTP email     verify 6-digit → get API key + Stripe onboarding URL
npx -y listbee-mcp   # no --api-key needed

bootstrap_verify returns { account_id, api_key, stripe_onboarding_url }. Store the key immediately, then restart the MCP session with --api-key lb_... to unlock all tools.

After restarting with the key, call bootstrap_poll to check whether Stripe Connect onboarding is complete before creating listings.

For the HTTP transport, sessions initialized without a Bearer header are automatically bootstrap-only. After bootstrap, open a new session with the key to access the full tool set.


Install

Requires Node.js 20+.

Claude Desktop

~/.claude/claude_desktop_config.json

{
  "mcpServers": {
    "listbee": {
      "command": "npx",
      "args": ["-y", "listbee-mcp", "--api-key", "lb_..."]
    }
  }
}

Or with an env var:

{
  "mcpServers": {
    "listbee": {
      "command": "npx",
      "args": ["-y", "listbee-mcp"],
      "env": {
        "LISTBEE_API_KEY": "lb_..."
      }
    }
  }
}

Cursor

.cursor/mcp.json

{
  "mcpServers": {
    "listbee": {
      "command": "npx",
      "args": ["-y", "listbee-mcp", "--api-key", "lb_..."]
    }
  }
}

Claude Code

claude mcp add listbee -- npx -y listbee-mcp --api-key lb_...

CLI

npx -y listbee-mcp --api-key lb_...

Remote / HTTP Transport

For hosted deployments (ChatGPT Apps, Claude API Connector, remote agents):

npx -y listbee-mcp --transport http --port 3000

Each connecting agent provides their API key via Authorization: Bearer header.

Docker

docker build -t listbee-mcp .
docker run -p 8080:8080 listbee-mcp

Health Checks

  • GET /health — basic liveness
  • GET /ready — confirms tools are loaded

Options

Flag Env var Default Description
--api-key <key> LISTBEE_API_KEY ListBee API key. Optional — omit to start in bootstrap-only mode.
--base-url <url> LISTBEE_BASE_URL https://api.listbee.so API base URL
--transport <stdio|http> stdio Transport mode
--port <number> PORT 8080 HTTP port (http mode only)
--tools <list> all tools Comma-separated list of tools to load
--help, -h Show help

Selective tool loading — load only what you need:

npx -y listbee-mcp --api-key lb_... --tools create_listing,get_listing,publish_listing

Tools

Bootstrap (no API key required for start + verify)

Tool Description
bootstrap_start Send a one-time passcode to an email address. Step 1 of 2 for account creation.
bootstrap_verify Verify the OTP from email. Issues the API key and Stripe onboarding URL. Step 2 of 2. Store the key immediately.
bootstrap_poll Poll Stripe Connect onboarding readiness. Returns ready=true once charges are enabled. Requires API key.

Account

Tool Description
get_account Get the account's full state including readiness and billing status.
update_account Update account-level settings (display name, bio, avatar, GA tracking, events callback URL).
delete_account Permanently delete the account and all data. Irreversible.

Listings

Tool Description
create_listing Create a new listing for sale. Set deliverable for managed delivery or agent_callback_url for async agent fulfillment. Returns checkout URL and readiness.
get_listing Get full listing state including readiness. Call after every change.
update_listing Update title, price, deliverable, or other listing details.
list_listings List all listings for the current account.
publish_listing Publish a listing so buyers can access the product page.
delete_listing Permanently delete a listing.

Orders

Tool Description
list_orders See all sales and order status.
get_order Get full order details including buyer info, payment, and unlock URL.
fulfill_order Push a deliverable to a buyer or mark as fulfilled (external fulfillment). Accepts optional metadata.
refund_order Issue a full refund for an order through Stripe.
order_redeliver Re-queue order.paid / order.fulfilled to the listing's agent_callback_url. Rate-limited: 10/hour/order.

Stripe

Tool Description
start_stripe_connect Start Stripe Connect onboarding. Returns a URL — the human must open it in a browser.
disconnect_stripe Disconnect the Stripe account from ListBee.

API Keys

Tool Description
api_key_self_revoke Self-revoke the API key used to authenticate this call. Idempotent. Use when credential is compromised.

Readiness

Every listing response includes a readiness object that tells you exactly what's needed before the listing can go live — and how to fix it.

{
  "readiness": {
    "sellable": false,
    "publishable": false,
    "actions": [
      {
        "code": "connect_stripe",
        "kind": "human",
        "message": "Connect a Stripe account to accept payments.",
        "resolve": {
          "method": "POST",
          "endpoint": "/v1/account/stripe/connect"
        }
      }
    ],
    "next": "connect_stripe"
  }
}

What to do with it:

  • readiness.sellabletrue means buyers can purchase right now
  • readiness.publishabletrue means you can call publish_listing
  • readiness.actions — list of what's blocking, each with kind: "api" or kind: "human"
    • api actions: the agent handles them (call the endpoint in resolve)
    • human actions: requires human input (show the message and url)
  • readiness.next — the highest-priority action code to resolve first

The pattern: create_listingget_listing → resolve each api action → surface human actions to the user → publish_listing when publishable is true.


Fulfillment Modes

ListBee supports two fulfillment modes, set at listing creation:

  • Managed (STATIC) — set deliverable on the listing. ListBee auto-delivers the content to buyers on payment via an unlock page and email.
  • Async agent (ASYNC) — set agent_callback_url on the listing. ListBee fires a webhook to your agent on payment; your agent calls fulfill_order with the generated content.

For ASYNC mode, use order_redeliver if your callback handler missed an event.


Debugging

Use MCP Inspector for interactive testing:

npx @modelcontextprotocol/inspector npx -y listbee-mcp

Get an API Key

console.listbee.so — sign in, go to API Keys.


Links


License

Apache-2.0

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选