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).
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
| Tool | Name | What it does | Type |
moonya_capabilities | What Moonya can do | Explains Moonya's features, what must be done in the browser and the credit prices. | Read |
moonya_status | Workspace status | What happened since the last chat, plan and credits, connected networks and up to three suggestions. | Read |
moonya_links | Browser links | Direct links for browser-only steps such as connecting a network or billing. | Read |
moonya_notifications | Notifications | The latest in-app notifications, for example a failed publish or a finished video. | Read |
moonya_ask_support | Ask Moonya support | Asks the Moonya support assistant about billing, plans or errors and can pass the question to the team. | Write |
Brand Brain
| Tool | Name | What it does | Type |
moonya_brain_get | Read the Brand Brain | What Moonya knows about your brand and which details are missing. | Read |
moonya_brain_update | Update the Brand Brain | Saves brand details, colors, fonts, styles, logo, call to action, language and time zone. | Write |
moonya_brain_analyze | Analyse a website | Reads your website (and connected Instagram) and fills the Brand Brain. Costs credits after onboarding. | Write, external |
moonya_onboarding_start | Onboarding by chat | Saves brand basics collected in the chat and completes onboarding. | Write, external |
moonya_brand_doc | Add a brand document | Reads a PDF or DOCX from a link or upload and saves it as the brand document. 1 credit. | Write, external |
moonya_remember | Remember a rule | Saves a permanent rule or fact that every future post follows. | Write |
Posts and drafts
| Tool | Name | What it does | Type |
moonya_topic_ideas | Topic ideas | Post ideas based on your Brand Brain. | Read |
moonya_post_create | Create a post on a topic | Creates one carousel, single image post or Story draft. Shows the cost first. | Write |
moonya_post_from_material | Create a post from your text | Turns text you paste into one draft, using only facts from that text. Shows the cost first. | Write |
moonya_generation_status | Draft progress | Follows a draft that is being created and shows it when ready. | Write |
moonya_drafts_list | List drafts | Drafts and posts by status, for example waiting for approval. | Read |
moonya_draft_get | Show a draft | Every slide as an image, plus caption, hashtags, networks and time. | Write |
moonya_draft_edit | Edit a draft | Changes caption, hashtags, networks or slide texts. | Write |
moonya_draft_refine | Rewrite a draft | Rewrites a draft from a plain instruction, such as shorter headlines. | Write |
moonya_slide_image | Change a slide photo | Uses a gallery photo or a new image for one slide. A new image costs credits. | Write |
moonya_draft_decide | Approve, schedule, publish or skip | Decides one draft. Publishing now and skipping need confirmation. | Write, irreversible, external |
moonya_drafts_bulk | Decide several posts | Approves, moves or skips up to 30 posts at once. | Write, irreversible, external |
moonya_draft_reschedule | Move a post | Changes the time of a scheduled post. | Write |
moonya_draft_delete | Delete a draft | Deletes a draft permanently after confirmation. | Write, irreversible |
moonya_calendar | Calendar | Scheduled and published posts between two dates. | Read |
Gallery and images
| Tool | Name | What it does | Type |
moonya_gallery_list | List gallery photos | Your own photos and clips in Moonya. | Read |
moonya_gallery_upload | Add a photo | Uploads one photo from a public link or file. | Write, external |
moonya_gallery_upload_url | Direct upload link | For 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_finalize | Finish a direct upload | Adds the uploaded file to the gallery exactly like the app button and returns its id. | Write |
moonya_gallery_update | Edit a gallery item | Changes the description, title or category. | Write |
moonya_gallery_delete | Delete a gallery item | Deletes one photo or clip after confirmation. | Write, irreversible |
moonya_schedule_photos | Schedule your photos | Schedules up to 10 of your photos as posts at the times you agree. | Write, irreversible, external |
moonya_studio_image | Create one image | Creates one brand image for a post. 5 credits, shows the cost first. | Write |
moonya_caption_suggest | Write a caption | Writes a caption in your brand voice. 1 credit. | Write |
Automations
| Tool | Name | What it does | Type |
moonya_automation_options | Automation options | Formats, styles, schedules, networks, prices and topic ideas. | Read |
moonya_automations_list | List post automations | Recurring post automations with schedule and status. | Read |
moonya_automation_upsert | Create or edit an automation | Saves a recurring post automation. Each post it creates is a draft. | Write |
moonya_automation_toggle | Pause or resume an automation | Turns one automation on or off. | Write |
moonya_automation_delete | Delete an automation | Deletes an automation after confirmation. Its drafts stay. | Write, irreversible |
moonya_generate_now | Create a draft now | Runs an automation once and creates a draft. Shows the cost first. | Write |
Comment-to-DM automations
| Tool | Name | What it does | Type |
moonya_dm_list | List DM automations | Keyword automations and whether Instagram or Facebook is ready. | Read |
moonya_dm_upsert | Create or edit a DM automation | When someone comments a keyword, Moonya sends them your link in a private message. | Write, external |
moonya_dm_toggle | Pause or resume a DM automation | Turns one DM automation on or off. | Write, external |
moonya_dm_delete | Delete a DM automation | Deletes one DM automation after confirmation. | Write, irreversible |
moonya_dm_stats | DM results | Comments caught, messages sent and link clicks. | Read |
moonya_dm_posts | Recent posts for a DM trigger | Recent Instagram or Facebook posts a DM automation can watch. | Read |
Inbox and analytics
| Tool | Name | What it does | Type |
moonya_inbox_list | Inbox | Conversations, posts with comments and reviews. | Read |
moonya_inbox_thread | Read a conversation | Messages of one conversation or comments of one post. | Read |
moonya_inbox_reply | Reply as the brand | Sends a reply to a message, comment or review after you approve the exact text. | Write, irreversible, external |
moonya_analytics_summary | Analytics | Reach and engagement per network, best time and top posts. | Read |
Video (when enabled for your workspace)
| Tool | Name | What it does | Type |
moonya_video_templates | Video options | Video types with prices by length and quality. | Read |
moonya_video_create | Create a video script | Writes a video script for your approval. Shows the cost first. | Write |
moonya_video_script_edit | Edit a video script | Changes the script before (or after) the render. | Write |
moonya_video_shots | Review video shots | Shows the shots of a talking video for approval before the render. | Write |
moonya_video_render | Render a video | Starts the render after you approve the script and price. | Write |
moonya_video_status | Video status | Script, queue, render progress or the finished video. | Read |
moonya_video_cover_frames | Video cover frames | Shows frames of a gallery video, flags dark ones and suggests the best cover. Free. | Read |
moonya_video_cover_set | Set a video cover | Saves the frame you pick as the video cover (Instagram Reel cover). Free. | Write |
moonya_video_captions | Change video captions | Re-assembles a finished video with another caption style. Free. | Write |
moonya_video_fix | Fix a motion video | Renders a new version from your description of what to change. | Write |
moonya_video_run | Run a video automation | Runs a video automation once and creates a script draft. | Write |
Agency connection (all brands)
| Tool | Name | What it does | Type |
moonya_brands | List my brands | All brands this connection can use. | Read |
moonya_use_brand | Switch brand | Sets 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.