Marketplace MCP
Publish Nostr marketplace listings (NIP-15 + Shopstr kinds 30019/30402) so agents can…
- Pricing
- Open source
- Runs
- Locally
- Version
- 0.2.3
- Listing updated
- 5 days ago
About Marketplace MCP
Marketplace MCP is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Publish Nostr marketplace listings (NIP-15 + Shopstr kinds 30019/30402) so agents can run a store.
Install
Run in a terminal
claude mcp add marketplace-mcp --env NOSTR_RELAYS='<NOSTR_RELAYS>' --env NOSTR_NIP46_URI='<NOSTR_NIP46_URI>' --env NOSTR_PRIVATE_KEY='<NOSTR_PRIVATE_KEY>' -- npx -y marketplace-mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"marketplace-mcp": {
"command": "npx",
"args": [
"-y",
"marketplace-mcp"
],
"env": {
"NOSTR_RELAYS": "<NOSTR_RELAYS>",
"NOSTR_NIP46_URI": "<NOSTR_NIP46_URI>",
"NOSTR_PRIVATE_KEY": "<NOSTR_PRIVATE_KEY>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"marketplace-mcp": {
"command": "npx",
"args": [
"-y",
"marketplace-mcp"
],
"env": {
"NOSTR_RELAYS": "<NOSTR_RELAYS>",
"NOSTR_NIP46_URI": "<NOSTR_NIP46_URI>",
"NOSTR_PRIVATE_KEY": "<NOSTR_PRIVATE_KEY>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"marketplace-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"marketplace-mcp"
],
"env": {
"NOSTR_RELAYS": "<NOSTR_RELAYS>",
"NOSTR_NIP46_URI": "<NOSTR_NIP46_URI>",
"NOSTR_PRIVATE_KEY": "<NOSTR_PRIVATE_KEY>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"marketplace-mcp": {
"command": "npx",
"args": [
"-y",
"marketplace-mcp"
],
"env": {
"NOSTR_RELAYS": "<NOSTR_RELAYS>",
"NOSTR_NIP46_URI": "<NOSTR_NIP46_URI>",
"NOSTR_PRIVATE_KEY": "<NOSTR_PRIVATE_KEY>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"marketplace-mcp": {
"command": "npx",
"args": [
"-y",
"marketplace-mcp"
],
"env": {
"NOSTR_RELAYS": "<NOSTR_RELAYS>",
"NOSTR_NIP46_URI": "<NOSTR_NIP46_URI>",
"NOSTR_PRIVATE_KEY": "<NOSTR_PRIVATE_KEY>"
}
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
NOSTR_RELAYSComma-separated wss:// relay URLsRequiredNOSTR_NIP46_URINIP-46 bunker URI (preferred signer)NOSTR_PRIVATE_KEYnsec private key (alternative to NOSTR_NIP46_URI)SHOPSTR_CACHE_ENABLEDSet true to POST Shopstr-dialect events to the Shopstr cache after relay publish
Pricing
Open source
Marketplace MCP FAQ
Is Marketplace MCP free?
Yes. Marketplace MCP is open source, so you can use and self-host it for free.
How do I add Marketplace MCP to Claude Code?
Run this command in your terminal: claude mcp add marketplace-mcp --env NOSTR_RELAYS='<NOSTR_RELAYS>' --env NOSTR_NIP46_URI='<NOSTR_NIP46_URI>' --env NOSTR_PRIVATE_KEY='<NOSTR_PRIVATE_KEY>' -- npx -y marketplace-mcp
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.