Nostr MCP Server logo

Nostr MCP Server

by AbdelStark

Nostr MCP Server enables AI models to interact with the Nostr network, allowing them to post notes and engage with the freedom of speech protocol. It's a Model Context Protocol (MCP) server designed for censorship resistance for LLMs.

View on GitHub

Last updated: N/A

What is Nostr MCP Server?

Nostr MCP Server is a Model Context Protocol (MCP) server that bridges the gap between AI models and the Nostr decentralized social network. It allows AI models to post notes, interact with other users, and leverage the censorship-resistant nature of Nostr.

How to use Nostr MCP Server?

To use the Nostr MCP Server, you can either install it via Smithery or manually by cloning the repository, installing dependencies, and configuring the .env file with your Nostr private key and relay settings. Once installed, you can start the server and use the available tools like post_note and send_zap to interact with the Nostr network.

Key features of Nostr MCP Server

  • Post notes to Nostr network

  • Connect to multiple relays

  • MCP-compliant API for AI integration

  • Send Lightning zaps to Nostr users (WIP)

  • Server-Sent Events (SSE) support for real-time communication

Use cases of Nostr MCP Server

  • AI models posting updates and insights on Nostr

  • AI-powered bots interacting with users on Nostr

  • Automated content creation and distribution on Nostr

  • Decentralized AI applications leveraging Nostr for communication

FAQ from Nostr MCP Server

What is Nostr?

Nostr is a decentralized social network protocol.

What is MCP?

MCP stands for Model Context Protocol, a standard for AI model interaction.

How do I get a Nostr private key?

You can generate a Nostr private key using a Nostr client or key generation tool.

What are Nostr relays?

Nostr relays are servers that store and distribute Nostr events.

How can I contribute to this project?

You can contribute by forking the repository, creating a feature branch, committing your changes, and opening a pull request.