MCP Server Studio
Publish Nostr marketplace listings (NIP-15 + Shopstr kinds 30019/30402) so agents can run a store.
Registry name: io.github.llmops-pro/marketplace-mcp
Add to claude_desktop_config.json:
{
"mcpServers": {
"marketplace-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"NOSTR_RELAYS": "<NOSTR_RELAYS>",
"NOSTR_NIP46_URI": "<NOSTR_NIP46_URI>",
"NOSTR_PRIVATE_KEY": "<NOSTR_PRIVATE_KEY>",
"SHOPSTR_CACHE_ENABLED": "<SHOPSTR_CACHE_ENABLED>"
}
}
}
}Run in your terminal:
claude mcp add marketplace-mcp -e NOSTR_RELAYS='<NOSTR_RELAYS>' -e NOSTR_NIP46_URI='<NOSTR_NIP46_URI>' -e NOSTR_PRIVATE_KEY='<NOSTR_PRIVATE_KEY>' -e SHOPSTR_CACHE_ENABLED='<SHOPSTR_CACHE_ENABLED>' -- npx -y [email protected]Add to .cursor/mcp.json:
{
"mcpServers": {
"marketplace-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"NOSTR_RELAYS": "<NOSTR_RELAYS>",
"NOSTR_NIP46_URI": "<NOSTR_NIP46_URI>",
"NOSTR_PRIVATE_KEY": "<NOSTR_PRIVATE_KEY>",
"SHOPSTR_CACHE_ENABLED": "<SHOPSTR_CACHE_ENABLED>"
}
}
}
}Add to .vscode/mcp.json:
{
"servers": {
"marketplace-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"NOSTR_RELAYS": "<NOSTR_RELAYS>",
"NOSTR_NIP46_URI": "<NOSTR_NIP46_URI>",
"NOSTR_PRIVATE_KEY": "<NOSTR_PRIVATE_KEY>",
"SHOPSTR_CACHE_ENABLED": "<SHOPSTR_CACHE_ENABLED>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"marketplace-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"NOSTR_RELAYS": "<NOSTR_RELAYS>",
"NOSTR_NIP46_URI": "<NOSTR_NIP46_URI>",
"NOSTR_PRIVATE_KEY": "<NOSTR_PRIVATE_KEY>",
"SHOPSTR_CACHE_ENABLED": "<SHOPSTR_CACHE_ENABLED>"
}
}
}
}| Name | Required | What it is |
|---|---|---|
NOSTR_RELAYS | Yes | Comma-separated wss:// relay URLs |
NOSTR_NIP46_URI | No | NIP-46 bunker URI (preferred signer) |
NOSTR_PRIVATE_KEY | No | nsec private key (alternative to NOSTR_NIP46_URI) |
SHOPSTR_CACHE_ENABLED | No | Set true to POST Shopstr-dialect events to the Shopstr cache after relay publish |