Skip to content

Moonya AI / MCP documentation

Moonya MCP server documentation

Everything an AI assistant can do in Moonya through the MCP connector, how sign-in works and how you stay in control of what is published and what costs credits.

Updated

Connection details
  • Server URL: https://moonya.ai/mcp (Streamable HTTP, JSON-RPC 2.0)
  • Authentication: OAuth 2.1 with PKCE (S256) and dynamic client registration, or a Moonya API key as a Bearer token for developer tools
  • Discovery: https://moonya.ai/.well-known/oauth-protected-resource and https://moonya.ai/.well-known/oauth-authorization-server
  • Support: support@moonya.ai

Set up

  • Claude and ChatGPT: add https://moonya.ai/mcp as a custom connector, sign in to Moonya in the window that opens, pick the workspace and click Allow. No API key needed. In ChatGPT this currently needs Developer mode, available on paid ChatGPT plans on the web. See AI assistants in Moonya and the step by step guide How to manage your Instagram and Facebook from ChatGPT or Claude.
  • Developer tools (Claude Code, Codex, Cursor, VS Code, Gemini CLI and others): in Moonya open Settings, AI assistants (MCP), create an API key (up to 10 per workspace) and copy the ready-made configuration for your tool. Send the key as Authorization: Bearer.
  • Step-by-step guides for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code, Gemini CLI, Windsurf, Zed, Perplexity, Le Chat and Manus, with example prompts for each: Integrations.

How it works

  • Drafts first. Tools that create content make drafts. Publishing happens only after the user approves or schedules a post.
  • Confirmation for cost and irreversible actions. Paid tools return the exact credit cost and do nothing until they are called again with confirm: true after the user agreed. Publishing now, deleting and inbox replies also need confirm: true. Paid calls are idempotent per request_id.
  • Long tasks. Carousel and Story drafts take 2 to 4 minutes. The create tools return accepted with a request_id, and moonya_generation_status returns the draft when it is ready.
  • Results in the chat. Slides come back as images, videos as a frame and an MP4 link, calendars and statistics as small tables. Every result ends with suggested next steps.
  • Errors. A failed call returns ok: false with an error_code and a fix in plain words, plus a link when the fix needs the browser.
  • Limits. 60 tool calls per minute per connection. At least 60 minutes between posts on the same network and at most 3 posts per day per network. Stories don't count toward these limits.
  • Language. Results follow the workspace language (English or Serbian).

Tools

Types: Read only reads data. Write changes data in your Moonya workspace. Irreversible cannot be undone, for example publishing or a reply sent to a person. External reaches outside your workspace: it publishes to your social networks, sends messages to other people, or reads a public web page or file you pointed to. Video tools appear when video is enabled for the workspace, and the agency tools only on an all-brands connection.

Overview and status

ToolNameWhat it doesType
moonya_capabilitiesWhat Moonya can doExplains Moonya's features, what must be done in the browser and the credit prices.Read
moonya_statusWorkspace statusWhat happened since the last chat, plan and credits, connected networks and up to three suggestions.Read
moonya_linksBrowser linksDirect links for browser-only steps such as connecting a network or billing.Read
moonya_notificationsNotificationsThe latest in-app notifications, for example a failed publish or a finished video.Read
moonya_ask_supportAsk Moonya supportAsks the Moonya support assistant about billing, plans or errors and can pass the question to the team.Write

Brand Brain

ToolNameWhat it doesType
moonya_brain_getRead the Brand BrainWhat Moonya knows about your brand and which details are missing.Read
moonya_brain_updateUpdate the Brand BrainSaves brand details, colors, fonts, styles, logo, call to action, language and time zone.Write
moonya_brain_analyzeAnalyse a websiteReads your website (and connected Instagram) and fills the Brand Brain. Costs credits after onboarding.Write, external
moonya_onboarding_startOnboarding by chatSaves brand basics collected in the chat and completes onboarding.Write, external
moonya_brand_docAdd a brand documentReads a PDF or DOCX from a link or upload and saves it as the brand document. 1 credit.Write, external
moonya_rememberRemember a ruleSaves a permanent rule or fact that every future post follows.Write

