Nostr Code Snippet
STDIOMCP server for managing and sharing code snippets via Nostr protocol.
MCP server for managing and sharing code snippets via Nostr protocol.
Add this to your claude config file:
{ "mcpServers": { "nostr-code-snippet-mcp": { "command": "node", "args": ["/Users/<path to>/nostr-code-snippet-mcp/dist/index.js"], "env": { "NSEC": "<some nsec>", "RELAYS": "wss://relay.damus.io,wss://relay.snort.social" } } } }
NOTE: be sure to replace <path to>
with the path to wherever you cloned the repo
The configuration file location depends on your operating system:
~/Library/Application Support/Claude/claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
%APPDATA%/Claude/claude_desktop_config.json
Install dependencies:
npm install
Build the project:
npm run build
Run the inspector:
npm run inspect