MCP
Post to social media from Gemini
~/.gemini/settings.json
Steps
- 1In Mynahcast, open Agents & API and create a key. Pick the Agent preset so its posts wait for your approval. The key is shown once; copy it.
- 2Add the server with gemini mcp add, or edit settings.json (use httpUrl: it selects streamable HTTP).
- 3Run /mcp in Gemini CLI to see the tools.
This is for Gemini CLI. The Gemini app doesn't take custom MCP servers.
gemini mcp add --transport http \
--header "Authorization: Bearer $MYNAHCAST_KEY" \
mynahcast https://api.mynahcast.xyz/mcp{
"mcpServers": {
"mynahcast": {
"httpUrl": "https://api.mynahcast.xyz/mcp",
"headers": { "Authorization": "Bearer myn_live_…" }
}
}
}Check the key works
Lists the channels you've connected; you'll need their ids to post.
curl "https://api.mynahcast.xyz/v1/channels" \
-H "Authorization: Bearer $MYNAHCAST_KEY"Tools your agent gets
39 tools, filtered by the key's scopes. Anything that changes data accepts dry_run.
Every name is prefixed mynahcast_
Posts8
validate_postCheck a post against every target channel without saving itcreate_postCreate a post for one brand, fanned out to one or more channelsget_postRead one post with its per-channel delivery statelist_postsList posts, filtered by status, channel and time rangeupdate_postEdit a post (an edit voids an earlier approval)reschedule_postMove a post to a new timedelete_postDelete a post and cancel deliveries that haven't gone outget_post_timelineEvery delivery attempt for a post, with platform responses
Approvals2
submit_for_approvalAsk a human to approve a postdecide_approvalApprove or request changes (humans only; agents are refused)
Channels2
list_channelsList connected channels and their healthget_channel_capabilitiesLimits for one channel (characters, media, threads)
Media2
request_uploadGet a signed URL to upload mediacomplete_uploadMark an upload as finished
Show all 39 toolsShow fewer+25
Brand voice & context4
get_brand_voiceRead the brand's voice profileupdate_brand_voicePublish a new voice version (publisher keys)get_product_contextRead the product context before writing a postset_product_contextSave what your product is: URL, one-liner, audience, problems, features, proof, CTA, banned claims
Styles & memory5
save_styleSave a style: general patterns from a reference account, never copieslist_stylesList the brand's styles (default first)get_styleRead one style: hooks, tone, length, slides, colours, fontsdelete_styleDelete a styleget_content_memoryWhat was drafted, published or rejected: hooks, topics, claims, reasons
Batches & automation4
get_batch_promptReady weekly instruction to paste into your own agent (claude -p, codex exec)submit_batchSubmit a weekly batch: validated, auto-scheduled within daily caps, approval per modeapprove_batchRelease a whole batch with one approval (humans only)set_autopilot_settingsSet approval mode (each_post, whole_batch, autopilot) and per-channel daily cap (Autopilot keys and apps)
Account & reports9
get_accountYour workspace, plan and trial status, and your brandsconnect_channelA link where you connect a social account on mynahcast.xyz (no passwords in chat)get_reportWhat went out and what failed in a date range, with links to the live postsget_analyticsPublished and failed posts per day, per channel and by hour, over your plan's analytics historylist_brandsThe brands in your workspace (each with its own channels, voice and calendar)create_brandCreate another brand, up to your plan's brand allowanceget_checkout_linkA link to your plan page: to add a card before scheduling on the trial, when the trial ends, or when a limit is reachedshow_approval_calendarMonth calendar of planned posts with approve and skip buttons, as a card where the app supports itui_decide_postApprove or skip one post from the calendar card (only the card calls it, on your click)
Safety3
stop_allEmergency stop: hold every scheduled post of a brandresume_allResume publishing after stop_allget_autopilotCheck whether publishing is stopped for a brand
Frequently asked questions
- Can Gemini post to social media?
- Yes, with Mynahcast. Gemini connects through Mynahcast's MCP server at https://api.mynahcast.xyz/mcp, authenticated with a Mynahcast API key as a bearer token. It can then draft and schedule posts to your connected channels (Bluesky, Mastodon, Telegram, Discord, Nostr, Lemmy and more), and every post waits for your approval unless you switch on autopilot.
- Can Gemini publish without my approval?
- Not with an Agent key. Agent keys can draft, validate and schedule, but the server refuses approval decisions from agents. Every post waits for your approval unless you switch on autopilot.
- Is it free to connect Gemini to Mynahcast?
- The MCP server and API are included on every Mynahcast plan, from $12 per month with a 7-day free trial. You need your own access to the agent itself.