Feedback

🤖 nostr-code-snippet-mcp

@nodetec Claim

Basic information

Runtime
node
Category
License
MIT
Transports
stdio
Author
nodetec
Submitted by
Community
Quality
25
Stars
2

About 🤖 nostr-code-snippet-mcp Server

🤖 code snippet mcp server

🤖 nostr-code-snippet-mcp is a MCP server in the Developer Tools category listed in the AddMCP.net directory, published by nodetec. Supported transport: stdio. Runtime: node. License: MIT. The repository has 2 GitHub stars. Source code is hosted on github.com. Related topics: mcp, nostr.

Setup

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

🤖 nostr-code-snippet-mcp config

Add this server to your MCP-compatible client using the configuration below.

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

🤖 nostr-code-snippet-mcp tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is 🤖 nostr-code-snippet-mcp?

An MCP server that integrates with Nostr for managing code snippets. It is configured for use with the Claude desktop app and requires a Nostr secret key (nsec) and a list of relay URLs.

How to use 🤖 nostr-code-snippet-mcp?

Install dependencies with npm install, build the project with npm run build, then add the server configuration to your Claude desktop config file (location varies by OS) with the NSEC and RELAYS environment variables set.

Key features of 🤖 nostr-code-snippet-mcp

  • Nostr integration for code snippets
  • Configurable relay list
  • Requires authentication via nsec
  • Designed for Claude desktop app
  • Cross‑platform configuration support

Use cases of 🤖 nostr-code-snippet-mcp

  • Sharing code snippets via Nostr from within Claude
  • Securely sending snippets using a Nostr secret key
  • Using custom relay lists for snippet distribution

Frequently asked questions

1 What is an NSEC?

An NSEC is a Nostr secret key (private key) used to authenticate and sign events on the Nostr network.

2 How do I configure the relays?

Add a comma‑separated list of WebSocket relay URLs to the RELAYS environment variable in your Claude config file.

3 Where is the Claude config file located?

On macOS it is at ~/Library/Application Support/Claude/claude_desktop_config.json, on Linux at ~/.config/Claude/claude_desktop_config.json, and on Windows at %APPDATA%/Claude/claude_desktop_config.json.

4 What dependencies are required?

Node.js and npm are required to build and run the server. Install dependencies with npm install.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