The agent will not connect over MCP
The connection fails with Invalid API Key
The connection fails with Invalid API Key
400 with Invalid API Key or no active subscription. Either the key is wrong, or the workspace has no trial or plan: start or renew it in Billing. For the key, copy it again from Connections > API key and paste the whole address, https://api.postqueen.ai/mcp/YOUR_API_KEY, with no space or quote around the key. Only a workspace Admin or Super Admin can reveal the key; other members see it masked.The connection fails with 401
The connection fails with 401
https://api.postqueen.ai/mcp, Missing Authorization header means the agent sent no header. Invalid API Key or OAuth token, or no active subscription means the key or token in it is wrong, or the workspace has no trial or plan (see Billing). The header must read Authorization: Bearer YOUR_API_KEY.It worked before, and stopped
It worked before, and stopped
Connected, but no PostQueen tools
Connected, but no PostQueen tools
/mcp in Claude Code, /reload-mcp in Hermes Agent, a restart in most editors. Then ask the agent to list your PostQueen channels.The agent asks to sign in on the key address
The agent asks to sign in on the key address
The sign-in fails
The sign-in fails
- Only a workspace Admin or Super Admin can approve the sign-in. Ask one to connect the agent.
- Paste
https://api.postqueen.ai/mcp-oauth-dynamicwith no slash at the end, and leave any client ID and secret fields empty. In Claude’s two-step dialog, choose Register automatically under OAuth client. - The Grok Bot, Grok and NanoClaw guides use the API key. Give it to them the way their guides show; NanoClaw keeps it in its OneCLI vault.
The agent answers from the docs but cannot post
The agent answers from the docs but cannot post
docs.postqueen.ai/mcp, which searches these docs only. Connect it to an address from MCP server instead.An MCP tool returns an error
No upload panel appears
No upload panel appears
mediaListTool. An agent that runs commands on your computer can upload it itself with uploadLinkTool, or with postqueen upload, and a file on a public link goes in with uploadFromUrlTool.The agent says it moved a post or changed its text
The agent says it moved a post or changed its text
A deleted post is still on the network
A deleted post is still on the network
deletePostTool deletes a post from PostQueen only. A post that was already published stays live on the network: delete it there too.A video post failed
A video post failed
uploadWidgetStatusTool says ready before the post goes out. For a video from a link, check the post on your calendar before its time.A CLI command fails
When the API refuses a command, the CLI prints one line to stderr and exits with code1. The line says which command gave up, then what the API answered:
The key
auth:status names the method it uses. If it says OAuth2 although you set a key, a saved login in ~/.postqueen/credentials.json is overriding the key: postqueen auth:logout removes it.
Flags
These are caught before anything is sent. Each prints a line starting with❌ on stderr, and the command exits 1. A usage error ends with the help to read, such as Run "postqueen posts:create --help" for usage.
Posts
{"missing": true} is fixed on analytics.
Common mistakes
jq fails on the first line
jq fails on the first line
postqueen integrations:list | tail -n +2 | jq '.'. posts:missing prints JSON only, so it needs no tail.The same letter means two things
The same letter means two things
-s is the date on posts:create and the status on posts:status. -d is minutes between items on posts:create, days on the analytics commands, and JSON input on integrations:trigger.It works in my terminal, not in the job or the agent
It works in my terminal, not in the job or the agent
POSTQUEEN_API_KEY there, and send stderr to the log (2>&1) so the error is not lost.A script checks the key with auth:status
A script checks the key with auth:status
auth:status exits 1 when no key is set, when the API refuses it, and when it could not be checked, so postqueen auth:status > /dev/null || exit 1 works. Older versions exit 0 in every case: update with npm install -g postqueen@latest.A file path or a link in -m
A file path or a link in -m
-m takes only a path returned by postqueen upload. Upload the file first. A MOV has to finish converting to MP4 before it can go into a post: see upload media.