Official MCP Server · OAuth 2.0 & API

Run Quetzal directly inside Claude, ChatGPT and Cursor.

Quetzal's official MCP server exposes 45 scoped tools so your AI assistant can inspect your brand, draft and design posts, review approval queues, generate visuals and measure performance across Instagram, Facebook, LinkedIn, TikTok, X and YouTube.

Live MCP tools
45
Claude connector
41 tools
ChatGPT app
44 tools
Authentication
OAuth 2.0 / Key

Endpoint and machine discovery

Paste this Streamable HTTP endpoint into any MCP-compatible client. OAuth 2.0 metadata (RFC 9728 / RFC 8414) is discovered automatically.

https://quetzaltech.app/api/mcp

Connect in 60 seconds

Claude (Web & Desktop)

  1. Open Settings, Connectors and click Add custom connector.
  2. Paste https://quetzaltech.app/api/mcp.
  3. Sign in to Quetzal via OAuth and pick your workspace.

ChatGPT

  1. Open Settings, Apps & Connectors (developer mode).
  2. Create an MCP connector with https://quetzaltech.app/api/mcp and OAuth auth.
  3. Authorize your workspace and ask for drafts, queues or metrics.

Cursor / Claude Code

  1. Create an API key in Quetzal under Settings, Developers.
  2. Add the JSON snippet below to your mcp.json.
  3. Every tool call is scoped and logged in your workspace audit trail.
{
  "mcpServers": {
    "quetzal": {
      "url": "https://quetzaltech.app/api/mcp",
      "headers": {
        "Authorization": "Bearer qz_live_YOUR_API_KEY"
      }
    }
  }
}

All 45 live MCP tools

Generated directly from Quetzal's live production registry. Every tool enforces the read or write scopes you grant.

Posts, drafting and scheduling

list_content_typesread

Every kind of piece Quetzal can make (images, carousels, TikTok slideshows, reels, AI Actor videos and more), each with its id, format, a one-line description and what it spends credits on (image: 1 per image; video: 1 per second of AI video; edit: 3 per edited video). Use an id from here when asking Quetzal to make media. Where the company has post styles, "By type of post" makes a post in one of its own styles (pass a job or a post_style_id with it; list_post_styles shows them).

list_postsread

Posts in this workspace, filtered by status, network and date. Each comes with its text (cut at 280 characters; get_post has the whole text), when it is or was scheduled and published, its link once live, what media it carries, whether it was made in Quetzal or posted outside it, and why it is held when it waits for approval. order 'upcoming' lists what is still to go out (scheduled from now on), soonest first; 'newest' lists the most recently created first.

get_postread

One post in full: its whole text, media, status, schedule, link once live, why it is held if it waits for approval, its best reading of the numbers (impressions, reach, likes, comments, shares, saves, link clicks; null when never measured, which is not the same as zero), Quetzal's own review of how it did when there is one, and the LinkedIn post type and hook it was written to.

draft_postcreate

Quetzal writes a post from a brief, in the brand's voice and language, using the brand kit and its facts: the first network leads (on LinkedIn, Quetzal's LinkedIn writer plans the post type, hook and closing ask and polishes it), and each other network gets its own adapted version within its limits. Saved as drafts (nothing is scheduled or published) unless save is false. Writing takes one to three minutes, so this returns a job_id at once; get_job with it returns each network's text, the post ids and anything the quality check left for a person to review.

schedule_postschedule

