MCP & AgentsPart 2 of 2Updated

    Cogny MCP Server

    Connect Claude to your marketing data. Query BigQuery, browse reports, manage growth tickets, and build organizational context — all through natural conversation.

    What is the Cogny MCP Server?

    Cogny's MCP (Model Context Protocol) server lets you connect Claude directly to your marketing data stack. Once connected, Claude can query your BigQuery warehouse, read Cogny's AI-generated reports, manage growth tickets, and access your organizational context — all through natural conversation.

    Server URL: https://app.cogny.com/mcp

    Protocol: JSON-RPC 2.0 over HTTPS (MCP spec 2024-11-05)

    Authentication: OAuth 2.1 (authorization code flow with PKCE) — no API key needed; your MCP client handles the sign-in, and you pick which warehouse to authorize.

    Tip: You can also use a warehouse-scoped URL of the form https://app.cogny.com/mcp/w/<your-warehouse-id> to skip the warehouse picker. Copy the exact URL for your workspace from Settings → MCP inside the app. Both the generic and scoped URLs work everywhere.

    Quick Setup

    In Claude.ai / Claude Cowork

    1. Go to Settings → Connectors → Add custom connector
    2. Enter the name cogny and paste the server URL: https://app.cogny.com/mcp
    3. Click Add — Claude will prompt you to log in
    4. In the popup, select your warehouse and click Authorize
    5. Start chatting — Claude now has access to your marketing data
    Connect Cogny to Claude in about 30 seconds

    In ChatGPT

    1. Go to Settings → Apps → Advanced settings and enable Developer mode
    2. Click Create app, enter the name Cogny, and paste the server URL: https://app.cogny.com/mcp
    3. Set Authentication to OAuth, check the risk acknowledgment, and click Create
    4. In the popup, select your warehouse and click Authorize
    5. To use it: click + in the chat box → More → Cogny

    ChatGPT may prompt you to authorize twice on first use — this is normal.

    Connect Cogny to ChatGPT (about 3 minutes)

    In Grok

    Works with Grok Bot and with Grok chat on grok.com. Both sign in through your browser, so there is no API key to paste.

    Grok Bot

    1. Open a chat with your Bot and send: Add a custom MCP server called cogny at https://app.cogny.com/mcp/w/<your-warehouse-id> (copy the exact line from Settings → Connect AI Clients → Grok)
    2. Confirm the name and URL the Bot shows you
    3. On the Connect card, choose Authorize. Your browser opens Cogny
    4. Select your warehouse and click Authorize
    5. To use it: type @ in the message box and pick cogny

    More than one workspace? Give the Bot each workspace's URL under a different name; each becomes its own connector.

    In the desktop app you can use a form instead: Connect apps → Add a custom connector, type Remote HTTPS, paste the server URL, leave Client ID empty and choose Add plugin. On a team, an admin can block custom servers.

    Grok chat (grok.com)

    1. Go to grok.com/connectors, click New Connector, then Custom
    2. Enter the name Cogny and paste the server URL: https://app.cogny.com/mcp
    3. Add the connector and connect it. Grok opens a sign-in window, so allow pop-ups from grok.com
    4. Select your warehouse and click Authorize

    In Claude Code (CLI)

    The fastest route is to let the agent install Cogny itself: paste Read https://cogny.com/SKILL.md and follow the setup instructions. See Install Cogny in Your AI Agent for what that does. To add the MCP server by hand instead:

    Run this in your project directory — Claude Code handles the OAuth login automatically:

    claude mcp add --transport http cogny https://app.cogny.com/mcp
    

    Or, if you already have a Cogny API token, skip OAuth with a bearer header:

    claude mcp add --transport http cogny https://app.cogny.com/mcp --header "Authorization: Bearer YOUR_TOKEN"
    

    In Codex CLI

    Run this in your project directory — Codex detects OAuth and opens the authorization flow automatically:

    codex mcp add cogny --url https://app.cogny.com/mcp
    

    If the server is already added and you need to authenticate again, run codex mcp login cogny.

    Via the API (Anthropic MCP Client)

    Use the Anthropic API with the mcp-client-2025-04-04 beta header to connect programmatically against https://app.cogny.com/mcp. See Anthropic's MCP documentation for details.

    Available Tools

    All tools include MCP safety annotations (readOnlyHint, destructiveHint, etc.) so Claude understands which tools are safe to call without confirmation.

    BigQuery Analytics

    Query your connected data warehouse directly.

    ToolDescriptionSafety
    list_datasetsList all BigQuery datasets in your warehouseRead-only
    list_tablesList tables in a dataset (auto-groups GA4 sharded tables)Read-only
    inspect_schemaGet column definitions and CREATE TABLE statementRead-only
    execute_bigquery_sqlRun read-only SQL queries (SELECT/WITH only, 500 row limit, 100 GB scanned per query)Read-only

    Example prompt: "What are my top 10 landing pages by conversion rate this month?"

    Reports & Visualizations

    Access Cogny's AI-generated marketing reports and render interactive charts.

    ToolDescriptionSafety
    list_reportsList recent reports (SEO, Google Ads, CRO, etc.)Read-only
    get_reportGet full report content with all sectionsRead-only
    get_report_sectionGet a section's SQL and chart configRead-only
    show_report_sectionRender an interactive chart visualizationRead-only
    show_metricsDisplay configured core KPI metrics with trendsRead-only
    show_budgetShow ad spend vs. monthly budget targetsRead-only
    check_changeCheck whether a metric really changed after a date, from its daily values: dropped, rose, no detectable change or too little dataRead-only
    evaluate_ab_testTell whether an A/B test has a winner yet, from each variant's visitors and conversions (or n, mean and sd): winner, no meaningful difference, keep running or too little data, with each variant's range, its chance of being best and its lift over the controlRead-only
    check_mmm_readinessCheck whether the history is enough for a marketing mix model, from the weekly KPI and spend per channel: ready, directional only or too little data, with the reasons and what would fix themRead-only
    run_mmmCloud: a marketing mix model on the weekly KPI and spend per channel. Each channel's contribution and return, average and on the next unit of spend, with ranges and a label (clear, rough or can't tell). 10 credits; on 20-51 weeks a directional read instead, 3 credits. Charged on deliverySpends credits
    design_holdout_testCloud: which regions to pause ads in for a holdout test, and the smallest effect that test could detect. 1 creditSpends credits
    measure_impactCloud: what a change did against regions or channels it didn't touch, with a range; also the read-out of a holdout test. 2 creditsSpends credits
    get_measurement / cancel_measurementFollow a measurement started with one of the three tools above (wait_seconds up to 25), or stop it. A cancelled or failed run is not chargedRead-only / Stops a run

    Example prompt: "Show me this week's SEO performance report"

    Growth Tickets

    Manage the actionable opportunities Cogny identifies from your data.

    ToolDescriptionSafety
    list_ticketsList tickets with status/type filteringRead-only
    get_ticketGet ticket details, body, execution history and the latest run (status, the pull request a code ticket opened, or its error); wait_seconds (up to 25) waits for the run to move onRead-only
    get_ticket_run_logWhat Cogny's agent read and changed while it worked a ticket, call by call, with the stored results: find the earlier version of a page, post or setting a ticket replaced. Filter by tool name or by text such as an object idRead-only
    get_commentsGet the ticket thread — agent notes and human replies, newest firstRead-only
    get_ticket_source_contextGet the report/analysis that created a ticketRead-only
    get_winner_statusLong-term impact history of a winner ticket (trend, cumulative USD impact, check schedule)Read-only
    create_ticketCreate a new growth ticket: manual, agent, or code (execution_target: "code", with repo when the workspace has several connected)Write
    update_ticket_statusMove ticket through workflow (new > assigned > doing > analysis). A code ticket isn't moved to doing this way, because that doesn't start the code agent: use approve_ticket (Cogny's code agent does it) or start_ticket (you do it)Write
    add_commentAdd a comment to a ticketWrite
    add_ticket_feedbackTell Cogny a ticket is useful, already done, wrong, duplicate, or out of scope — feeds the ticket generator; optionally rejects itWrite
    assign_ticketAssign or unassign a ticketWrite
    link_pr_to_ticketLink a GitHub PR for auto-status updatesWrite

    Example prompt: "What are my open growth tickets? Assign the top-priority one to me."

    Leaving feedback on a ticket

    add_ticket_feedback records what an agent thinks of a ticket. Cogny reads it back when generating the next batch, so a ticket marked already_done or incorrect_data stops recurring. Always explain the verdict — the reasoning is what future generation learns from.

    VerdictMeans
    usefulWorth doing as written
    already_doneThe work described is already in place
    not_actionableToo vague or underspecified to act on
    incorrect_dataThe numbers or the premise are wrong
    duplicateAlready covered by another ticket
    out_of_scopeNot something this workspace does

    Feedback is appended, never overwritten, so earlier entries and human rejection reasons survive. A negative verdict leaves the ticket open on its own; pass reject: true to close it with your feedback as the recorded reason. Two constraints on rejecting, worth checking before the call:

    • Agent-executed tickets can't be rejected over MCP — reject those in the web UI.
    • Tickets already done can't be rejected — leave feedback without reject; it still reaches the generator.

    Reading the thread

    get_comments returns agent and human entries merged, newest first. Each entry carries source (agent for anything written over MCP, user for a comment typed in the Cogny UI, external_reviewer for a comment left through a review link) and type (comment, or feedback for an add_ticket_feedback entry, which also carries verdict).

    On workspaces with live edit, a ticket's preview can be shared with someone who has no Cogny account (a doctor checking medical claims, a lawyer, your client). They open the link, see the preview, and leave comments under their own name; the comments land on the ticket and the member who made the link gets an email for each one. Anyone holding the link can comment until it expires (7 to 90 days, 30 by default) or is revoked. While a reviewer has the preview open it runs and is billed like your own use of live edit.

    ToolDescriptionSafety
    create_review_linkMake a review link for a ticket, with who it is for, what to check and the page it opens on. The URL is returned onceWrite
    list_review_linksA ticket's review links, whether each still works, and (with include_comments) the comments made through itRead-only
    revoke_review_linkTurn a link off at once; its comments stay on the ticketWrite

    Organizational Context

    A hierarchical knowledge graph for company strategy, competitor intel, and team knowledge.

    ToolDescriptionSafety
    browse_context_treeList child nodes at a path (or root categories)Read-only
    read_context_nodeRead full node content with backlinksRead-only
    search_contextFull-text search across the context treeRead-only
    get_context_tree_overviewHigh-level structure overviewRead-only
    write_context_nodeCreate or update a context node (upsert)Write
    archive_context_nodeSoft-delete a context nodeDestructive

    Example prompt: "What do we know about our competitors' ad strategies?"

    Connected Platforms

    Cogny federates tools from your connected ad platforms. These appear as namespaced tools (e.g., mcp__google_ads__execute_gaql) and vary based on your connected integrations.

    Supported platforms include Google Ads, Meta Ads, LinkedIn Ads, Search Console, and more. Every integration's full tool list is at cogny.com/integrations/tools.

    ToolDescriptionSafety
    list_integrationsAvailable and connected integrations; connected ones include their server_idRead-only
    add_custom_mcp_serverRegister your own MCP server (name, https URL, optional API key sent as Authorization: Bearer). Discovers its tools and returns server_id plus each tool's read_only flag. Owners and admins onlyWrite
    refresh_mcp_discoveryRe-list a server's tools after it changesRead-only
    list_integration_toolsEvery connected integration's tools with their input schemas, and whether each reads or writesRead-only
    call_integration_toolRun a connected integration's read-only tool by its full nameRead-only
    call_integration_write_toolRun a connected integration's tool that changes something, by its full nameDestructive
    get_integration_taskThe result of a long-running integration call once it has finished, or where it stands (integration, task_id, optional wait_seconds up to 25)Read-only
    cancel_integration_taskAsk the integration to stop a long-running call that is still workingDestructive

    Connected a new integration mid-session? Your AI client keeps its own copy of Cogny's tool list, so a platform you connect later doesn't show up as mcp__… tools until the client reloads the list. In ChatGPT, open Settings → Apps → Cogny and choose Refresh; in other clients, reconnect or start a new session. Until then your agent can reach the new tools right away with list_integration_tools and call_integration_tool.

    Long-running integration calls. Some integration tools take minutes, for example asking an app builder's agent to make a change. When the integration's own MCP server supports MCP Tasks, Cogny follows the task for you: a call that finishes within about 100 seconds returns its result as usual. One that takes longer answers that it is still working and gives a task id, and the work carries on at the integration. Your agent then calls get_integration_task until the result comes back, or cancel_integration_task to stop it. It should not call the original tool again, which would start the work a second time. Polling a task does not use MCP calls on the Free plan. An integration whose server does not support Tasks behaves as before: the call waits up to four minutes for an answer.

    Ad Targeting Catalog

    One search across the audiences each ad platform lets you aim at: interests, in-market segments, content topics, industries, job functions, genres and conversation topics from Google Ads, LinkedIn Ads, Meta Ads, Pinterest Ads, Reddit Ads, Spotify Ads and X Ads. It works on every plan and does not need the platform connected, so an agent can plan where an audience can be reached before any ad account exists.

    ToolDescriptionSafety
    search_targetingTargeting options matching one or more subjects (queries, e.g. ["food", "restaurant", "dining"]), grouped by platform, each with its id, the dimension it belongs to, what that dimension reaches and the tool that takes the id. Filter with platforms, kinds and signal. Without queries: the map of every dimensionRead-only
    browse_targetingOne level of a dimension's tree (platform, dimension, optional under): its top-level groups, or everything directly under a groupRead-only

    Matching is on words, so pass synonyms. Lists that are too large to hold (job titles, companies, subreddits, artists, search keywords) are named in each answer's search_live with the integration tool that searches them once the platform is connected. Bing Ads and Apple Search Ads are aimed with keywords and have no list; each answer names them. TikTok Ads and Snapchat Ads are not in the catalog yet.

    Cogny Analysis

    Hand a question to Cogny's own analyst instead of working it through tool by tool. It works through the workspace's connected platforms, analytics, warehouse and business context, and writes up the findings with the numbers behind them and what to change. A run takes one to several minutes, and is also saved as a chat in the Cogny app.

    ToolDescriptionSafety
    run_cogny_analysisStart an analysis of a question. Optional max_credits caps what it may spend; at the cap it stops and returns what it has. It reads connected accounts and never changes themSpends credits
    get_cogny_analysisStatus, latest step, or the finished answer of an analysis, by task_id. Optional wait_seconds (up to 25) waits for the next step or the answer before replying, so an agent needs fewer pollsRead-only
    cancel_cogny_analysisStop an analysis by task_id. It stops at its next step and is charged only for what it used until thenStops a run

    An analysis is charged in credits by usage, like a question in Cogny's chat, on every plan: from the monthly credits on Cogny AI, Cogny Pro and Cloud, from top-up credits on Solo, and from the 50-credit welcome gift on Free. With no credits left, the tool says so and links to top-ups instead of starting.

    MCP Tasks. Cogny supports the MCP Tasks extension (io.modelcontextprotocol/tasks, protocol 2026-07-28). A client that declares it gets a task handle from run_cogny_analysis and run_automation instead of a result: it polls tasks/get for the status and latest step and receives the answer there, can stop it with tasks/cancel, and doesn't hold a connection open while it runs. The work starts when the tool is called: there is no confirmation form, so the agent asks the user before it starts an analysis or a live loop run with write access. A cancelled analysis stops at its next step and is charged for what it used until then. A client without Tasks gets a task_id, polls get_cogny_analysis and can stop the run with cancel_cogny_analysis; run_automation then answers as before.

    Cogny Video

    Hand Cogny the lines a short video should say and get back a finished MP4 in the Creative library, in one of two styles:

    • Motion design (style: "motion_design", the default): animated text with the workspace's logo and brand colours, the exact words given and nothing else. Cogny writes the video, checks its frames for layout problems and with a visual review, fixes what they flag (up to three previews) and renders it, in one to three minutes. Every line stays on screen long enough to read (about a second plus 0.3 s a word), and emphasis picks the hero line: the punchline or the price, set as the biggest type and held longest.

    • Influencer (style: "influencer"): a UGC-style clip of an AI-generated creator saying your lines to a phone camera, made by Cogny's AI video generator in one to five minutes. 3 to 15 seconds, vertical (the default) or landscape; a creator says about 2.5 words a second, so a 10-second clip takes about 25 spoken words. Numbers, prices and web addresses are said in full and count as the words they are said in: "$280 a month" is said "two hundred and eighty dollars a month", "cogny.com" "cogny dot com". The creator is never a real, named or lookalike person. The clip has no text in the frame, so use the lines as written as the post's caption.

      The speech is checked. When the clip is delivered, Cogny transcribes its audio and compares it with the script: every number must be right, and the other words may differ by at most one in five (a brand name spelled differently by the transcription is fine). If it doesn't match, Cogny makes the clip once more, asking for a slower and clearer delivery. Never more than once. If the second take doesn't match either, you still get the better of the two, with a warning that quotes what the creator actually says. The result says whether the speech was checked and what it found (speech_check in the structured result: matched, transcript, wer, takes).

    Brand fonts. Motion design videos and carousels are set in the workspace's brand fonts (Settings → Brand & Context, heading and body) when they are among the free fonts Cogny bundles: Inter, Space Grotesk, Open Sans, Manrope, Poppins, Outfit, Quicksand, Montserrat, Roboto, Lato, DM Sans, Plus Jakarta Sans, Work Sans, Nunito, Nunito Sans, Raleway, Figtree, Rubik, Source Sans 3, IBM Plex Sans, Playfair Display, Lora, Merriweather, Source Serif 4 and JetBrains Mono. A font that isn't (a commercial or custom typeface) is set in the closest bundled one where there is a close match (SF Pro and Helvetica in Inter, Georgia in Merriweather, Gotham and Proxima Nova in Montserrat), otherwise in Inter, and the result says so in one line (fonts in the structured result: the families used and the one they replaced).

    ToolDescriptionSafety
    create_videoStart a video from on_screen (1 to 6 lines, word for word: for motion design the first is the headline and the last the call to action; for influencer, what the creator says). Optional style, emphasis (motion design: the hero line's number or text), format (feed_portrait 1080×1350, the motion design default; feed_square; landscape 1920×1080; vertical 1080×1920 for Stories, Reels, TikTok and Shorts, the influencer default; influencer takes vertical or landscape only), seconds (motion design 6 to 30, default 12 or longer when the lines need it; influencer 3 to 15, default 8 or longer when the spoken script needs it), concept (how it should feel; for influencer, who the creator is and where), logo_asset_id (motion design: a brand asset) and titleSpends credits
    get_videoStatus, latest step, or the finished video of a task, by task_id: the MP4 URL and the Creative library asset id (and, for motion design, the contact sheet of the last preview; for influencer, the speech check). Optional wait_seconds (up to 25)Read-only
    cancel_videoStop a video by task_id. It stops at its next step; a motion design video is charged only for the frame previews already made, an influencer video only for clips already deliveredStops a run
    revise_videoCloud. Ask the coding agent for a design change to a studio video, by session_id; follow it with get_video. Charged by usageConfirm first
    get_video_textCloud. The words on screen in a studio video, frame by frame: each line's id, when it appears and its textRead-only
    set_video_textCloud. Change those words directly, with no agent. With render: true it also renders a new MP4 (about 1 credit)Confirm before rendering
    list_video_filmsCloud. The workspace's saved films: finished studio videos kept with their whole project (scenes, pictures, soundtrack), with id, format, length and the finished video's linkRead-only
    save_video_filmCloud. Save a studio video's project as a reusable film, by session_id, with an optional nameSaves a copy

    On Cloud, create_video also takes style studio: Cogny's coding agent builds the video in its own workspace. With kind product_film (up to 90 seconds) or ad (with a platform: tiktok, reels, meta_feed, linkedin or youtube) it needs no brief: it reads the website and Brand & Context, captures real screens and adds music. It takes three to ten minutes and is charged by usage. The result has a studio_url where the user can watch and keep editing. With from_film_id (from list_video_films) it remakes a saved film for another channel, format or length, reusing its scenes, pictures and music: the product film as a 15-second TikTok ad, for example.

    A motion design video costs about 2 to 4 credits: each frame preview and the render is about 1 credit. It needs 4 credits available to start. An influencer video costs about 0.9 credits a second (8 seconds is about 8 credits, 15 seconds about 14), charged when the clip is delivered; it needs one clip's credits available to start. If the speech has to be redone, the second clip is charged too, so the most an influencer video costs is twice that (22 credits for 8 seconds, 26 for 10). The redo only runs when the workspace still has the credits for it; otherwise the first clip is delivered with the warning. Both clips stay in the Creative library. The speech check itself costs a small fraction of a credit. With too few credits to start, the tool says so and links to top-ups. Like an analysis, a video runs as an MCP task for a client that declares Tasks (with a confirmation form first when the client can show one) and with get_video / cancel_video for any other client. Members with a view-only role can't start one.

    The tools were called create_cogny_video, get_cogny_video and cancel_cogny_video when they launched; those names still work but are no longer listed.

    Hand Cogny the slides of a carousel and get back a finished set in the Creative library: one PDF, which LinkedIn shows as a swipeable document post, and one PNG per slide for a multi-image post on LinkedIn, X or Instagram. Each slide shows only the words you give it, word for word, with the workspace's logo, brand colours and brand fonts (as for videos, above) and, by default, its number ("2 / 7"). Cogny designs the slides, then checks every one before rendering: text inside the frame and not overlapping, type large enough to read on a phone, the hero text the largest on its slide, one design across all slides (same type, colours, margins, and the logo and number in the same place) and the right words on the right slide. It fixes what the checks and a visual review flag, up to three previews, and renders the set in one to three minutes. If the slides still fail after three tries, nothing is rendered and the result says why.

    ToolDescriptionSafety
    create_carouselStart a carousel from slides (1 to 10, in order). Each slide has a headline (up to 120 characters) and optional body lines (up to 4, 280 characters in all), word for word, an optional kind (hook, point, stat, quote or cta; by default the first slide is the hook, the last the call to action) and an optional emphasis: words from the slide to set as its hero, e.g. "40%" from "We cut our CAC by 40%". Optional format (linkedin_portrait 1080×1350, the default, which reads best in the LinkedIn and Instagram feeds; or square 1080×1080), concept (how it should look and feel), logo_asset_id (a brand asset), slide_numbers (default true) and title. For a new version of a finished carousel pass based_on (its Creative library id) and only what changes: slides replaces all the slides, format, concept, title and slide_numbers one by one, and the rest comes from the earlier carousel. The new version keeps its design unless keep_design is false; it is a new carousel, charged like any other, and the earlier one is left as it isSpends credits
    get_carouselStatus, latest step, or the finished carousel of a task, by task_id: the PDF URL, the slide PNG URLs in order, the Creative library asset id and how to post it. Optional wait_seconds (up to 25). Or pass creative_asset_id instead to read any carousel in the Creative library: its slides word for word, format and concept, to edit for a new versionRead-only
    cancel_carouselStop a carousel by task_id. It stops at its next step and is charged only for the slide previews already madeStops a run

    A carousel costs about 2 to 5 credits: each slide preview (all slides at once) and the final render is 1 credit, and writing the slides is a fraction of a credit each time. It needs 6 credits available to start. Like a video, it runs as an MCP task for a client that declares Tasks (with a confirmation form first when the client can show one) and with get_carousel / cancel_carousel for any other client. Members with a view-only role can't start one. Cogny never posts it by itself.

    Posting it. With LinkedIn Organic connected, post the PDF as a document carousel with create_post: text (the post), document_url (the PDF URL from the result) and document_title (required by LinkedIn and shown on the document); schedule_post takes the same fields plus scheduled_for. For a multi-image post pass the PNG URLs as image_urls instead. On X, call upload_media with file_url for each PNG, then create_post with the media_ids; X takes at most four images a post. Post only after the user has seen the slides and said yes.

    Cogny Audio Ad

    Hand Cogny a script and get back a finished audio ad in the Creative library: one MP3 in which a voice-over says your words exactly, with an optional instrumental music bed under it. The file meets Spotify's audio ad spec (up to 30 seconds, 44.1 kHz stereo, 192 kbps, -16 LUFS) and works for podcast and radio-style placements too. Cogny records the take, transcribes it and compares it with the script: every number and price must match, and a take that doesn't is recorded once more. If it still differs, the ad is delivered with a warning that quotes what the voice says. The loudness is measured on the finished file and reported, not assumed.

    ToolDescriptionSafety
    create_audio_adStart an audio ad from script: what the voice says, word for word, in the language it should be spoken in (up to 700 characters; about 76 spoken words fit 30 seconds with music, 79 without, and numbers, prices and web addresses count as they are said). Optional voice (a voice by name, or a description such as "warm female, British"), music (the bed, described: mood, tempo, instruments; leave out for voice only), companion_image (true for a cover image in the brand, or a description of the picture: also makes the two images Spotify asks for, see below), seconds (the longest it may be, 10 to 30, default 30) and title. Returns a taskSpends credits
    get_audio_adStatus, latest step, or the finished ad of a task, by task_id: the MP3 URL, its length and measured loudness, the voice used, the other voices available, the speech check, the companion image and logo links when they were asked for, and the Creative library asset id. Optional wait_seconds (up to 25)Read-only
    cancel_audio_adStop an audio ad by task_id. Nothing is charged unless it had already been deliveredStops a run

    An audio ad costs 1 credit voice only and 2 with music, charged once, when it is delivered. A script recorded twice at full length with music can come to 3, and it needs 3 credits available to start. companion_image adds 1 credit for the generated picture (4 available to start); the logo tile is free, and an image that could not be made is not charged. An ad that fails or is cancelled before delivery costs nothing. It takes under a minute, up to two with music. The ad is as long as the script takes to say; a take that runs slightly over the limit is sped up by at most 12%, and a script that still doesn't fit is refused with how many words to cut. Like a video, it runs as an MCP task for a client that declares Tasks (with a confirmation form first when the client can show one) and with get_audio_ad / cancel_audio_ad for any other client. Members with a view-only role can't start one.

    The images Spotify asks for. Spotify shows a companion image while an audio ad plays and a logo beside it: each square, at least 600×600, JPEG or PNG, 200 KB at most. With companion_image the result carries both as 640×640 JPEGs: a picture generated in the brand (no copy is drawn into it beyond the brand name), and the workspace's own logo from Brand & Context centred on a plain tile, white under a dark logo and near-black under a light one. If the workspace has no logo, or the picture can't be made, the audio ad is still delivered and the result says which image is missing and why.

    Using it. Cogny never uploads or runs the ad by itself. Download the three files from the result and add them to an ad in Spotify Ads Manager, or, where the Spotify Ads connection is available, have your agent do it with the Spotify Ads tools: tool_upload_asset for each file, tool_estimate_audience for the reach and bid range, then tool_create_campaign, tool_create_ad_set and tool_create_ad. The ad set and the ad are created with delivery off, so nothing is spent until you turn delivery on.

    Example prompt: "Ask Cogny why paid search conversions dropped in the last 14 days and what we should change. Keep it under 50 credits."

    Automations

    Scheduled agents that act through write tools you greenlight. Every run is a ticket with a full transcript. Automations are included with Cloud. If these tools are not listed, automations aren't switched on for this workspace; contact support.

    ToolDescriptionSafety
    list_automationsAutomations with schedule, timezone, grants and the exact pre-approved tool list each run getsRead-only
    create_automationName, instructions, crontab, IANA timezone (default Europe/Stockholm), write-tool action_grants with optional pinned constraints, optional explicit read_tools. Created disabled unless you enable itWrite
    update_automationChange any of those fields; grant and read-tool lists are replaced as a whole. Enabling requires a crontabWrite
    run_automationRun now, with or without a schedule. dry_run: true (the default) runs with no write authorityWrite
    get_automation_runStatus, error and condensed transcript of a run, by ticket idRead-only
    schedule_ticketOne run later instead of on a schedule: at run_at, delay_minutes from now, or delay_minutes after a code ticket's PR merges (after_merge_of_ticket_id). Same pre-approved action_grants / read_tools as an automation, plus context_tree_writes, or an automation_id to run once. Up to 180 days ahead, 25 waiting per workspaceWrite
    list_scheduled_ticketsWaiting (or, with include_finished, past) scheduled runs, when each runs and the ticket it becameRead-only
    cancel_scheduled_ticketCancel a scheduled run that hasn't startedWrite

    A scheduled run uses credits like any automation run. More in Scheduled tickets.

    To point an automation at your own app, see Connect your own app to Cogny automations.

    Review Before Publish

    A workspace can look at what a ticket changed before any of it goes live. With the setting on (Settings → Ticket Generation on Cloud, off by default), a ticket Cogny's agent runs creates new content and campaigns as drafts or paused, holds every change to something already live, and waits in Review until a person publishes.

    ToolDescriptionSafety
    get_review_before_publishWhether the workspace reviews changes before they go live, and every ticket waiting for that review: each draft with a link to open it where it lives, each held change, and what publishing will do. ticket_id narrows it to one ticketRead-only
    update_review_before_publishenabled turns the review step on or off. Owners and admins, signed inTurning it off lets approved tickets change live tools directly; confirm first
    publish_ticketPublishes a ticket waiting in Review: sends the held changes, turns the drafts live, and moves the ticket to analysis. If one change fails, the rest are not sent and a second call continues from there. Signed-in membersChanges live sites and ad accounts; confirm first

    Drafts are made for Shopify articles, pages and products, WordPress posts and pages, and campaigns, ad groups and ads in Meta Ads, Google Ads, LinkedIn Ads, TikTok Ads, Reddit Ads and Microsoft (Bing) Ads. Google Tag Manager changes stay in the workspace until the version is published, and email campaigns in Mailchimp, Get a Newsletter and Constant Contact are written as drafts while the send is held. Any other change waits as a held line. A held create has no id yet, so work that depends on it is named in the ticket's summary instead of prepared.

    The setting covers tickets. A loop or automation keeps the tools it was granted, and a tool your own assistant calls through this connector runs when your client approves it.

    Example prompt: "What is waiting for my review? Show me the list for the gift guide ticket, then publish it."

    Ticket Generation

    On Cloud, Cogny reads your reports, strategy, board and site and proposes growth tickets. These tools read and change how it does that by itself. The same settings are in Settings → Ticket Generation.

    ToolDescriptionSafety
    get_ticket_generation_settingsWhether Cogny proposes tickets on a schedule and how often, the most tickets one run adds, the guidance your team wrote for what to propose, and when it last ran. On a workspace that can't use it, says whyRead-only
    update_ticket_generation_settingsenabled turns the scheduled runs on or off. frequency: twice_daily, daily, weekdays, twice_weekly (Monday and Thursday), weekly (Monday) or monthly (the 1st); hour (0 to 23, Stockholm time) sets the time of day. max_tickets (1 to 10) is the most tickets one run adds. guidance (up to 2,000 characters) replaces your written instructions for what to propose; an empty string clears them. Owners and admins, signed inChanges what runs on a schedule; confirm first

    A run adds fewer tickets while tickets wait unreviewed in New: at most 3 with more than 5 waiting, 2 with more than 10, and 1 with more than 20. Each run uses credits by usage, so a more frequent schedule costs more. The guidance is read on every run, the scheduled ones and the ones started from the board.

    Example prompt: "Have Cogny propose tickets every weekday at 7, at most 3 at a time, and tell it to focus on organic signups and never suggest budget increases."

    YOLO Mode

    YOLO Mode (Cloud) starts a ticket without a person when its approval score reaches your threshold and the rules allow it. Every decision is recorded on the ticket with the score, the reasons and the rule that stopped it, so your agent can tell you why a ticket did or didn't start and help you adjust the policy.

    ToolDescriptionSafety
    get_yolo_historyEvery YOLO decision in a period (default the last 7 days, up to 90), or one ticket's with ticket_id: started, left for review because the score was below the threshold, or stopped by a rule. Each comes with the score, threshold, reasons, whether it was made under the current policy and what happened to the ticket since. Also returns the setting, threshold and written policyRead-only
    review_ticket_for_yoloCheck one ticket in New against the current policy: a fresh score with reasons, and when YOLO Mode is on and the ticket passes, it starts. dry_run: true only reports what would happen. Scoring uses credits; a started ticket uses credits like an approved oneStarts work; confirm first
    update_yolo_settingsTurn YOLO Mode on or off, set the threshold (50 to 100) or replace the written policy. Owners and admins, signed in; a threshold or policy change re-checks the tickets held in the last 30 days that are still in NewChanges what runs unattended; confirm first

    Security Watch

    An hourly check of your connected GitHub repositories: the packages their lockfiles install against published security advisories, and the runtimes they pin (Node.js, Python, …) against end-of-life dates and Node.js security releases. What it finds becomes a ticket. Cloud, with a GitHub repository connected for the coding agent. Off until an owner or admin turns it on; the check itself uses no credits.

    ToolDescriptionSafety
    get_security_watchWhether it is on, what a match does, what the latest check read and found per repository, the open security tickets, and how fast security tickets were fixed over the last 90 days (median time from the advisory being published to the ticket, and to the fix). On a workspace that can't use it, says whyRead-only
    update_security_watchenabled turns the hourly check on or off (owners and admins). mode: ticket files a ticket, run also starts the coding agent on version bumps within the same major version (up to 2 a day, credits per run), off files nothing. min_severity: moderate, high or criticalWrite

    More in Security watch: a daily check of your dependencies and runtimes.

    Model provider

    Which model provider Cogny's own work in the workspace runs on: its chat, scheduled reports, tickets and analysis. It does not affect your own agent, which runs on whatever model you chose for it. The options are the Cogny mix (Cogny picks the model for each kind of work), Anthropic, OpenAI, and Berget.ai (open models hosted in Sweden). Choosing is part of Cloud; on Free, Solo, Cogny AI and Cogny Pro the read tool answers with that.

    ToolDescriptionSafety
    get_llm_providerThe provider and model the workspace runs on, the options, and whether its plan can change itRead-only
    update_llm_providerSet provider (cogny-mix, anthropic, openai or berget) and, for Berget.ai, optionally model. Owners and admins, signed in. Applies from the next chat, report and ticket run for every member, and changes how many credits a run usesChanges every later run; confirm first

    Sweden-only AI. Pass provider: "berget" with ai_region: "sweden" and every model call Cogny makes for the workspace runs on Berget.ai in Sweden: chat, reports, tickets, the coding agent, Cogny Agents, the Slack app and Cogny's background text work. Dictation and meeting audio are transcribed in Sweden too. What has no Swedish-hosted model is turned off, and its tool answers with that reason: the voice agent, image, video and audio generation, video and audio analysis, the AI visibility check and web search. ai_region: "none" lifts it; leaving ai_region out keeps the current setting, and a workspace set to Sweden-only can't be moved to another provider without lifting it first. It covers the models Cogny runs. Your own agent, connected over MCP, runs wherever you run it, and reads the data Cogny returns to it.

    More in Choose the model provider your Cogny Cloud workspace runs on.

    Workspace Status

    ToolDescriptionSafety
    cogny_statusCheck subscription, connected channels, and featuresRead-only

    Bugs, Feature Requests and Support

    Your agent can reach the Cogny team directly, with the details it already has, instead of you retyping them somewhere else. Each filing returns a reference. The answer comes back to your agent through list_support_messages and to you in the Cogny app (the life-buoy icon in the header), with an email if nobody has read it within a day. A request for a platform Cogny doesn't connect to yet is researched on the spot instead, and the verdict usually comes back in the same call.

    ToolDescriptionSafety
    report_bugA tool errored, returned wrong data, or didn't do what its description says. Pass the tool name and the raw error. Clearly scoped bugs are fixed by Cogny's coding agent and ship after human reviewWrite
    request_featureA capability Cogny doesn't have: usually a tool missing from a connected integration, or a new platform. For an existing integration, the request is checked against the platform's API, and buildable ones go to Cogny's coding agent. Start a new chat or reconnect once it ships to see the new toolWrite
    contact_supportA message to a person on the Cogny team: billing, account, anything that isn't a bug or a missing feature. Available even without an active subscriptionWrite
    list_support_messagesThe Cogny team's answers to what you or your agent filed, with each request's status. cogny_status says when a reply is unread. Reading a reply marks it read in the app tooRead-only
    reply_to_supportAnswer in one of those threads. Pass still_broken: true when a fix didn't work and the request is reopenedWrite

    A workspace can file up to 10 of these per 24 hours. Replies don't count toward that.

    Your agent and the app's support inbox show the same thread. Threads are per person: teammates don't see each other's.

    Authentication

    Cogny uses OAuth 2.1 with authorization code flow and PKCE. When you add Cogny as a connector, your MCP client handles the OAuth flow automatically — you just sign in with your Cogny account.

    Scopes: Access is scoped to your warehouse. You can only query data, reports, and tickets belonging to workspaces you're a member of.

    Token refresh: Access tokens are short-lived and automatically refreshed by your MCP client.

    Subscription Tiers

    The tools available depend on your Cogny plan:

    FeatureFree, Solo, Cogny AI, Cogny ProCloud
    Connected platforms (Google Ads, Meta Ads, Shopify, ...), read and writeFullFull
    Context Tree50 nodesUnlimited
    Findings and task queueFull-
    Growth Tickets-Full
    Security watch (with a GitHub repository)-Full
    BigQuery-Full
    Reports & Charts-Full
    Workspace Status, bugs, feature requests, supportFullFull

    Every plan reaches the tools of the platforms you connect, with the same read and write tools on a $9 Solo plan as on Cloud. Cloud adds the BigQuery warehouse, reports and growth tickets. On Free, tool calls count against the 15 monthly MCP calls; on Solo, Cogny AI, Cogny Pro and Cloud they are unmetered under fair use (a burst guard of 100 calls per minute per workspace, answered with HTTP 429 and Retry-After).

    When your own AI client calls a write tool over MCP, that client is the approval step: it asks you before running the tool, and Cogny executes the call it receives. To take a tool away from your agent altogether, set it to blocked under Settings → Integrations.

    Evaluating Cogny for someone? The buying guide for agents covers plans, approvals, limits, billing and data protection, and Integrations and tools lists every tool of every integration with what it does and whether it reads or writes.

    Troubleshooting

    "Unknown tool" error

    Your subscription tier may not include that tool. Use the cogny_status tool to check your workspace status and available features.

    Authentication fails

    1. Ensure you're signing in with the email associated with your Cogny workspace
    2. Check that your workspace has an active subscription
    3. Try removing and re-adding the connector

    No data returned from BigQuery

    1. Verify your BigQuery warehouse is connected in the Cogny dashboard
    2. Use list_datasets first to confirm available datasets
    3. Check that your SQL query uses the correct dataset and table names

    Connected platform tools missing

    Connected platform tools only appear after you've linked the platform in your Cogny dashboard. Go to Settings > Integrations to connect Google Ads, Meta Ads, etc.

    An analysis reads "working" for a long time

    Most analyses finish in one to a few minutes. One that stops making progress (its job ended) is reported as failed on a later poll, within ten minutes, with nothing charged. Start it again.

    Timeouts on long queries

    BigQuery queries are capped at 500 rows, and a query that would scan more than 100 GB is refused before it runs, with the size it would have scanned. Filter on the date or partition column (_TABLE_SUFFIX on GA4 export tables) or select fewer columns. If your query is timing out, add LIMIT clauses or narrow your date range.

    Privacy & Security

    • All data stays within your Cogny workspace — Cogny does not share data between workspaces
    • BigQuery queries are read-only (SELECT/WITH only) — your data cannot be modified
    • OAuth tokens are scoped per-user and per-workspace
    • On Cloud, a workspace owner can require two-step verification for every member, or make single sign-on (SAML) the only way in. A member who doesn't meet the rule gets an error from /mcp naming what to set up, and their connection works again once they have. get_workspace_security reads the rules; the owner changes them with set_workspace_sign_in_rules
    • See our Privacy Policy for full details

    Support

    Reading this with an AI agent? Fetch the raw markdown at /docs/mcp/index.md or see llms.txt.