Posts and drafts

ToolNameWhat it doesType
moonya_topic_ideasTopic ideasPost ideas based on your Brand Brain.Read
moonya_post_createCreate a post on a topicCreates one carousel, single image post or Story draft. Shows the cost first.Write
moonya_post_from_materialCreate a post from your textTurns text you paste into one draft, using only facts from that text. Shows the cost first.Write
moonya_generation_statusDraft progressFollows a draft that is being created and shows it when ready.Write
moonya_drafts_listList draftsDrafts and posts by status, for example waiting for approval.Read
moonya_draft_getShow a draftEvery slide as an image, plus caption, hashtags, networks and time.Write
moonya_draft_editEdit a draftChanges caption, hashtags, networks or slide texts.Write
moonya_draft_refineRewrite a draftRewrites a draft from a plain instruction, such as shorter headlines.Write
moonya_slide_imageChange a slide photoUses a gallery photo or a new image for one slide. A new image costs credits.Write
moonya_draft_decideApprove, schedule, publish or skipDecides one draft. Publishing now and skipping need confirmation.Write, irreversible, external
moonya_drafts_bulkDecide several postsApproves, moves or skips up to 30 posts at once.Write, irreversible, external
moonya_draft_rescheduleMove a postChanges the time of a scheduled post.Write
moonya_draft_deleteDelete a draftDeletes a draft permanently after confirmation.Write, irreversible
moonya_calendarCalendarScheduled and published posts between two dates.Read

Gallery and images

ToolNameWhat it doesType
moonya_gallery_listList gallery photosYour own photos and clips in Moonya.Read
moonya_gallery_uploadAdd a photoUploads one photo from a public link or file.Write, external
moonya_gallery_upload_urlDirect upload linkFor coding agents with a shell (Claude Code, Codex): a one-time link (15 min) to upload a local photo or video (up to 95 MB) with curl.Write
moonya_gallery_upload_finalizeFinish a direct uploadAdds the uploaded file to the gallery exactly like the app button and returns its id.Write
moonya_gallery_updateEdit a gallery itemChanges the description, title or category.Write
moonya_gallery_deleteDelete a gallery itemDeletes one photo or clip after confirmation.Write, irreversible
moonya_schedule_photosSchedule your photosSchedules up to 10 of your photos as posts at the times you agree.Write, irreversible, external
moonya_studio_imageCreate one imageCreates one brand image for a post. 5 credits, shows the cost first.Write
moonya_caption_suggestWrite a captionWrites a caption in your brand voice. 1 credit.Write

Automations

ToolNameWhat it doesType
moonya_automation_optionsAutomation optionsFormats, styles, schedules, networks, prices and topic ideas.Read
moonya_automations_listList post automationsRecurring post automations with schedule and status.Read
moonya_automation_upsertCreate or edit an automationSaves a recurring post automation. Each post it creates is a draft.Write
moonya_automation_togglePause or resume an automationTurns one automation on or off.Write
moonya_automation_deleteDelete an automationDeletes an automation after confirmation. Its drafts stay.Write, irreversible
moonya_generate_nowCreate a draft nowRuns an automation once and creates a draft. Shows the cost first.Write

Comment-to-DM automations

ToolNameWhat it doesType
moonya_dm_listList DM automationsKeyword automations and whether Instagram or Facebook is ready.Read
moonya_dm_upsertCreate or edit a DM automationWhen someone comments a keyword, Moonya sends them your link in a private message.Write, external
moonya_dm_togglePause or resume a DM automationTurns one DM automation on or off.Write, external
moonya_dm_deleteDelete a DM automationDeletes one DM automation after confirmation.Write, irreversible
moonya_dm_statsDM resultsComments caught, messages sent and link clicks.Read
moonya_dm_postsRecent posts for a DM triggerRecent Instagram or Facebook posts a DM automation can watch.Read

Inbox and analytics

