Skip to content
Live

Nostr

Signed notes to the relays you choose.

What it supports

  • Up to 8,000 characters per post.
  • Threads: follow-up parts go out as replies, in order.
  • Text only (no media uploads on this channel yet).
  • Every post is read back from the platform by its id after it goes out.
  • Approvals, scheduling and one-time delivery work the same as on every other channel.

How to connect

In Mynahcast: Channels → Add channel → Nostr.

Secret key (nsec)

  1. 1Best: create a separate key just for Mynahcast in your Nostr app (e.g. Primal, Damus, Amethyst) or with a key manager.
  2. 2Copy its secret key (starts with nsec1…). It is stored encrypted and only used to sign your scheduled notes.
  3. 3List the relays to publish to, one per line (wss://…). Use the same ones as your Nostr app.

You'll paste

  • Secret key
  • Relays

Credentials are encrypted before they're stored and never shown again. Disconnect any time from the Channels page.

Post to Nostr from your AI agent

Once Nostr is connected, any agent with a Mynahcast key can target it: Claude Code, Cursor and other MCP clients through mynahcast_create_post, ChatGPT through a GPT action, or your own code through the REST API. Connect your agent.

REST: schedule a Nostr post
curl -X POST "https://api.mynahcast.xyz/v1/posts" \
  -H "Authorization: Bearer $MYNAHCAST_KEY" \
  -H "Idempotency-Key: nostr-001" \
  -H "Content-Type: application/json" \
  -d '{
    "brandId": "<brand-uuid>",
    "content": { "body": "Your post text" },
    "targets": [{ "channelId": "<nostr-channel-uuid>" }]
  }'

Frequently asked questions

Can an AI agent post to Nostr?
Yes. Connect Nostr in Mynahcast, give your agent an Agent API key, and it can draft and schedule Nostr posts through the MCP server (https://api.mynahcast.xyz/mcp) or the REST API. Each post waits for your approval before it goes out.
How do I post to Nostr with an API?
Send POST https://api.mynahcast.xyz/v1/posts with your API key as a bearer token, the brand id, the post body and your Nostr channel id as a target. Add an Idempotency-Key header so a retry never posts twice.
What is the character limit for Nostr posts in Mynahcast?
Up to 8,000 characters per post; longer text can go out as a thread of replies. Mynahcast checks the limit before saving, so an agent finds out at validation time, not at publish time.
Is posting to Nostr with Mynahcast free?
Every Mynahcast plan includes every live channel, from $12 per month (5 channels) with a 7-day free trial.