Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words

Marketplace MCP

by llmops-proversion 0.2.3i★ 0iRuns on your computerRepository ↗
Registry nameio.github.llmops-pro/marketplace-mcp

How to install

What it does

Publish Nostr marketplace listings (NIP-15 + Shopstr kinds 30019/30402) so agents can run a store.

  • Connects Runs on your computer
  • Account or key Needs NOSTR_NIP46_URI, NOSTR_PRIVATE_KEY · 1 setting to fill in (NOSTR_RELAYS)
  • Category Online shops & payments

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity0/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness7/12Full marks for a release or code change within 30 days
Still answering0/8The cloud endpoint answered at the last check
Usage score7/100

Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install Marketplace MCP. Follow https://mcp.popnx.com/i/llmops-pro-marketplace-mcp.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 14, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

You need a Marketplace MCP key (create it on the maker’s site) · 1 setting(s) to fill in (NOSTR_RELAYS) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Marketplace MCP for Claude on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "marketplace": { "command": "npx", "args": [ "-y", "marketplace-mcp" ], "env": { "NOSTR_RELAYS": "your-value", "NOSTR_NIP46_URI": "your-value", "NOSTR_PRIVATE_KEY": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For NOSTR_NIP46_URI, NOSTR_PRIVATE_KEY, NOSTR_RELAYS, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Marketplace MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a Marketplace MCP key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Fill in 1 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • NOSTR_RELAYS Comma-separated wss:// relay URLs

    Descriptions are as written by the maker.

  4. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  5. Paste these settings and save the file

    {
      "mcpServers": {
        "marketplace": {
          "command": "npx",
          "args": [
            "-y",
            "marketplace-mcp"
          ],
          "env": {
            "NOSTR_RELAYS": "your-value",
            "NOSTR_NIP46_URI": "your-value",
            "NOSTR_PRIVATE_KEY": "your-value"
          }
        }
      }
    }

    Paste the key only into the app’s field, never into a chat or to anyone

  6. Quit Claude and open it again

  7. Try it

    Use Marketplace MCP and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using Marketplace MCP or shows a Marketplace MCP tool in the answer, you are connected

1 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • SHOPSTR_CACHE_ENABLED Set true to POST Shopstr-dialect events to the Shopstr cache after relay publish

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect Marketplace MCP yet

Marketplace MCP runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect Marketplace MCP

  • You need a Marketplace MCP key (create it on the maker’s site) · 1 setting(s) to fill in (NOSTR_RELAYS) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • You need a Marketplace MCP key (create it on the maker’s site) · 1 setting(s) to fill in (NOSTR_RELAYS) · Install Node.js on your computer first (one time)
  • You need a Marketplace MCP key (create it on the maker’s site) · 1 setting(s) to fill in (NOSTR_RELAYS) · Install Node.js on your computer first (one time)
  • You need a Marketplace MCP key (create it on the maker’s site) · 1 setting(s) to fill in (NOSTR_RELAYS) · Install Node.js on your computer first (one time)

B · Others in Online shops & payments that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

You need a Marketplace MCP key (create it on the maker’s site) · 1 setting(s) to fill in (NOSTR_RELAYS) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Marketplace MCP for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user marketplace --env NOSTR_RELAYS=your-value --env NOSTR_NIP46_URI=your-value --env NOSTR_PRIVATE_KEY=your-value -- npx -y marketplace-mcp 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For NOSTR_NIP46_URI, NOSTR_PRIVATE_KEY, NOSTR_RELAYS, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Marketplace MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a Marketplace MCP key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Fill in 1 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • NOSTR_RELAYS Comma-separated wss:// relay URLs

    Descriptions are as written by the maker.

  4. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  5. Paste this command and press Enter

    claude mcp add --scope user marketplace --env NOSTR_RELAYS=your-value --env NOSTR_NIP46_URI=your-value --env NOSTR_PRIVATE_KEY=your-value -- npx -y marketplace-mcp

    Replace “your-value” with your key before pressing Enter

    Paste the key only into the app’s field, never into a chat or to anyone

  6. Type /mcp in Claude Code

    You should see Marketplace MCP listed as connected

  7. Try it

    Use Marketplace MCP and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using Marketplace MCP or shows a Marketplace MCP tool in the answer, you are connected

1 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • SHOPSTR_CACHE_ENABLED Set true to POST Shopstr-dialect events to the Shopstr cache after relay publish

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

You need a Marketplace MCP key (create it on the maker’s site) · 1 setting(s) to fill in (NOSTR_RELAYS) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Marketplace MCP for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "marketplace": { "command": "npx", "args": [ "-y", "marketplace-mcp" ], "env": { "NOSTR_RELAYS": "your-value", "NOSTR_NIP46_URI": "your-value", "NOSTR_PRIVATE_KEY": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For NOSTR_NIP46_URI, NOSTR_PRIVATE_KEY, NOSTR_RELAYS, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Marketplace MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a Marketplace MCP key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Fill in 1 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • NOSTR_RELAYS Comma-separated wss:// relay URLs

    Descriptions are as written by the maker.

  4. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  5. Fill in your key

    In the Marketplace MCP settings, NOSTR_NIP46_URI, NOSTR_PRIVATE_KEY, NOSTR_RELAYS is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  6. Open the AI chat in Cursor in Agent mode

  7. Try it

    Use Marketplace MCP and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using Marketplace MCP or shows a Marketplace MCP tool in the answer, you are connected

1 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • SHOPSTR_CACHE_ENABLED Set true to POST Shopstr-dialect events to the Shopstr cache after relay publish

Descriptions are as written by the maker.

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

You need a Marketplace MCP key (create it on the maker’s site) · 1 setting(s) to fill in (NOSTR_RELAYS) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Marketplace MCP for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "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" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For NOSTR_NIP46_URI, NOSTR_PRIVATE_KEY, NOSTR_RELAYS, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Marketplace MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a Marketplace MCP key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Fill in 1 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • NOSTR_RELAYS Comma-separated wss:// relay URLs

    Descriptions are as written by the maker.

  4. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  5. Fill in your key

    In the Marketplace MCP settings, NOSTR_NIP46_URI, NOSTR_PRIVATE_KEY, NOSTR_RELAYS is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  6. Open the AI chat in VS Code in Agent mode

  7. Try it

    Use Marketplace MCP and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using Marketplace MCP or shows a Marketplace MCP tool in the answer, you are connected

1 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • SHOPSTR_CACHE_ENABLED Set true to POST Shopstr-dialect events to the Shopstr cache after relay publish

Descriptions are as written by the maker.

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use Marketplace MCP💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user marketplace --env NOSTR_RELAYS=your-value --env NOSTR_NIP46_URI=your-value --env NOSTR_PRIVATE_KEY=your-value -- npx -y marketplace-mcp

Claude Desktop (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"
      }
    }
  }
}

Cursor (~/.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"
      }
    }
  }
}

