- Works in: the Zed Agent panel.
- Connection: A Moonya API key, sent as an Authorization header (up to 10 keys per workspace).
- Server address:
https://moonya.ai/mcp - Files from your computer: Yes, when the agent can run terminal commands.
- Nothing is published without your approval, and anything that costs credits asks first.
Why use Moonya from Zed
Zed users tend to like a quiet, fast setup. Moonya fits that: one block in settings, no extra app open, and your social media becomes something you can handle in a sentence between commits.
When it is connected, Moonya shows as green in the Agent panel, which is the quickest way to know the setup worked.
Moonya is a social media autopilot for small businesses and agencies. It learns your brand from your website, creates carousels, single image posts, Stories and short videos in your brand colors and fonts, and publishes them to Instagram, Facebook, LinkedIn, TikTok, Threads, YouTube, Pinterest and Google Business, plus X as a paid add-on.
What you can do from Zed
These are the things the Moonya connector actually exposes to Zed. Every tool is listed in plain language in the MCP documentation.
- Brand Brain. Read and update what Moonya knows about your brand, analyse your website, add a PDF or DOCX brand document and save rules every future post follows.
- Posts and drafts. Get topic ideas, then create carousels, single image posts and Stories from a topic or from your own text. The slides come back as images.
- Review and schedule. Edit captions, hashtags and slide text, rewrite a draft from a plain instruction, change a slide photo, then approve, schedule, skip or move posts, up to 30 at once.
- Your own photos and videos. Use your Gallery, schedule up to 10 of your own photos at once and invite up to 3 Instagram collaborators on a feed post, carousel or Reel.
- Automations. Recurring post automations that create drafts on a schedule, plus comment-to-DM automations for Instagram and Facebook with results.
- Inbox and analytics. Read messages, comments and reviews, reply as the brand after you approve the exact text, and see reach, engagement, best time and top posts.
- Video. Reels from your clips or photos with a voiceover, a talking AI presenter and animated explainers: you see the script and the credit price before anything renders. Video tools appear when video is enabled for your workspace.
- Agencies. On the Agency plan one connection can cover all client brands. Say which brand you mean and Moonya switches, keeping brands strictly separate.
Connect Moonya to Zed in 3 steps
Before you start
- A Moonya account with an active plan or the 7-day trial for $1. Every plan includes the AI assistant connector.
- A Moonya API key. In Moonya open Settings, AI assistants (MCP), click Create key, give it a name and pick Zed as the tool. The key is shown once, and Moonya shows the ready-made setting for Zed with the key already filled in. Only the workspace owner can create keys.
- To publish, at least one social network connected in Moonya. Drafts work without one.
Zed
- Open settings (the "zed: open settings" command)
- Add the context_servers block below
- Save – Moonya turns green in the Agent panel
Configuration (replace <KEY> with your key):
{
"context_servers": {
"moonya": {
"url": "https://moonya.ai/mcp",
"headers": {
"Authorization": "Bearer <KEY>"
}
}
}
}
To check that it works, ask: “What do you know about my brand?” Zed should answer with what Moonya has in your Brand Brain. Moonya's tools load when a session starts, so new features show up in a new session.
Things to ask in Zed
Write in your own words, in English or Serbian. Here is what happens behind each request.
“Make a single image post from the first paragraph of this file.”
Moonya confirms the cost and creates the post from that text in your brand style.
“What is scheduled for this week across my networks?”
Moonya returns the calendar for the week as a small table.
“Give me three post ideas for Monday based on what Moonya knows about my brand.”
Moonya suggests topics from your Brand Brain.
“Skip the draft about the summer sale, it is outdated.”
Moonya skips it. Skipping can be undone with restore.
Your photos and videos
If the Zed agent can run terminal commands in your setup, it can upload local photos and videos through a one-time Moonya upload link (15 minutes, up to 95 MB). Otherwise add them to the Moonya Gallery in the app and ask the agent to use them.
Good to know
- Nothing is published without your approval. New posts and videos are drafts. They go out only after you approve or schedule them, in Zed or in the Moonya app.
- Credits are confirmed first. Tools that cost credits tell you the exact cost and wait for your yes. A repeated request never charges twice. Drafts take 2 to 4 minutes, and Zed checks back until the draft is ready.
- Irreversible actions ask first. Publishing right now, deleting and replying to a message, comment or review need your confirmation.
- Posting limits protect your accounts. Moonya spaces out posts on the same network and moves a post to the nearest safe time when needed, and tells you why.
- Plans. The connector is included in Starter ($29), Pro ($79) and Agency ($199) per month, each with a 7-day trial for $1. Some video formats unlock once the trial ends and the plan is paid. See pricing.
- You stay in control of access. Revoke a key at any time in Moonya under Settings, AI assistants (MCP); it stops working immediately. Moonya does not read your chat history.
Troubleshooting
- Moonya is not green in the Agent panel. Check the context_servers block in your settings, that the JSON is valid and that <KEY> is replaced, then save again.
- Calls fail with an authorization error. Create a new key in Moonya; revoked keys stop working right away.
- A tool returns an error. Moonya explains the fix in plain words and gives a link when the fix needs the browser, for example connecting a network or billing.
FAQ
What is a context server in Zed?
It is Zed's name for an MCP server. Moonya is added as a context server and its tools become available in the Agent panel.
How do I know Moonya is connected?
After you save the settings, Moonya turns green in the Agent panel.
Do I need an API key?
Yes. Create one in Moonya under Settings, AI assistants (MCP). The key is shown once, so copy it when you create it.
Can the agent publish without my approval?
No. New posts are drafts until you approve or schedule them.
Other AI tools
See all AI assistant integrations, the full tool list in the MCP documentation, or the guide how to manage your Instagram and Facebook from ChatGPT or Claude.
Zed is a trademark of its owner and is named here only to describe compatibility. Moonya is an independent product and is not affiliated with the maker of Zed.