MCP Server

Nostr MCP Server Let any AI agent post to Nostr

Let AI agents broadcast text notes to the Nostr network across your relays — decentralized, censorship-resistant posting from a single prompt.

mcp.json
{
  "mcpServers": {
    "upload-post": {
      "url": "https://mcp.upload-post.com/mcp",
      "headers": {
        "Authorization": "ApiKey YOUR_API_KEY"
      }
    }
  }
}

Nostr tools the agent can call

Part of the 40-tool Upload-Post MCP server — the agent picks them automatically from your prompt.

Tool What it does
upload_text Publish a kind:1 text note, signed and broadcast to your relays
list_scheduled / edit_scheduled / cancel_scheduled Manage scheduled notes
get_status / get_history Track what was posted and when

Looking for another way to post? See the Nostr API page or the Claude Code Nostr skill.

Works with every MCP client

Same server, same tools — pick your AI client and follow its 3-step guide.

Try these Nostr prompts

No commands to memorize — just describe what you want.

“Post this update as a Nostr note.”
“Cross-post my latest X post to Nostr and Bluesky.”
“Schedule a daily Nostr note with the changelog highlights.”
“Draft a short Nostr note announcing the launch — plain text, no hashtags.”

Frequently asked questions

Nostr + AI agents, answered. Last updated June 2026.

What is a Nostr MCP server?

A Nostr MCP server is a Model Context Protocol server that exposes Nostr publishing as tools an AI agent can call. The Upload-Post MCP server lets ChatGPT, Claude, Gemini or any MCP client broadcast NIP-01 text notes to the network — no protocol code to write.

Can AI agents post to Nostr?

Yes. Connect your nsec key to Upload-Post once (encrypted at rest), add the MCP server to your AI client, and the agent can sign and broadcast kind:1 notes from a natural-language prompt.

Which relays does it publish to?

Your notes are broadcast to the wss:// relays you configure — or to a set of sensible defaults. Events are standards-compliant Schnorr-signed NIP-01 events.

Is the Nostr MCP server free?

The MCP server is free and open-source (MIT). It works with any Upload-Post plan, including the free tier.

Let your AI agent run Nostr

Free to start, no credit card. Connect Nostr once and post from any MCP client.