Puts a post on the calendar. Either pass text (your exact words; Quetzal adapts them per network unless adapt_per_network is false, and always applies each network's limits) with networks, or pass post_ids of drafts already in Quetzal (from draft_post). at is optional: without it Quetzal picks each network's best time from what has worked. The post is published at its time only when the workspace's autopilot is on full or this key may approve; otherwise it waits for a person's approval in Quetzal. Publishing still runs Quetzal's checks (language, network limits, brand safety on LinkedIn) and holds a post that fails one.

reschedule_postschedule

Moves one post that has not gone out to a new time (ISO 8601 with offset, in the future). A draft stays a draft, a post waiting for approval stays waiting, a scheduled post stays scheduled, a failed post is re-armed when its network is connected (it goes back to waiting for approval unless the workspace runs full autopilot or this key may approve). The same rules as the app's calendar. Returns the slot that was stored and the post's status.

edit_postschedule

Replaces the text of one post that has not been published, with your exact words. The same checks as the app's Save run: the network's limits (the account's own limit on X), the brand's spelling rules, and a held brand check is judged again on the new words before it publishes. A scheduled or failed post goes back to waiting for approval unless the workspace runs full autopilot or this key may approve. Returns the text as saved, which may differ when a limit applied, and the post's status.

list_musicread

The music a video post can carry: Quetzal's own library by mood (each mood has up to six versions, some instrumental), and, when a search is given or the workspace's Instagram is connected through Meta, Instagram's licensed tracks (title, artist, length, id). Instagram's music is for Instagram posts only.

set_post_musicschedule

Choose the music of one not-yet-live video post, for that post's network only: 'original' (the video as it was made), 'none' (none of Quetzal's music; a voice stays), 'quetzal' (one of Quetzal's library moods, optionally a version 1-6), or 'instagram' (Instagram posts only: an Instagram licensed track by search words or by an id from list_music). A change that needs a new version of the video is made in a few minutes and the post waits for it. Returns what the post will play.

create_batchcreate

Make 2-6 short videos or TikTok slideshows in one go. mode 'split_test' keeps one body and varies the hook (varies: text, visual or both) so the results show which hook works; mode 'bulk' makes different pieces from one idea. Call it first WITHOUT variations: it proposes them and says what it would cost, spending nothing. Show them to the person, then call again with the variations they confirmed (edited if they asked) to start. Then schedule it in Quetzal (Publicaciones, Pruebas A/B) and read it back with get_batch.

get_batchread

A batch or split test: each version's hook and state, its reading on each network, and which hook won (a clear winner only when it beats the next by more than this account's usual spread).

Approvals, autopilot and weekly plan

list_approval_queueread

Posts waiting for a person before they publish, soonest first: posts held for approval and drafts that already have a time. Each says why it waits: 'review' (the workspace approves every post), 'brand_safety' (Quetzal's brand-safety check held it), 'screenshot' (it quotes something Quetzal found on its own), 'screenshot_blocked' (its screenshot has no source line and can never be released), 'marks' (an image shows another company's mark), 'grade' (a LinkedIn post under the writing check's floor) or 'proposed' (a draft with a time: it goes out only when approved). Only 'review' and 'proposed' posts can be approved through approve_posts; the others are released only by a person in Quetzal.

approve_postsapprove

Approves posts waiting for a person (held for review, or drafts that have a time) so they publish at their time; one whose time has passed goes out in the next minutes, spread per network. Returns each approved post's real slot. Never released here: posts held by Quetzal's brand-safety check, a Quetzal-found screenshot, another company's mark or the LinkedIn writing floor, and drafts with no time. They come back in kept with their reason, for a person to approve in Quetzal.

reject_postsapprove

Sends posts waiting for approval back to draft. Quetzal learns from the rejection; pass a short reason when you have one (off_brand, bad_hook, bad_visual, not_true, wrong_tone, other).

get_autopilotread

What Quetzal's autopilot is doing for this workspace: its mode (off, review or full) and what that means, what is on the calendar for the next 7 days per network and status, the person's cadence limits per network (most feed posts a week, fewest days between two; set with update_brand's platform_overrides), the autopilot settings the person set in the app (networks switched off, posting days as ISO weekdays with Monday = 1, topics to avoid, a pause until a date, posts a week, the image/carousel/video mix, the kinds of post cover weighted more, less or never, and mixSetAt, when those three last changed; changed with set_autopilot_controls), and the recurring automations with their next run.

set_autopilot_controlsautopilot

Changes the autopilot settings the person also sees in the app's autopilot panel. networks: true = the autopilot posts there, false = it does not (only the networks passed change). days: the ISO weekdays it may post on (Monday = 1 to Sunday = 7, the workspace's own calendar), null = every day. avoidTopicsAdd / avoidTopicsRemove: topics it never posts about, in the person's words, never a link. pauseUntilDate: the last paused day as YYYY-MM-DD in the workspace's zone (at most 90 days), null resumes now. languageByNetwork: the language each network publishes in, only where the workspace has that option. postsPerWeek: feed posts a week on every network (1 to 14), only ever lower than the plan's cadence, stories untouched; null = the plan's. formatMix: the share of images, carousels and videos made for Instagram, Facebook, TikTok and YouTube, whole percents adding up to 100 (X and LinkedIn keep their own media rules; video becomes carousels while the workspace cannot make video); null = Quetzal decides. kindWeights: kinds of post cover (cover devices) set to more, less or never, or same to clear; only the kinds passed change. postsPerNetwork: each network's own feed posts a week (0 to 14); only the networks passed change, null clears one (or, for the whole object, all); when set, postsPerWeek is their sum and each network is capped at its own number. styleQuota: how often each post style (ids from list_post_styles) runs in the autopilot, a list of { styleId, perWeek } with perWeek 0.25 (once a month), 0.5 (every two weeks), 1, 2 or 3 a week, or 0 to take it out; only the styles passed change; at most 12. weekOverrides: one ISO week's slots changed by hand, { '2026-W48': { '<slotId>': { styleId } | { styleId: null } (Quetzal decides) | { skip: true } | null (undo) } }; only this week and next are kept. These only hold the autopilot back or steer it; posts a person schedules are never blocked. How often a network posts is update_brand's platform_overrides; the mode (off, review, full) is switched in the app. Returns the saved settings.

get_week_planread

The week Quetzal's autopilot planned and is holding for the owner before anything is made: each idea's id, day, network, format, title and reason, its state (planned, in progress, being made, ready, skipped, could not be made), whether it can still be changed, and the deadline to change ideas. Returns { plan: null } when no week plan is held for this workspace.

steer_week_planautopilot

Changes one idea of the held week plan: skip (that day stays empty), swap (another idea: a spare first, else one new plan, at most a few a week), restore (bring a skipped idea back), more (plan more like it) or never (never plan this topic again; also skips it while it can). itemId comes from get_week_plan. An idea already being made cannot change.

Media, brand kit and styles

list_assetsread

The workspace's media library, newest first: photos and videos the brand uploaded and pieces Quetzal made, each with its id (to attach to a post), kind, file name, folder, where it came from and a description of what it shows.

list_post_stylesread

The company's post styles by type of post (teach, inform, offer, prove, entertain, connect, inspire). A post style is how that kind of post is made for this company: its shape, its photos and its look, taken from posts that worked. Returns the styles the company has chosen (id, job, name, format, and whether it can be made now, with what it lacks when it cannot), then up to three suggestions per type that it can make now, marked suggested. Pass a chosen style's id as post_style_id to create_media, or pass just the job and Quetzal uses the first chosen style of that type, else the best suggestion. A suggestion is not saved: only a job uses it. Empty, with a note, while post styles are not open for the workspace.

create_mediacreate

Quetzal makes one piece through its real generation pipelines (the same ones as its Create page): an image, a carousel, a TikTok slideshow, a reel, an AI Actor video or any other type list_content_types shows, with the post text written for it. To make a post in one of the company's own post styles, pass post_style_id (from list_post_styles) or job (a type of post: teach, inform, offer, prove, entertain, connect or inspire): the style decides what is made (an image or a carousel, how many slides, which of the company's photos), so content_type and kind are not needed, and nothing is spent when the company lacks what the style needs (the refusal says what is missing). It never publishes. It draws from this month's images or reels (get_workspace shows what is left) and refuses before starting when they are used up. Returns a job_id; get_job reports progress and, once ready, the media ids and the text, which schedule_post can then put on the calendar.

get_jobread

Progress of something Quetzal is making: a draft from draft_post (status, then each network's text and the post ids), or media from create_media (an image set, a carousel or a reel: how many pieces are done, the media ids and the post text once ready, the post it is attached to). Says why when it failed.

get_brandread

The whole brand kit every post, picture and video follows, under the same field names update_brand takes: tone, website and other domains, voice tags and profile, visual style, video style, dress code, font, palette, guidelines, target audience, the customer profile (who, desire, fears, losing, incumbent, objections, awareness, angles), brand presence, attribution line, light, reuse and own-photo shares, per-network voice, language mix, viral formats and meme tone, content goal, the LinkedIn learning loop, story invention, suggested X mention replies, whether a brand logo file is uploaded (has_logo), active standing brand directives, and the company context profile.

list_factsread

The brand's Facts and stories with their ids: figures, stories, opinions, methods and questions buyers ask. Confirmed entries are the ones Quetzal's writers may use in posts (a figure not in here is never written as the brand's); proposed ones wait for confirmation; retired ones are kept but unused. Filter by status.

update_brandbrand

Changes any setting of the brand kit every post, picture and video follows, the same ones Quetzal's Brand page has: tone, website and other domains, voice tags and profile, visual style, video style, dress code, font, palette, guidelines, target audience, the customer profile (who, desire, fears, what they keep losing, what they use now, objections, awareness, selling angles), brand presence, attribution line, share of light-background posts, reuse and own-photo shares, per-network voice, languages and their mix, viral formats and meme tone, what posts are for, the LinkedIn learning loop, story invention and suggested X mention replies. Only the fields sent change; get_brand shows the current values. Owners and admins only.

save_factbrand

Saves one entry to the brand's Facts and stories in the person's own words: a figure, a story (what happened, when, who by role, what changed, what it taught), an opinion and why, a method with its steps, or a question buyers ask. Confirmed by default, so Quetzal's writers may use it in posts from now on; status 'proposed' keeps it waiting instead. Save only what the person said: never round, infer or add. Never send ID numbers, bank or contact details, salaries, or a third party's confidential terms.

update_factbrand

Changes an existing Facts and stories entry (list_facts gives the ids): its wording, figure, date, people, lesson, reason, steps or kind. Only the fields sent change. Its status stays as it was.

set_fact_statusbrand

Confirms proposed Facts and stories entries (Quetzal's writers may then use them), retires entries (kept, never used again) or brings a retired one back. Up to 20 ids at once; each one's outcome is reported. An entry Quetzal extracted from a document can be confirmed only with the passage it came from.

Performance, competitors and engagement

get_performanceread

How the workspace's posts did over the last N days: totals of impressions, reach, engagement, likes, comments, shares, saves, link clicks and profile visits, per network and overall, how many posts were published in that window, and optionally the day-by-day series (UTC days). Numbers come from the networks' own reports; a network that reports no figure contributes nothing rather than a guess. Also `summary`: the account's last 30 days in three sentences, the same words the app shows (whatever `days` was asked; null when it cannot be read).

get_post_performanceread

How individual published posts did: each post's best reading (views, reach, likes, comments, shares, saves, link clicks, and which window it came from), its standing among this account's own measured posts on the same network (above, typical or below only when a fair audience saw it: at least 200 views or three times the account's usual; low_reach when too few people saw it to judge; unranked under three other measured posts), separate counts of how many of those posts it beat on views (out of viewsPeers, the ones with a views figure) and on engagement (out of peers), its format and hook, the stored post review when one exists, and the facts to diagnose it in this order: topic, format, hook, media, body. Pass post_id for one post, or leave it out for the newest posts. Posts with no reading yet are listed apart, never scored zero.

get_business_metricsread

Quetzal's own company metrics for the last N months (1 to 12): signups, new paying accounts, paying accounts, churn, subscription and service revenue, acquisition spend, CAC overall and per acquisition channel, cost to serve, gross margin, CAC payback in months and development spend, all in euros, plus the cold email funnel per campaign. Only the Quetzal company workspace can read it; any other workspace is refused.

list_reply_targetsread

The X posts worth replying to right now, as Engage's Today list shows them: posts still rising in their first hour from accounts larger than yours, and posts from the circle of accounts in your professional world, each with why it is there and a Reply score. Also the accounts worth talking to. Feeds that are due a read are read first, so the list is fresh. Posts the person already skipped or answered are left out. To answer one, pass its text and url to draft_x_replies. Available on plans that include Engage.

list_mentionsread

What people said to the account: X mentions and replies, and comments on its Instagram and Facebook posts, newest first, the same inbox the app shows. By default only the ones still waiting for an answer. X mentions are checked for new ones first (at most every 15 minutes). A mention the autopilot already drafted an answer for carries it as suggested_reply. Nothing is sent: answer in the app's inbox, or draft with draft_x_replies and post from X.

draft_x_repliescreate

Quetzal drafts up to three replies to someone else's X post, as the account's own person would write them: each a different angle, in the post's language, giving something (a question, an example, a practical step) rather than talking about the replier, with no links, hashtags or sales pitch. Nothing is posted: each draft comes with an intent link that opens X's own composer with the text, and the person presses Post. Available on plans that include Engage.

draft_linkedin_commentscreate

Quetzal drafts up to three comments for someone else's LinkedIn post, in the voice of the account's own person, each a different angle, with no praise openers, links, hashtags, emoji or figures the person does not own. Nothing is posted: the person pastes the comment under the post themselves (LinkedIn allows no other way).

list_competitorsread

The accounts this workspace tracks on Competitors (its own accounts marked is_self), each with its network, handle, followers, normal (median) views, whether views are estimated, when Quetzal last read it and any read error.

list_competitor_outliersread

The tracked rivals' posts that beat their own median views, best first: each with its network, author, text, views (estimated on Instagram and LinkedIn), lift (times the author's median), reach (times its followers) and link. Defaults to the last 30 days and 5x or more.

competitor_reportread

You versus your rivals over 7, 30 or 90 days: per account (yours marked) followers and their change, posts a week, median views, engagement where views are measured, posts over 5x their median, best lift, format mix and themes; plus Quetzal's latest written read (findings and next steps).

track_competitorcreate

Start tracking a rival's account on Instagram, LinkedIn, X or YouTube (TikTok and Facebook are not read yet). Takes an @handle or a profile link (LinkedIn needs the link). Counts against the plan's competitor allowance; the first read runs in the background and its posts appear within minutes.

Workspace and assistant query

get_workspaceread

The Quetzal workspace this key belongs to: its name, timezone and country, the plan, how many credits are left (counts, never money: 1 credit per image, 1 per second of AI video, 3 per edited video; plan credits renew monthly, pack credits last 12 months), the autopilot mode (off, review: every post waits for approval, full: posts go out on their own), the connected social networks, and this key's own role and scopes. Read this first: other tools only reach connected networks, and spending tools draw from these credits.

ask_quetzalread

Ask Quetzal a question about this workspace in plain words and get an answer built from its real data: what is going out this week, why a post did well or badly, which network or post type works best, what the brand's customers care about, what to post about next. Quetzal reads posts, numbers, the brand kit, the calendar and the media library to answer; it changes nothing. Can take up to a minute.

list_avatarsread

Lists the AI presenters this workspace can cast in reels and AI Actor videos (both the workspace's own avatars and Quetzal's curated global bank), with each presenter's id, name, scope, gender, age, vibe, style and status. Pass any ready avatar's id as avatar_id in create_media to lock that presenter.

list_brand_directivesread

Lists the workspace's standing brand directives (persistent creative rules injected into image, carousel, video and caption generations), showing each directive's id, title, instruction, target surfaces and whether it is currently active.

save_brand_directivebrand

Creates or updates a standing brand directive for this workspace (matched case-insensitively by title). Active directives automatically shape every matching image, carousel, video or caption generation until toggled off.

toggle_brand_directivebrand

Turns an existing standing brand directive on or off by its directive_id (from list_brand_directives) or title (exact case-insensitive match first, then unique substring match). Turning a directive off keeps it saved without applying it to new generations.

Frequently asked questions

How do I connect Quetzal to Claude or ChatGPT?

Add https://quetzaltech.app/api/mcp as a custom connector in Claude or ChatGPT and sign in with your Quetzal account via OAuth 2.0. You choose which workspace to connect and can revoke access at any time from Settings, Developers.

How many tools does the Quetzal MCP server expose?

Quetzal exposes 45 live MCP tools covering post drafting, scheduling, media generation, brand facts, weekly plan steering, approval queues, analytics, competitor tracking and X/LinkedIn reply drafting.

Can an AI assistant publish without my approval?

Only if you explicitly grant write scopes and schedule or approve a post. Every tool declares standard MCP readOnlyHint and destructiveHint annotations so assistants ask before taking write actions, and your workspace approval mode always applies.

Does the MCP server work with Cursor, Windsurf and Claude Code?

Yes. Any MCP-compatible client can connect via OAuth or with a scoped Bearer API key generated inside Quetzal under Settings, Developers.

How is Quetzal's MCP server different from Metricool's MCP?

A scheduling connector like Metricool reads your metrics and schedules posts your team already made. Quetzal's MCP server exposes 45 live tools that create the content too: copy, branded visuals, AI reels and full weekly plans. You can steer the week, approve posts and publish to six networks without leaving Claude, ChatGPT or Cursor.