Spree Commerce: open-source B2B and marketplace ecommerce
Open-source B2B and marketplace ecommerce; new stores include an MCP server for AI agents.
제작자가 쓴 설명(영어 원문)
Publish Nostr marketplace listings (NIP-15 + Shopstr kinds 30019/30402) so agents can run a store.
이 세 가지는 절대 하나의 점수로 합치지 않아요. 의견, 측정, 인기는 서로 다른 것이니까요.
이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.
쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.
NOSTR_RELAYS, NOSTR_NIP46_URI, NOSTR_PRIVATE_KEY, SHOPSTR_CACHE_ENABLED비밀로 표시된 값은 내 계정의 열쇠예요. 절대 다른 사람과 공유하거나 채팅에 붙여 넣지 마세요.
필요한 것
어떤 앱을 쓰세요?
위에서 앱을 고르세요. 기억해 두었다가 다음부터는 버튼에 “…에 설치”라고 표시해요.
Claude Desktop → Settings → Developer → Edit Config를 열고 claude_desktop_config.json에 이 내용을 붙여 넣으세요
{
"mcpServers": {
"marketplace": {
"command": "npx",
"args": [
"-y",
"marketplace-mcp"
],
"env": {
"NOSTR_RELAYS": "your-value",
"NOSTR_NIP46_URI": "your-value",
"NOSTR_PRIVATE_KEY": "your-value",
"SHOPSTR_CACHE_ENABLED": "your-value"
}
}
}
}터미널에서 이 명령어를 실행하세요
claude mcp add marketplace --env NOSTR_RELAYS=your-value --env NOSTR_NIP46_URI=your-value --env NOSTR_PRIVATE_KEY=your-value --env SHOPSTR_CACHE_ENABLED=your-value -- npx -y marketplace-mcp실행하기 전에 빈 값을 채워 주세요.
프로젝트의 .cursor/mcp.json 또는 ~/.cursor/mcp.json에 붙여 넣으세요
{
"mcpServers": {
"marketplace": {
"command": "npx",
"args": [
"-y",
"marketplace-mcp"
],
"env": {
"NOSTR_RELAYS": "your-value",
"NOSTR_NIP46_URI": "your-value",
"NOSTR_PRIVATE_KEY": "your-value",
"SHOPSTR_CACHE_ENABLED": "your-value"
}
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
프로젝트의 .vscode/mcp.json에 붙여 넣으세요
{
"servers": {
"marketplace": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"marketplace-mcp"
],
"env": {
"NOSTR_RELAYS": "your-value",
"NOSTR_NIP46_URI": "your-value",
"NOSTR_PRIVATE_KEY": "your-value",
"SHOPSTR_CACHE_ENABLED": "your-value"
}
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
이 서버는 내 컴퓨터에서 실행되는데, ChatGPT는 인터넷에 있는 서버에만 연결할 수 있어요. 다른 앱을 고르세요.
선택한 앱은 이 기기의 쿠키에만 저장돼요. 계정은 필요 없어요.
SHOPSTR_CACHE_ENABLED env이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.
내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.
누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 9일 점검
레지스트리 이름이 GitHub 계정 llmops-pro 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요
내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요
내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요
레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.
해당하는 기본 점검 1개 중 1개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.
입력해야 할 값: NOSTR_RELAYS, NOSTR_NIP46_URI, NOSTR_PRIVATE_KEY
내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).
GitHub 저장소는 마지막으로 – 변경됐고, 최신 버전(0.2.3)은 5개월 전 레지스트리에 올라왔어요.
Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Node.js도 있어야 해요.
같은 카테고리에는: Spree Commerce: open-source B2B and marketplace ecommerce, Stripe MCP, MCP Cn Commerce
같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.
카드 보는 법:↓ 주간 다운로드i★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i
Open-source B2B and marketplace ecommerce; new stores include an MCP server for AI agents.
MCP server integrating with Stripe - tools for customers, products, payments, and more.
8 read-only MCP platform entries; support is operation-specific; merchant live acceptance pending
제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.
A NOSTR storefront for your LLM agent — speaks both dialects. MCP server that lets an agent create + update marketplace events on your behalf, in two dialects out of the box:
shopstr.store actually renders. Includes an automatic cache-POST so events appear on the storefront, not just on relays.Seven tools, defense-in-depth safety, MIT licensed.
v0.2 — dual-dialect publisher. v0.1.x shipped NIP-15-only and the listings never appeared on shopstr.store because Shopstr is a Postgres-backed CMS that only renders events from its own DB (populated via
POST /api/db/cache-event) and its cacheable-event allowlist excludes NIP-15 kinds. v0.2 adds the Shopstr-modern tools and the cache-POST hook so the storefront actually populates. NIP-15 tools left in place for non-Shopstr targets.
Shopstr (the canonical Bitcoin-Lightning marketplace UI on NOSTR) is not a relay-reading Nostr client — it's a Next.js app with a Postgres cache. Its marketplace page renders products from its own DB, populated when clients POST signed events to /api/db/cache-event. The cacheable-event allowlist (in shopstr-eng/shopstr → utils/db/cache-event-policy.ts) excludes NIP-15 stall/product kinds; modern Shopstr uses kind:30019 (shop profile with merchants: [ ]) and kind:30402 (NIP-99 Classified Listings, all data in tags). Without a ["t","shopstr"] tag the listing won't surface; without at least one ["image", ] tag the card silently never renders.
marketplace-mcp v0.2 builds the right events, POSTs them to Shopstr's cache after the relay publish, and keeps the legacy NIP-15 tools intact for anyone targeting other clients.
t-tag categories per product for discoverability. Same call publishes to relays AND mirrors to Shopstr's cache.shopstr_create_or_update_product to deploy. Republish with the same id = idempotent update (parameterized-replaceable events).nostr-ops-mcp and nwc-mcp to wire identity + commerce. Same signer, same npub, three specialized tool surfaces.| Tool | Kind | Purpose |
|---|---|---|
shopstr_create_or_update_shop | 30019 | Publish the seller's shop profile (name, about, picture, banner). The d tag is the seller's pubkey hex — one shop per pubkey. After relay publish, POSTs to Shopstr's cache so the storefront UI surfaces the shop. |
shopstr_create_or_update_product | 30402 | Publish a NIP-99 Classified Listing. All product data in tags (title, summary, price, location, shipping, image × N, t × N, quantity, condition, status, valid_until). Auto-adds ["t","shopstr"] so the product surfaces in Shopstr's marketplace feed. Cache-POST included. |
| Tool | Kind | Purpose |
|---|---|---|
marketplace_create_or_update_stall | 30017 | NIP-15 stall (id, name, description, currency, shipping[]). The id is the d tag — same id = replace. Relay publish only; no Shopstr cache POST (would be 400'd anyway, kind not allowlisted). |
marketplace_create_or_update_product | 30018 | NIP-15 product (stall_id, name, description, images, price, quantity, specs, shipping, categories). Relay publish only. |
| Tool | Kind | Purpose |
|---|---|---|
marketplace_list_my_stalls | — | Fetch + parse your own NIP-15 stalls. Returns event id, created_at, d tag, parsed JSON. |
marketplace_list_my_products | — | Same for NIP-15 products. Optional stall_id filter (client-side; relays don't index JSON content). |
marketplace_confirm_publish | — | Two-step confirm dispatcher. Routes by tool name so Shopstr-modern publishes re-attach the cache-POST hook automatically. |
nsec in .env..env.example (relay.damus.io, nos.lol, relay.nostr.band, relay.primal.net).shopstr.store (or your own Shopstr deployment).# From npm
npx -y marketplace-mcp
git clone cd marketplace-mcp corepack enable pnpm pnpm install pnpm build
cp .env.example .env
The server auto-loads .env from this binary's own directory (next to dist/) — deliberately NOT from cwd, to avoid env-var collision when multiple MCP servers run in the same Claude Code session.
| Var | Purpose |
|---|---|
NOSTR_RELAYS | Comma-separated wss:// relays. Server refuses to start if empty. |
| Var | Purpose |
|---|---|
NOSTR_NIP46_URI | bunker://... URI. Recommended. Pair with Amber (Android) or nsec.app (web). |
NOSTR_PRIVATE_KEY | Raw nsec1.... Dev/legacy only. Server warns at startup. |
shopstr.store reads from its own Postgres DB, not from open relays. After kind:30019/30402 events publish to relays, the server POSTs them to the configured cache URL so the storefront surfaces them. Failures are logged in the audit log but never roll back the relay publish (a Nostr event already broadcast can't be rolled back anyway).
| Var | Default | Purpose |
|---|---|---|
SHOPSTR_CACHE_ENABLED | unset (false) — set true in .env to enable | Controls whether the cache POST runs at all. |
SHOPSTR_CACHE_URL | https://shopstr.store/api/db/cache-event | Override to mirror to a self-hosted Shopstr deployment. |
The NIP-15 tools (kind:30017/30018) ignore these — those kinds aren't on Shopstr's cacheable allowlist anyway.
| Var | Default | Purpose |
|---|---|---|
NOSTR_READ_ONLY | false | Disables all publish tools (list_my_* still work). |
NOSTR_REQUIRE_CONFIRM | false | Two-step confirm — create/update returns a token; marketplace_confirm_publish actually broadcasts. |
NOSTR_MAX_EVENTS_PER_MINUTE | 10 | Rolling 60s rate limit on publishes. |
NOSTR_LOG_PATH | ./marketplace-mcp.log | Server log. |
NOSTR_AUDIT_PATH | ./marketplace-mcp-audit.log | Append-only JSON-line audit log. |
1. agent: shopstr_create_or_update_shop({
name: "My Shop", about: "Hand-crafted MCP servers and other Lightning-priced goods.", picture: "https://example.com/avatar.png", banner: "https://example.com/banner.png" }) → returns { event_id, kind: 30019, relays_accepted: [...], after_publish: { shopstr_cache: { ok: true, status: 200 } } }
content.", price: 50000, currency: "sat", location: "online", shipping_option: "Free", shipping_cost: 0, images: ["https://example.com/card.jpg"], // REQUIRED — Shopstr drops cards with zero images categories: ["software", "lightning", "mcp"] }) → returns { event_id, kind: 30402, relays_accepted: [...], after_publish: { shopstr_cache: { ok: true, status: 200 } } }
Visit https://shopstr.store/marketplace/ to see your storefront. (If you've registered a Shopstr profile slug for your npub, the URL canonicalises to /marketplace/ .) Browsers buy through Shopstr's invoice-generation flow → sats land in the Lightning wallet linked to your Shopstr profile.
If you're targeting NIP-15-native clients instead of (or in addition to) Shopstr, the legacy tools still work:
agent: marketplace_create_or_update_stall({
id: "my-shop", name: "My Shop", shipping: [{ id: "digital", name: "Digital", cost: 0 }] }) agent: marketplace_create_or_update_product({ id: "p1", stall_id: "my-shop", name: "Some Product", price: 50000, currency: "sat", shipping: [{ id: "digital", cost: 0 }] })
You can publish both dialects for the same product to maximise client coverage; they don't collide.
{
"mcpServers": { "marketplace": { "command": "npx", "args": ["-y", "marketplace-mcp"], "env": {} } } }
Same .env-via-binary-dir pattern as the rest of the substrate — leave the env block empty in client config; secrets stay in marketplace-mcp/.env.
The publish pipeline runs in this order, for both NIP-15 and Shopstr-modern tools:
events bucket (NOSTR_MAX_EVENTS_PER_MINUTE).NOSTR_REQUIRE_CONFIRM=true, returns a token; marketplace_confirm_publish executes. The confirm dispatcher routes by tool name so Shopstr-modern publishes re-attach their cache-POST hook automatically.SHOPSTR_CACHE_URL. Failures logged in audit (after_publish.shopstr_cache.{ok, status, error}) but never roll back the relay publish.KindAllowlist is omitted because the kinds (30017/30018/30019/30402) are hard-coded in the tool implementations — there's no agent-supplied kind to validate.
If you want stricter behavior, pair with nostr-ops-mcp and use its kind allowlist on the same npub — but most users find that overhead unnecessary for a single-purpose marketplace server.
pnpm typecheck
pnpm test # 19 vitest cases (NIP-15 builders/parsers + Shopstr-modern builders/parsers + roundtrips) pnpm build # ~37 KB ESM bundle
nwc-mcp — Lightning wallet. The "payment" side of selling.nostr-ops-mcp — General NOSTR primitives. The marketplace MCP is the specialized cousin; nostr-ops-mcp is the generalist.albyhub-admin-mcp — Hub-level admin via Alby Hub's HTTP API. The other half of the wallet story (NWC handles payments, this handles node/channel/sub-wallet ops).MIT — see LICENSE.
Built by LLMOps.Pro.
npub1hdg932jvwc3jdvkqywgqv0ue4nn60exrf92asy8mtazt3hjg7d2s2yw0nw — follow, DM, zap.sovereigncitizens@getalby.com — for support zaps and "this was useful"앞부분만 보여 드려요. 나머지는 저장소에서 읽어 보세요