MCP server · stdio · Human in the loop
Give your coding assistant a marketing team.
Connect AICMOHQ to Claude Code, Codex, or Cursor. Draft posts from your product brief, check the queue, and quote credit costs without leaving the editor. Approval stays with you.
1.0 — Connect your client
One server, any client. Log in once, then ask in plain English.
- 1Sign in once with aicmo login
- 2Add the server with one command
- 3Ask Claude about your queue
Auth and the API origin come from your aicmo login profile, or AICMOHQ_API_KEY in the server environment.
I can't approve drafts for you. Open it in the dashboard, and once you approve it I can publish.
2.0 — The tools
187 tools, one per action. Each one names its scope.
Your client lists them all. capabilities_list returns the full catalog as JSON.
queue_listList content queue items for the authenticated AICMOHQ account.queue:readqueue_getFetch one content queue item by id.queue:readqueue_deletePermanently delete a queued draft.queue:writequeue_updateUpdate the content of a queued draft.queue:writequeue_approveApprove a draft queue item so it can be published. Human-only: the API rejects CLI/MCP tokens.queue:writequeue_publishPublish an approved queue item (requires platform connection, e.g. LinkedIn).publishqueue_rejectReject a draft so it will not publish.queue:writequeue_best_timeSuggest the best publish time for a platform — the workspace's measured engagement history when available, else the platform's researched golden-hour window. Advisory only; scheduling still goes through queue_schedule.queue:readqueue_scheduleSchedule an approved queue item for cron publish (ISO timestamp).queue:writequeue_proofSave a live post URL for Hacker News or Product Hunt (no API). Then call queue_publish to mark the item published.queue:writeapprovals_listList items waiting for a human approval decision.queue:readapprovals_approveRecord a human approval, which releases the item to publish. Agents must not call this on their own drafts.publishapprovals_rejectReject a pending approval so the item is never published.queue:write
strategy_runRun the full strategy loop: extract git context and generate ICP-validated drafts into the queue (LinkedIn, X, Reddit).strategy:runscoutFind marketing opportunities based on product and keywords.strategy:runwriteDraft content from a topic or from recent git commits. Set enqueue=true to put the draft in the queue for LinkedIn/X publish.strategy:runcommand_chatSend a natural-language mission to AICMOHQ Agent. Persists session memory and returns a proposed plan (approval-first; does not publish). When the response includes a plan, executionPolicy tells you the next step: call command_run with message.id to execute (auto=true only when auto_run_eligible), or command_status with runId to inspect a running one.strategy:runcommand_sessionsList recent AICMOHQ Agent chat sessions (shared memory with dashboard + CLI).strategy:runcommand_runExecute a proposed command plan by assistant message id. Rejects auto=true when approval is required. Streams NDJSON progress.strategy:runcommand_statusInspect a durable command run and its approval-gated steps.strategy:runcommand_approve_stepApprove one bound CMO step so execution resumes (expires in 15 minutes).strategy:runstrategy_docs_getRead the saved strategy documents and plan for a product (defaults to the primary product).strategy:runstrategy_docs_saveGenerate the strategy documents for a product and save them. Spends credits.strategy:run
listening_listList captured listening mentions — places the product or its category was discussed.strategy:runlistening_scanRun a listening scan for new mentions of the product. Costs credits.strategy:runsignals_scanSearch external sources for demand signals matching a query.strategy:runtrends_listRead trending topics for the day or week to ground timely content.localopportunities_listList scored growth opportunities derived from listening and signals.strategy:runopportunities_draftDraft content for an opportunity. Costs credits; the draft still needs human approval to publish.strategy:runopportunities_queueMove an opportunity's draft into the content queue as a pending item.queue:writegeo_statusRead current GEO (AI-citation) status: which AI answers mention the product.strategy:rungeo_scanRun a GEO scan to check whether AI assistants cite the product. Costs credits.geo:rungeo_checklistRead the GEO readiness checklist (signal, status) plus which sources already cite the product.strategy:rungeo_competitorsList competitor citation share and latest GEO visibility data.strategy:rungeo_uncitedList high-value GEO queries where the product is not cited.strategy:runecho_mentionsList tracked brand and competitor mentions.analytics:readecho_scanScan tracked sources for brand and competitor mentions.strategy:runlistening_scoreScore a mention feed for relevance, buying intent, and sentiment. Omit mentions to score the built-in demo. Local and read-only; nothing is sent or published.locallistening_alert_previewPreview the email and Slack payload for a spike or high-intent alert. Local and read-only; never sends notifications.locallistening_listenersBoolean keyword listeners with negative keywords. Actions: list, add, remove, match.locallistening_sovBrand versus competitor mention counts for a weekly share-of-voice snapshot.localgeo_citationsCitation check for a saved prompt set. The demo uses fixtures for ChatGPT, Perplexity, and Gemini. Other engines are stubs. mode=live uses configured API keys and does not invent results.localgeo_gap_draftBuild an FAQ, schema JSON-LD, or short outline for a citation miss. The result is a draft. Nothing is published.localgeo_promptsPrompt library for a category, with optional question-shaped Search Console queries. Actions: list, seed, add, update, remove, scan. Scan uses fixtures unless you run a live GEO scan.localgeo_crawler_auditReport whether robots.txt allows GPTBot, ClaudeBot, PerplexityBot, and Google-Extended. Does not edit the file.localrecommendations_listList the CMO's current recommendations for the workspace.strategy:runrecommendations_generateRegenerate the recommendation set from the latest workspace data.strategy:runrecommendations_decideAccept or dismiss one recommendation. Accepting is what changes prioritization.strategy:runadlib_searchAgni AdKit: Collect competitor ads from the public ad libraries (Meta/Google/LinkedIn/TikTok/X) for a query, persist them, and return the scored page. Costs ad_library_scan credits; a live scan can take 15-40s. Proposes a command plan; execute only after human approval.discovery:runadlib_browseAgni AdKit: Browse ads already stored in the workspace's ad library. Sort by score for Ad Score (beta). Tiers are high_conf | winner | emerging | loser.discovery:readadlib_get_adAgni AdKit: Read one stored ad by its ad_id.discovery:readadlib_get_scoreAgni AdKit: Read Ad Score (beta) for one ad: overall 0-100 plus a transparent breakdown (run duration, variants, creative reuse, still active).discovery:readadlib_list_assetsAgni AdKit: List creative assets in the workspace ranked by reuse count (how many ads share the same primary creative).discovery:readadlib_savedAgni AdKit: List saved ads with per-board counts and swipe-file filters.discovery:readadlib_boardsAgni AdKit: List swipe-file boards with save counts and public-share metadata.discovery:readadlib_create_boardAgni AdKit: Create a named swipe-file board. Proposes a command plan; execute only after human approval.discovery:runadlib_set_board_publicAgni AdKit: Enable or disable a read-only public link for a swipe-file board. Proposes a command plan; execute only after human approval.discovery:runadlib_save_adAgni AdKit: Save an ad to a swipe-file board (Unsorted when omitted). Proposes a command plan; execute only after human approval.discovery:runadlib_unsave_adAgni AdKit: Remove an ad from a board (default board when omitted). Proposes a command plan; execute only after human approval.discovery:runadlib_alertsAgni AdKit: Competitor ads seen for the first time — the launch-alert feed.discovery:readadlib_ack_alertsAgni AdKit: Mark launch alerts read. Omit ad_ids to acknowledge everything unread. Proposes a command plan; execute only after human approval.discovery:runadlib_competitorsAgni AdKit: List the competitor watchlist merged with advertisers already seen in the library.discovery:readadlib_track_competitorAgni AdKit: Add a competitor name to the watchlist (idempotent). Proposes a command plan; execute only after human approval.discovery:runadlib_untrack_competitorAgni AdKit: Remove a competitor from the watchlist. Proposes a command plan; execute only after human approval.discovery:runadlib_sync_competitorAgni AdKit: Track a competitor and refresh-pull its live ads now. Costs ad_library_scan credits; new ads raise alerts. Proposes a command plan; execute only after human approval.discovery:runadlib_cloneAgni AdKit: Remix an ad's hook into 3 deterministic variants for your own creatives. Proposes a command plan; execute only after human approval.discovery:runadlib_top_spendAgni AdKit: Find top stored ads ranked by estimated library spend; missing spend stays unknown.discovery:readadlib_weekly_digestAgni AdKit: Read the last seven days of competitor ad activity without sending email.discovery:readadlib_monitoringAgni AdKit: Read weekly digest and monitoring preferences.discovery:readadlib_set_digestAgni AdKit: Enable or disable the existing weekly competitor digest. Proposes a command plan; execute only after human approval.discovery:runadlib_create_alert_ruleAgni AdKit: Create a competitor, new-ad, or score-threshold monitoring rule. Proposes a command plan; execute only after human approval.discovery:runads_benchmarksAgni AdKit: Read anonymized ad benchmarks with the existing contributor privacy floor.analytics:readads_reportAgni AdKit: Read ad spend and performance by platform and project.analytics:read
engage_high_intent_draftTurn a high-intent mention into a Mitra reply draft for the approval queue. Returns the draft payload only. Nothing is sent.localengage_reply_draftsList Mitra's pending reply drafts — answers to new comments on your published posts and to negative brand mentions, waiting in the queue for approval.queue:readengage_scanRun Mitra's engagement sweep for your workspace: drafts replies to new comments on your published posts and answers negative brand mentions. Everything lands as queue drafts for approval — nothing posts.strategy:runprospects_scanScan for prospects matching the workspace ICP. Costs credits.strategy:runinbox_listList inbox conversations with prospects across email and DMs.strategy:runinbox_getRead one contact's full inbox thread.strategy:runoutreach_draftDraft an outreach message to a contact and queue it for human approval. Nothing is sent — approve and publish the queued item to actually deliver it.outreach:write
analytics_overviewRead aggregate performance over the last N days: totals per metric, per platform, and queue status.analytics:readanalytics_attributionRead attribution: which content and channels drove signups.analytics:readanalytics_pagespeedRun a PageSpeed check on a public url and return its performance scores.analytics:readanalytics_reportRead the rolled-up performance report for the last N days (default 7).analytics:readanalytics_benchmarksRead ad benchmarks (beta): your CTR/CPC/CPA against the anonymized pool for a platform, optionally narrowed by industry, campaign type, objective and country. Returns status not_enough_data, with no numbers, until the pool has enough real contributors.analytics:readfeed_listRead the agent activity feed — what the agents did and what needs attention.strategy:runfeed_updateMark one feed item as read or acted on.strategy:runbrief_getRead the most recent stored daily brief: yesterday's shipped items, engagement, pending actions, and alerts.queue:read
creative_planPlan a launch video from a public productUrl using screen capture. Creates an approval; does not render or publish.creative:runcreative_renderStart rendering an approved storyboard. Heavy work runs on the media worker.creative:runcreative_statusRead a creative run, its stages, and signed preview URLs.creative:readcreative_reviewRead the storyboard awaiting approval for a run.creative:readcreative_assetsList signed output assets for a completed creative run.creative:readcreative_cancelCancel a creative run and refund unstarted stages.creative:runcreative_queueCreate content_queue drafts from a completed creative run. Does not publish.queue:writecreative_modelsList the active Creative Studio generation models with their credit cost per billing unit.creative:readcreative_generateGenerate a Creative Studio image, video or carousel (pass slides 2-6 for a carousel — one render per slide, poll creative_job to see slides land). Debits credits and drafts the result into the content queue for approval; never publishes.creative:runugc_batchGenerate a batch of UGC-style creator ad videos — one keyed job per deterministic hook angle. Whole-batch quota is reserved before any spend; per-angle failures return as data. Results land in the review gallery; never publishes.creative:runugc_batch_preflightRead-only readiness check for a UGC batch: engine key, model, quota, credits, consent, product context and platform connections. Returns fixable blockers plus the server-computed credit total.creative:readugc_performanceRank UGC batch hook angles by attributed revenue (GA4 first-touch). Hooks without pulled metrics report null — never a fabricated zero.analytics:readugc_scaleHand a proven UGC hook to the paid lane — resolves the winning video and creates an ads.launch (creative_url = the video). Lands pending_approval or paused exactly like any launch.campaigns:writecreative_galleryList Creative Studio generation jobs with signed output URLs, newest first.creative:readcreative_jobRead one Creative Studio generation job and its signed output URL. Carousels list per-slide media_urls, filling toward slides while rendering.creative:readcreative_abortAbort an in-flight Creative Studio generation job; credits are refunded when the provider had not yet spent them.creative:runcreative_reviseOpen a new storyboard revision that supersedes a previous run. Does not render or publish.creative:runcreative_storyboard_editEdit a run's timeline with 1-20 ordered ops: reorder, trim, remove, add_upload. Free; the result needs a fresh storyboard approval before it renders.creative:run
campaigns_listList campaigns (multi-step marketing graphs) in the workspace.strategy:runcampaigns_createCreate a campaign. Pass a node/edge graph to define its steps, or omit it for an empty draft.campaigns:writecampaigns_getRead one campaign including its full step graph.strategy:runcampaigns_updateUpdate a campaign's name, status (draft/active/archived), or step graph.campaigns:writecampaigns_archiveDelete a campaign.campaigns:writelaunch_preparePrepare launch assets (Product Hunt / Hacker News copy) for a product. Submission stays human-assisted.strategy:runlistings_listList directory launch listings (Product Hunt, Hacker News, directories) tracked for the workspace.strategy:runlistings_createTrack a new directory launch listing. Records intent only; submission stays human-assisted.workspace:writelistings_updateUpdate a tracked launch listing (status, URL, notes).workspace:writelistings_archiveRemove a tracked launch listing.workspace:writeads_launchAgni AdKit: Plan (dry_run=true, default) or execute an ad launch. Execution is policy-gated: winner score >= 60 creates a paused campaign draft, below that it lands pending_approval for human sign-off — nothing ever goes live directly. Proposes a command plan; execute only after human approval.campaigns:writeads_launchesAgni AdKit: List launched/paused/pending ad campaigns in the workspace.analytics:readads_getAgni AdKit: Read one ad launch by id.analytics:readads_manageAgni AdKit: Manage one launch: action approve|activate|pause|archive (approve pending_approval -> paused; activate paused -> active; pause active -> paused; archive any -> archived) and/or set daily_budget. Proposes a command plan; execute only after human approval.campaigns:writeads_performanceAgni AdKit: Performance for one launch: spend, impressions, clicks, conversions, CTR, CPA, ROAS. synced:false + zeros until a platform metrics sync has written data.analytics:readautopilot_statusAutopilot rollup: active loops, cycles run, pending proposals, learnings this week, plus every loop's last-run state.autopilot:readautopilot_learningsThe readable learning files the loops append to each run — winner/miss/audit/digest lessons per channel with the rows that earned them.autopilot:readautopilot_runRun one autopilot cycle now (or the weekly audit with loop=audit). Deterministic — grades signals, writes learnings, proposes actions. No credits; proposals still need approval.autopilot:runautopilot_actionsList autopilot proposals — pending ones awaiting a decision, or applied/dismissed history.autopilot:readautopilot_decideDecide one autopilot proposal: apply executes it (scale budget / pause launch / pause loop), dismiss closes it without side effects.autopilot:writeadvocates_listAdvocate leaderboard: repeat positive engagers scored on reach(momentum), loyalty, content and amplification, tiered micro_influencer/loyal_customer/ugc_creator/advocate.advocacy:readadvocates_outreachReady-to-send DM template for one advocate, worded per tier (micro-influencer affiliate offer, loyal-customer early access, UGC feature request).advocacy:readadvocates_set_statusMark an advocate contacted / partner / dismissed once you've reached out.advocacy:writesentiment_seriesDaily per-platform sentiment rollup (positive/neutral/negative %) plus live anomalies vs the 7-day baseline — the crisis early-warning feed.sentiment:read
capabilities_listList supported chatbot, CLI, and MCP capabilities with risk and confirmation metadata.localdocs_searchSearch tool docs: find which tool to call and its parameters. Pass a tool name for its full input schema. Local, read-only; no auth required.localconnection_statusAuto-detect this MCP connection: whether a token is configured and valid, which API it targets, which platforms are connected, and the projects (products) reachable with it. One connection covers every project.localcredit_costsList the credit cost of each AICMOHQ agent action. Local, read-only; no auth required.localagents_listList the six marketed agents (Ved, Shravan, Chanakya, Kavi, Mitra, Agni) with their charter and live status: effective approval mode and drafts awaiting review.strategy:runagents_statusRead one marketed agent's charter and live status (mode, pending approvals).strategy:runagents_runRun one marketed agent's entry capability now (Ved geo scan, Shravan mention scan, Chanakya strategy draft, Kavi draft, Mitra reply sweep, Agni autopilot cycle). Entry capabilities never publish externally — external_write/delete are refused — but may spend credits or write internal state (Agni's autopilot cycle). Requires strategy:run plus the entry capability's own scope (geo:run for Ved, autopilot:run for Agni; Shravan, Chanakya, Kavi, and Mitra entries already use strategy:run). Extra fields pass through as the entry capability's input (e.g. platform, keywords, topic).strategy:runconnections_listList connected platforms (check LinkedIn before publishing).connections:readreddit_statusInspect the connected Reddit account's conservative warm-up stage and engagement limits.connections:readreddit_warmupUse the connected Reddit OAuth account to find value-first threads. Saves opportunities only; never comments or publishes.strategy:runworkspace_contextRead the workspace strategy context (product, ICPs, positioning, brand voice) agents ground drafts on.strategy:runworkspace_getRead the raw workspace record (company profile, positioning, ICPs) the agents ground on.strategy:runproducts_listList the products in the workspace. Most agent work needs a product_id from here first.strategy:runproducts_createAdd a product to the workspace so scans and drafts can be scoped to it.workspace:writeproducts_updateUpdate a product's name, tagline, description, or url.workspace:writeproducts_archiveDelete a product. Its past artifacts stay, but new work can no longer target it.workspace:writeartifacts_listList agent artifacts (research briefs, drafts, reports) produced for this workspace.strategy:runvoice_getRead canonical workspace brand voice.strategy:runvoice_setUpdate canonical workspace brand voice with optimistic revision control.settings:writeaudience_importImport subscribers from CSV with a required consent source.workspace:writeworkflows_startStart a background workflow (e.g. reddit_scan, hn_scan, content drafts) for a product. Costs credits.strategy:runworkflows_executeExecute a named workflow synchronously with a small input map. Costs credits.strategy:runworkflows_statusRead a running workflow's status and step results.strategy:runtasks_listList agent tasks, optionally filtered by status or agent.strategy:runtasks_createQueue a task for one of the agents (scout, writer, publisher, engage, analyst).strategy:runtasks_getRead one task with its input, result, and error.strategy:runtasks_updateUpdate a task's status, result, or error.strategy:runtasks_approveApprove a task that is waiting for a human decision. Never approve your own work.strategy:runtasks_executeRun an approved task now instead of waiting for the scheduler.strategy:runcrm_syncPush a contact to the connected HubSpot CRM. Writes to an external system, so it needs approval.outreach:writega4_pullPull the latest metrics from the connected GA4 property.analytics:readgithub_reposList repos visible through the connected GitHub account, for shipping-log content.connections:readconnections_healthCheck each connected platform's token health before trying to publish.connections:readcomposio_accountsList Composio-connected tool apps for the current workspace. Returns toolkit, status, and connected account id. No tokens. Does not publish or spend credits.connections:readcomposio_executeRun a read-only Composio tool for an app connected to this workspace. Send, publish, draft, and delete tools are rejected. Nothing is queued or published.connections:readagent_mode_getRead the publishing mode (approve or autonomous) plus any per-agent overrides.strategy:runagent_mode_setChange the publishing mode. Switching to autonomous removes the human approval gate, so it needs a human.settings:writeemail_prefs_getRead the account email preferences: onboarding emails and the daily brief.strategy:runemail_prefs_setChange account email preferences. Agents may only opt OUT (false); opting in is consent and needs a human in the dashboard.settings:writebilling_statusRead the active plan, credit balance, and renewal date.billing:readme_getRead the authenticated identity: user id, token type, and granted scopes.billing:readaudience_listList the email marketing audience for the workspace, with status and segment filters.strategy:runaudience_createAdd one subscriber to the email audience. A consent source is recorded for compliance (defaults to manual).workspace:writescheduled_tasks_listList scheduled tasks (recurring agent prompts) and their recent runs.queue:readscheduled_tasks_createCreate a scheduled task: a prompt the agent runs on a cadence. Each run spends credits unattended.workspace:writescheduled_tasks_updateUpdate a scheduled task's title, prompt, cadence or status (pause/resume).workspace:writescheduled_tasks_deletePermanently delete a scheduled task.workspace:writescheduled_tasks_runRun a scheduled task now. Spends credits; does not move its schedule.workspace:writewebhooks_listRegistered outbound webhook endpoints — https URLs that receive signed domain events (publish.succeeded, approval.decided, anomaly.detected, …) for n8n/Zapier/custom glue.webhooks:readwebhooks_addRegister an https endpoint for signed domain events. Response carries the signing secret exactly once — it cannot be recovered later. events may be a list of domain events or "*".webhooks:writewebhooks_rmDelete a webhook endpoint (its delivery log is removed with it).webhooks:writewebhooks_deliveriesRecent delivery attempts for one endpoint — status, attempts, response code.webhooks:readwebhooks_testSend a signed webhook.test event to one endpoint so the subscriber can verify their receiver and the X-AICMO-Signature scheme end-to-end.webhooks:writecustom_agents_listList the workspace's custom agents — workspace-defined agents built from a name, charter prompt, tool allowlist, and output guardrails.strategy:runcustom_agents_runsRun ledger for one custom agent, newest first — input, output, and the guardrail verdict (completed | blocked | error) recorded on every run.strategy:runcustom_agents_createCreate a workspace-defined custom agent: name, charter prompt, a tool allowlist picked from the capability catalog (validated against the catalog AND the workspace's plan server-side), and output guardrails. Run output is never queued or published — a human promotes it through the normal approval queue.strategy:runcustom_agents_runRun one custom agent on an input string — metered (5 credits), and the output is guardrail-gated before the run row persists. Output lives only on the run record; it is never queued or published from here (approve-first invariant).strategy:run
3.0 — Security and scopes
Scoped tokens. A human on every approval.
Device authorization (RFC 8628): the CLI shows a short code, you confirm it at /activate, and the CLI receives a token.
Give Cursor read-only queue access and Claude Code drafting rights. List and revoke them any time.
The API rejects CLI and MCP tokens for approvals. An agent can switch itself back to approve mode, never to autonomous.
| Scope | Lets a token | Example tools |
|---|---|---|
| queue:read | Read the queue and drafts | queue_list, brief_get |
| queue:write | Edit, schedule, reject drafts | queue_update, queue_schedule |
| publish | Publish items you approved | queue_publish |
| strategy:run | Run agents and research | write, scout |
| connections:read | See which platforms are linked | connections_list |
| analytics:read | Read reports and attribution | analytics_overview |
| creative:run | Plan and render creative | creative_plan, creative_render |
Failures keep MCP's isError flag and return a stable code your agent can act on.
Tool calls can't point the server at another API origin or swap its token unless you enable overrides at startup.
4.0 — Prefer the terminal?
The same team, as an aicmo command.
The MCP server is the CLI: aicmo mcp starts it over stdio. Everything your coding assistant can call, you can run yourself.
Install the CLI with npm install -g @aicmohq/cli, then sign in with aicmo login.
$ aicmo loginSign in through the browser$ aicmo whoamiYour user, plan, and token scopes$ aicmo agentsThe six agents and pending approvals$ aicmo scout -k "cron monitoring"Find opportunities for keywords$ aicmo publish <id>Publish an item you approved$ aicmo briefPrint the latest daily brief$ aicmo mcpStart the MCP server over stdio
5.0 — MCP questions
Before you wire it up.
Any client that runs a stdio MCP server: Claude Code, Codex, Cursor, Gemini CLI, OpenCode, OpenClaw, Hermes Agent, and others. Each one runs the same aicmo mcp command.
No. Approving a draft is human-only: the API rejects CLI and MCP tokens for approval and returns step_up_required. A token with the publish scope can publish only items you already approved. Approval-first by default; later you can let a trusted agent auto-publish, a switch you flip in the dashboard.
Tool calls cost the same credits as the action they run, for example 7 for a LinkedIn draft. capabilities_list and credit_costs run locally with no auth and no credits.
Only what a tool call contains. Your coding assistant decides what context to pass, and MCP clients show each tool call it makes.
Mint one per client with aicmo token create --scope and only the scopes it needs, such as queue:read,queue:write. Revoke it with aicmo token revoke.
You get MCP’s isError flag plus a JSON error with a stable code, a message, and a retryable flag, so your agent can recover or ask you.