Skip to main content
Muse Code is Meta’s coding agent for the terminal and CI, built on Muse Spark. Add PostQueen to its settings file and Muse Code can list your channels, draft and schedule posts from your repo, and report how published posts did.

Before you start

  • Plans: pay as you go per token, or the Everyday, High and Power subscriptions. You need a Meta account, and availability varies by region.
  • Platforms: the terminal and CI on macOS, Linux and Windows.
  • A PostQueen API key. A workspace admin copies it, or the ready-made address, from Connections.
Where the API key is: in the app, open Connections > API Keys. Only a workspace Admin or Super Admin can reveal or rotate it; other members see it masked. A workspace has one key, and each agent card on Connections shows your MCP address with the key already filled in.

Connect Muse Code

Muse Code has no mcp add command. You add PostQueen by editing its settings file.
1

Open the settings file

Open ~/.config/muse/settings.json, or create it.
2

Add PostQueen

Add the postqueen entry under mcp_servers, with your key in place of YOUR_API_KEY. Keep "schema_version": 1 at the top of the file.
~/.config/muse/settings.json
3

Restart Muse Code

Restart Muse Code, then type /mcp to see the PostQueen tools.

Check that it works

Ask Muse Code: “List my PostQueen channels.” It answers with the channels you connected in PostQueen. If /mcp does not list PostQueen, check the settings file against the example above.

Good to know

  • "schema_version": 1 is required. Without it every command fails with a malformed settings file error.
  • Keep "mode": "optional". Servers are required by default, and a required server that fails stops the run.
  • The file holds your key when you use the key address. Keep it private, or use the header form below.
  • Ask for drafts when you want to check first. A draft waits on your PostQueen calendar, and nothing publishes until you schedule it.
  • What it cannot do over MCP: delete a post, or change a post’s text or time. Do that on the calendar in the app. The MCP tools lists what it can do.

Other ways to connect

~/.config/muse/settings.json

Try this first

The draft appears on your PostQueen calendar, ready for you to check and schedule. Prompts to try has more.

Troubleshooting

More fixes are on Troubleshooting agents.

Is it the same as Muse?

No. Meta ships two agents with the Muse name, and they connect to PostQueen in different ways:

Next steps

Every agent

Which agents can post to PostQueen, how each one connects, and what PostQueen has tested.

The MCP tools

What each of the 21 tools does, and what an agent cannot do.

Prompts and tool calls

The order an agent calls the tools in, with prompts that work.

Troubleshooting agents

What to do when a connection or a command fails.
Last modified on September 23, 2026