Skip to content

Latest commit

 

History

History
48 lines (35 loc) · 924 Bytes

README.md

File metadata and controls

48 lines (35 loc) · 924 Bytes

🤖 nostr-code-snippet-mcp

video demo

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:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json
  • Windows: %APPDATA%/Claude/claude_desktop_config.json

Development

Install dependencies:

npm install

Build the project:

npm run build

Run the inspector:

npm run inspect