Back to MCP Directory
Nostr
Model Context Protocol moderate risk

Nostr

Nostr MCP Server enables AI models to interact with the decentralized Nostr network, posting notes and sending zaps, offering censorship resistance for AI communication.

Connections & Capabilities

Connects To

GitHub

Capabilities

readwrite

Quickstart

Install

npx -y @smithery/cli install @AbdelStark/nostr-mcp --client claude

Exposed MCP Tools (2)

moderate
post_note

Posts a new text note to the Nostr network.

Allows writing to the Nostr network, potentially creating spam or unwanted content.

high
send_zap

Sends a Lightning zap (payment) to a specified Nostr user.

Involves financial transactions and requires careful validation of the recipient and amount.

Safety Assessment

The server's safety depends on the security of the Nostr private key and the behavior of the connected AI model. It is relatively safe for read-only operations, but posting notes and sending zaps introduce risks related to unauthorized actions and financial transactions. Careful monitoring and rate limiting are essential.

  • Relies on Nostr's decentralized nature for censorship resistance.
  • MCP-compliant API provides a structured interface.
  • Clear separation of concerns between the server and the Nostr network.
  • Environment variable configuration limits direct code modification.
  • Requires a Nostr private key, which if compromised, could lead to unauthorized actions.
  • Exposes AI models to the Nostr network, potentially leading to unintended interactions.
  • The `send_zap` tool involves financial transactions, increasing risk.
  • Limited sandboxing capabilities for AI model interactions.
  • Potential for spam or malicious content generation by AI models on the Nostr network.