VS Code (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"
      }
    }
  }
}

Values you fill in

  • NOSTR_RELAYS required env
    Comma-separated wss:// relay URLs
  • NOSTR_NIP46_URI secret required env
    NIP-46 bunker URI (preferred signer)
  • NOSTR_PRIVATE_KEY secret required env
    nsec private key (alternative to NOSTR_NIP46_URI)
  • SHOPSTR_CACHE_ENABLED env
    Set true to POST Shopstr-dialect events to the Shopstr cache after relay publish

Descriptions are as written by the maker.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
62/wk
Connection
Runs on your computer
Latest versioni
0.2.3
Published to registryi
Jun 12, 2026
Code last changedi
Oct 18, 2026
Maker
llmops-pro
Packages
npm: marketplace-mcp
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 19, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account llmops-pro, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed 32 days ago

  • ✓ Pass

    Has a licence

    Uses MIT

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

No entries on OSV.dev for marketplace-mcp@0.2.3

Checks only this package version, not every dependency · checked Nov 15, 2026

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/llmops-pro-marketplace-mcp.svg)](https://mcp.popnx.com/en/servers/llmops-pro-marketplace-mcp)

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Online shops & paymentsi

  • More stars than 0% of the other 2919 servers in this category
  • Published to the registry more recently than 9% of the other 2919 servers in this category
  • Basic checks equal to or better than 99% of the other 2919 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is Marketplace MCP safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

You need to fill in: NOSTR_NIP46_URI, NOSTR_PRIVATE_KEY

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed 32 days ago, and the latest version (0.2.3) reached the registry 5 months ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: Stripe MCP, flightclaw, Trade It, Marketplace Ad Pros: Amazon Ads & Seller Central, idealo MCP Server

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

Stripe MCP

Stripe’s official server lets AI view and manage customers, products, payments and invoices. Connect to Stripe’s cloud and sign in with OAuth.

by stripeWidely used★ 2.1KUpdated 13 months ago

Runs in the cloud✓ service owner · stripe.com

flightclaw

Search ~300 airlines and book flights with a checkout link. OAuth sign-in by email code.

by flightclawGrowing★ 86Updated 2 months ago

Runs in the cloud✓ service owner · flightclaw.com

Trade It

Connect brokerage accounts to AI assistants: holdings, orders, asset lookup, and approved trading.

by trade-it-incEarly★ 62Updated 34 days ago

Runs in the cloud✓ service owner · tradeit.app

idealo MCP Server

Search products, compare prices and discover deals across 6 European markets with your AI assistant.

by idealoEarly★ 28Updated 6 months ago

Runs in the cloud✓ service owner · mcp.idealo.com
Compared with similar ones
This one
Marketplace MCP
Stripe MCPflightclawTrade ItMarketplace Ad Pros: Amazon Ads & Seller Centralidealo MCP Server
Runs whereInstalls on your computerRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to install
Needs a keyYesNoNoNoNoNo
Add with + in ClaudeNoYesNoNoNoNo
Basic checks3/34/44/45/54/44/4
LicenseMITMITMITCC0-1.0MITMIT
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

marketplace-mcp

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:

  • NIP-15 (kind:30017 stalls + kind:30018 products) for NIP-15-native clients (Plebeian Market, etc.).
  • Shopstr-modern (kind:30019 shop profile + kind:30402 NIP-99 classified listings) — what 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.


Why this server exists

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.


What you can build with this

  • A self-driving Shopstr storefront — agent generates shop profile + product listings from a config file, republishes whenever metadata changes, drops fresh t-tag categories per product for discoverability. Same call publishes to relays AND mirrors to Shopstr's cache.
  • A sales-channel multiplexer — the same product events propagate to every NIP-15- or NIP-99-aware client (Shopstr, Plebeian Market, etc.) by virtue of being on shared relays. Pick your dialect per-tool; publish to both if your audience spans clients.
  • A listing-as-code workflow — version-control your product JSON in git; CI calls shopstr_create_or_update_product to deploy. Republish with the same id = idempotent update (parameterized-replaceable events).
  • Cross-server identity — pair with nostr-ops-mcp and nwc-mcp to wire identity + commerce. Same signer, same npub, three specialized tool surfaces.

The seven tools

Shopstr-modern (new in v0.2) — required for shopstr.store visibility
ToolKindPurpose
shopstr_create_or_update_shop30019Publish 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_product30402Publish 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.
NIP-15 legacy — for NIP-15-native clients (not Shopstr)
ToolKindPurpose
marketplace_create_or_update_stall30017NIP-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_product30018NIP-15 product (stall_id, name, description, images, price, quantity, specs, shipping, categories). Relay publish only.
Common
ToolKindPurpose
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.

Requirements

  • Node 20+
  • A NOSTR signer — strongly preferred: a NIP-46 bunker URI from Amber, nsec.app, or any NIP-46 implementation. Dev path: raw nsec in .env.
  • Relays your audience reads from. Sensible defaults in .env.example (relay.damus.io, nos.lol, relay.nostr.band, relay.primal.net).
  • For Shopstr-modern publishes: outbound HTTPS to shopstr.store (or your own Shopstr deployment).

Install

# From npm

npx -y marketplace-mcp

From source

git clone cd marketplace-mcp corepack enable pnpm pnpm install pnpm build

Configure

cp .env.example .env

edit .env: set NOSTR_NIP46_URI OR NOSTR_PRIVATE_KEY

set NOSTR_RELAYS (comma-separated wss://)

set SHOPSTR_CACHE_ENABLED=true (default) for shopstr.store visibility

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.

Required
VarPurpose
NOSTR_RELAYSComma-separated wss:// relays. Server refuses to start if empty.
Signer — provide AT MOST one (without a signer the server runs read-only)
VarPurpose
NOSTR_NIP46_URIbunker://... URI. Recommended. Pair with Amber (Android) or nsec.app (web).
NOSTR_PRIVATE_KEYRaw nsec1.... Dev/legacy only. Server warns at startup.
Shopstr cache mirror (new in v0.2)

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).

VarDefaultPurpose
SHOPSTR_CACHE_ENABLEDunset (false) — set true in .env to enableControls whether the cache POST runs at all.
SHOPSTR_CACHE_URLhttps://shopstr.store/api/db/cache-eventOverride 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.

Optional safety knobs
VarDefaultPurpose
NOSTR_READ_ONLYfalseDisables all publish tools (list_my_* still work).
NOSTR_REQUIRE_CONFIRMfalseTwo-step confirm — create/update returns a token; marketplace_confirm_publish actually broadcasts.
NOSTR_MAX_EVENTS_PER_MINUTE10Rolling 60s rate limit on publishes.
NOSTR_LOG_PATH./marketplace-mcp.logServer log.
NOSTR_AUDIT_PATH./marketplace-mcp-audit.logAppend-only JSON-line audit log.

Quickstart: publish your first storefront on shopstr.store

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 } } }

  1. agent: shopstr_create_or_update_product({ id: "some-product", name: "Some Product", summary: "Long-form description goes here. Becomes the event 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.

NIP-15 alternative (for non-Shopstr clients)

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.


Wire into an MCP client

{

"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.


Safety model

The publish pipeline runs in this order, for both NIP-15 and Shopstr-modern tools:

  1. `NOSTR_READ_ONLY` gate.
  2. Signer presence — refuse if no signer.
  3. RateLimiter — rolling events bucket (NOSTR_MAX_EVENTS_PER_MINUTE).
  4. Confirm gate — if 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.
  5. Sign + publish via NDK.
  6. `afterPublish` hook *(Shopstr-modern only)* — POST the signed event to SHOPSTR_CACHE_URL. Failures logged in audit (after_publish.shopstr_cache.{ok, status, error}) but never roll back the relay publish.
  7. Audit log entry.

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.


Testing

pnpm typecheck

pnpm test # 19 vitest cases (NIP-15 builders/parsers + Shopstr-modern builders/parsers + roundtrips) pnpm build # ~37 KB ESM bundle


Companion servers

  • 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).

License

MIT — see LICENSE.

Contact / Issues

Built by LLMOps.Pro.

Only the beginning is shown; read the rest in the repo