πŸ€– Nostr MCP Server

πŸ€– code snippet mcp server

Local serverstdio

What is the πŸ€– Nostr MCP Server?

πŸ€– code snippet mcp server

The short version

The configuration file location depends on your operating system:

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the πŸ€– Nostr MCP Server

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

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
NSECConfiguration value read at startup.Optional
RELAYSConfiguration value read at startup.Optional

Example prompts to try

  • β€œUse πŸ€– Nostr to macOS.”
  • β€œUse πŸ€– Nostr to Linux.”
  • β€œUse πŸ€– Nostr to Windows.”

Frequently asked questions

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