ToolNameWhat it doesType
moonya_inbox_listInboxConversations, posts with comments and reviews.Read
moonya_inbox_threadRead a conversationMessages of one conversation or comments of one post.Read
moonya_inbox_replyReply as the brandSends a reply to a message, comment or review after you approve the exact text.Write, irreversible, external
moonya_analytics_summaryAnalyticsReach and engagement per network, best time and top posts.Read

Video (when enabled for your workspace)

ToolNameWhat it doesType
moonya_video_templatesVideo optionsVideo types with prices by length and quality.Read
moonya_video_createCreate a video scriptWrites a video script for your approval. Shows the cost first.Write
moonya_video_script_editEdit a video scriptChanges the script before (or after) the render.Write
moonya_video_shotsReview video shotsShows the shots of a talking video for approval before the render.Write
moonya_video_renderRender a videoStarts the render after you approve the script and price.Write
moonya_video_statusVideo statusScript, queue, render progress or the finished video.Read
moonya_video_cover_framesVideo cover framesShows frames of a gallery video, flags dark ones and suggests the best cover. Free.Read
moonya_video_cover_setSet a video coverSaves the frame you pick as the video cover (Instagram Reel cover). Free.Write
moonya_video_captionsChange video captionsRe-assembles a finished video with another caption style. Free.Write
moonya_video_fixFix a motion videoRenders a new version from your description of what to change.Write
moonya_video_runRun a video automationRuns a video automation once and creates a script draft.Write

Agency connection (all brands)

ToolNameWhat it doesType
moonya_brandsList my brandsAll brands this connection can use.Read
moonya_use_brandSwitch brandSets the brand the next requests are about.Write

Ready-made prompts

The server also offers ready-made commands (MCP prompts) such as planning the content week, reviewing waiting drafts, making a post from your text and a monthly report, plus read-only resources for the Brand Brain, drafts, calendar and status.

What needs your approval

Moonya is built so that the assistant prepares and you decide.

  • Nothing is published without your approval. New posts and videos are drafts. They go out only after you approve or schedule them, in the chat or in the Moonya app.
  • Anything that costs credits asks first. The assistant tells you the exact cost and only continues after you say yes. A repeated request never charges twice.
  • Irreversible actions ask first. Publishing right now, deleting a draft or an automation, and replying to a message, comment or review are only done after you confirm.
  • Your own photos, scheduled on request. When you ask Moonya to schedule photos you uploaded, that request is your approval, and the posts go straight to the calendar at the times you agreed.
  • Posting limits protect your accounts. Moonya keeps at least 60 minutes between posts on the same network and publishes at most 3 posts per day per network. Stories don't count toward these limits.

Your data and privacy

  • Only your workspace. The connector works with the Moonya workspace you allow when you sign in: Brand Brain, drafts, calendar, gallery, automations, inbox and analytics. Agency plans can allow all their brands in one connection, and each answer names the brand it is about.
  • What the assistant sees. Results you ask for are returned to your chat, for example your drafts or, when you ask, messages and comments from your inbox. Your AI assistant processes them under its own privacy terms.
  • What Moonya keeps. Moonya does not read your chat history. For each tool call we log the tool name, the workspace, whether it worked and how long it took, without the content you sent. Actions taken from the chat also appear as notifications in the Moonya app.
  • Secure sign-in. The connection uses OAuth 2.1 with PKCE. You sign in on moonya.ai, never in the chat, and Moonya stores only a hashed form of the access token. Access renews automatically and you can revoke it at any time in Moonya under Settings, AI assistants (MCP), or by removing the connector in your assistant.

The full details are in our Privacy Policy and Terms of Use.

Support

Write to support@moonya.ai. You can also ask the assistant to contact Moonya support for you: it uses the same support assistant as the app and can pass your question to our team.

Your social media, on autopilot. You just approve.

Moonya learns your business from your website, then creates posts, Reels and DM automations. Nothing goes out until you approve it.

Try Moonya 7 days for $1 Cancel anytime.