MCP server
AnswerixAI ships a Model Context Protocol
server at https://app.answerixai.com/api/mcp so AI assistants can query your brand visibility data through
natural-language conversation. No npm package, no local process — just a URL.
Claude and ChatGPT connect by signing in to AnswerixAI; every client can also
connect with an API key.
Connect by signing in
Section titled “Connect by signing in”Claude (claude.ai, the desktop and mobile apps and Claude Code) and ChatGPT connect by signing in to AnswerixAI: you add the URL, sign in and choose what the app may do. There is no key to copy, and you can disconnect the app at any time. On AnswerixAI Cloud this needs a paid plan (Plans and app sign-in). Settings → MCP & API Keys shows the URL under MCP endpoint.
Claude
Section titled “Claude”- Open Settings → Connectors and choose Add custom connector
- Name it Answerix and enter
https://app.answerixai.com/api/mcpas the URL, with no key or request header - When you connect it, Claude opens AnswerixAI: sign in, then click Allow
On Team and Enterprise plans, an owner adds the connector under Organization settings → Connectors first.
In Claude Code, add the server without a header, then run /mcp, pick
answerix and sign in in the browser:
claude mcp add --transport http answerix https://app.answerixai.com/api/mcpChatGPT
Section titled “ChatGPT”Add https://app.answerixai.com/api/mcp to ChatGPT as a custom connector; if
ChatGPT asks how it authenticates, choose OAuth. ChatGPT then opens AnswerixAI’s
sign-in and the consent page. Which ChatGPT plans and workspaces may add a
custom connector is ChatGPT’s setting, not AnswerixAI’s.
Other apps that sign in
Section titled “Other apps that sign in”Any client that supports the MCP authorization spec (2025-11-25), such as MCP Inspector, can sign in the same way: point it at the URL with no header. App sign-in (OAuth) has the details.
The consent page
Section titled “The consent page”After signing in, AnswerixAI shows what the person is connecting before anything is shared:
- the app, and the site it sends them back to (You’ll go back to claude.ai). Claude and ChatGPT are Recognised apps. Any other app is Not checked by AnswerixAI, with a warning to allow it only if the person started the connection, and one more when it runs on their own computer;
- who they are signed in as, their workspace and plan, their role and their brands;
- what the app will be able to do: Read your AnswerixAI data, always, and
Make changes you ask for, ticked by default. Unticked, the app only reads
(
mcp:read); ticked, it may also call the tools marked writes (mcp:write).
Allow sends the person back to the app, connected; Cancel sends it
access_denied. AnswerixAI asks every time an app connects. In the free trial or
on an ended plan, the page says why the app can’t connect instead of offering
Allow.
Generate an API key
Section titled “Generate an API key”- Open your AnswerixAI dashboard → Settings → MCP & API Keys
- Click New key, give it a memorable name (e.g. Claude — laptop)
- Copy the token. It’s shown once — store it in your password manager
The dialog that shows the key also has a ready-to-paste setup for each client below, with the key filled in. The snippets on this page read the key from an environment variable instead, so it stays out of your config files:
export ANSWERIX_TOKEN=ans_...Every client that uses a key connects to the same URL with the same header:
Authorization: Bearer <your key>.
Connect your client with a key
Section titled “Connect your client with a key”Claude Code
Section titled “Claude Code”claude mcp add --transport http answerix https://app.answerixai.com/api/mcp \ --header "Authorization: Bearer ${ANSWERIX_TOKEN}"Claude Desktop
Section titled “Claude Desktop”Claude Desktop adds remote servers as custom connectors. The
claude_desktop_config.json file only starts local servers, so a url entry
there is ignored. Claude can also sign in instead of taking a key.
- Open Settings → Connectors and choose Add custom connector
- Name it Answerix and enter
https://app.answerixai.com/api/mcpas the URL - Under authentication choose No sign in
- Under Request headers, add
Authorizationwith the valueBearer ans_...
On Team and Enterprise plans, an owner adds the connector under Organization settings → Connectors first.
Codex CLI
Section titled “Codex CLI”codex mcp add answerix --url https://app.answerixai.com/api/mcp \ --bearer-token-env-var ANSWERIX_TOKENOr add it to ~/.codex/config.toml:
[mcp_servers.answerix]url = "https://app.answerixai.com/api/mcp"bearer_token_env_var = "ANSWERIX_TOKEN"Cursor
Section titled “Cursor”Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project):
{ "mcpServers": { "answerix": { "url": "https://app.answerixai.com/api/mcp", "headers": { "Authorization": "Bearer ${env:ANSWERIX_TOKEN}" } } }}VS Code
Section titled “VS Code”Add to .vscode/mcp.json, or run MCP: Open User Configuration from the
Command Palette to add it for every workspace. VS Code asks for the key the
first time it connects:
{ "inputs": [ { "type": "promptString", "id": "answerix-token", "description": "AnswerixAI API key", "password": true } ], "servers": { "answerix": { "type": "http", "url": "https://app.answerixai.com/api/mcp", "headers": { "Authorization": "Bearer ${input:answerix-token}" } } }}Windsurf
Section titled “Windsurf”In the Cascade panel, open … → Open MCP config file and add:
{ "mcpServers": { "answerix": { "serverUrl": "https://app.answerixai.com/api/mcp", "headers": { "Authorization": "Bearer ${env:ANSWERIX_TOKEN}" } } }}Gemini CLI
Section titled “Gemini CLI”gemini mcp add --scope user --transport http \ --header 'Authorization: Bearer $ANSWERIX_TOKEN' \ answerix https://app.answerixai.com/api/mcpThis writes the server to your user settings, ~/.gemini/settings.json, as
"url" with "type": "http". Keep --scope user: without it, Gemini CLI
writes to the current folder’s .gemini/settings.json, which can end up
committed. The single quotes keep $ANSWERIX_TOKEN as written, so the file
holds the variable, not the key: Gemini CLI reads it from your environment
each time it starts. If you edit the file by hand, write it the same way.
With app sign-in on, Gemini CLI can sign in instead
of taking a key: add the server without --header, then run
/mcp auth answerix in Gemini CLI and sign in to AnswerixAI in the browser. It
registers itself and comes back to localhost, so the consent page shows it
as Not checked by AnswerixAI, running on your computer.
Hermes Agent
Section titled “Hermes Agent”Add to ~/.hermes/config.yaml. Hermes reads ANSWERIX_TOKEN from your
environment or from ~/.hermes/.env:
mcp_servers: answerix: url: "https://app.answerixai.com/api/mcp" headers: Authorization: "Bearer ${ANSWERIX_TOKEN}"OpenClaw
Section titled “OpenClaw”Add to ~/.openclaw/openclaw.json:
{ "mcp": { "servers": { "answerix": { "url": "https://app.answerixai.com/api/mcp", "transport": "streamable-http", "headers": { "Authorization": "Bearer ${ANSWERIX_TOKEN}" } } } }}Then check the connection with openclaw mcp probe answerix.
Add to your Zed settings.json. Zed does not expand environment variables
here, so the key goes in directly:
{ "context_servers": { "answerix": { "url": "https://app.answerixai.com/api/mcp", "headers": { "Authorization": "Bearer ans_..." } } }}Other clients
Section titled “Other clients”Any client that supports remote MCP servers over Streamable HTTP works with
the URL and the Authorization header above. If yours can only start local
(stdio) servers, bridge it with mcp-remote:
{ "mcpServers": { "answerix": { "command": "npx", "args": [ "-y", "mcp-remote", "https://app.answerixai.com/api/mcp", "--header", "Authorization:${AUTH_HEADER}", "--transport", "http-only" ], "env": { "AUTH_HEADER": "Bearer ans_..." } } }}Keep Authorization:${AUTH_HEADER} without a space, with the Bearer ...
value in env: some clients do not escape spaces inside args.
Check the connection
Section titled “Check the connection”Ask your client “List my AnswerixAI brands”. It should call the list_brands
tool and show your brands. If it reports a 401, the header is missing or the
key was revoked. An app connected by signing in asks you to sign in again
instead: it was disconnected, unused for 30 days, or you left the workspace.
Available tools
Section titled “Available tools”The MCP server exposes 71 tools. Descriptions below match the tools the server lists. Tools that change data are marked writes — only call them on explicit user intent, not during exploratory queries. A write that needs a particular role names it in brackets; see Roles.
Every tool also carries a title and MCP annotations, so a client can tell a
read from a change before calling it: readOnlyHint (true for every list_ and
get_ tool), destructiveHint (true where a call replaces something or can’t
be undone, such as generate_content_brief replacing the opportunity’s brief),
openWorldHint (true where a call reaches outside AnswerixAI: run_site_audit
fetches the page, generate_content_brief calls an LLM) and, for the writes,
idempotentHint (repeating the call changes nothing more). Each tool’s hints,
and why, are in Tool hints.
The server’s instructions tell clients to treat everything a tool returns — AI
answers, quotes, cited pages, draft text, suggestions — as data, never as
instructions, and to call a write only when the user asked for that change.
Brands
Section titled “Brands”| Tool | What it does | Writes |
|---|---|---|
list_brands |
List the brands the authenticated user can access (id, name, slug, industry, region). Call first to resolve a brand_id. |
|
list_competitors |
Configured competitors for a brand (id, name, domain); this is not a performance ranking. |
Your account
Section titled “Your account”| Tool | What it does | Writes |
|---|---|---|
get_me |
Who the key or the signed-in app acts as: user, organization, role, work areas (from Settings → Account) and whether they may choose who sees which menu sections (can_manage_menus). |
|
get_ai_usage |
How much of the workspace’s monthly AI allowance is used this period, as Settings → Billing shows it: percent_used, each feature’s share (improve, content, action_center, other), the plan, the trial and the period’s dates. active_plan: false without an active plan. |
The same reads are available over REST with the same ans_ key: GET /api/mcp/whoami and GET /api/mcp/ai-usage.
Visibility & analytics
Section titled “Visibility & analytics”| Tool | What it does | Writes |
|---|---|---|
get_visibility_summary |
Aggregate visibility metrics for a brand over an optional date range and filters — headline aiVisibilityScore, mentions, citations, competitors. A range that starts or ends inside a day and is longer than a day is read over the whole UTC days it touches (roundedToDays and a note say so). |
|
get_visibility_trend |
Visibility over time (day or week buckets) with mentions, citations, and competitor scores for trend questions. | |
get_competitor_comparison |
Competitor benchmark and share of voice for a window, comparable visibility rates and per-model/platform splits. | |
list_citations |
URLs and domains AI engines cite alongside a brand, by source type, with top domains/URLs and usage stats. With domains (such as example.com or https://www.example.com/, each with its subdomains and most cited pages) or urls (up to 10 each) it reads those instead, in every source type, with the prompts whose answers cite each, and lists those not cited in the window in not_found. |
|
get_ai_traffic |
AI-referral traffic (visits by engine, landing pages, countries) for an optional date range. tracking says whether the tracking snippet is installed: not_detected (not seen on the brand’s site, so 0 visits means nothing is measured yet), installed_quiet (installed, no AI visit in the last 7 days) or active. |
|
get_prompt_performance |
Per-prompt performance (visibility, mentions, citations, appearances) over a date range for ranking prompts. With prompt_ids (up to 10) it reads those prompts only, whatever their topic and never cut by limit; a tracked prompt with no answers in the window is in no_results, an id the brand doesn’t have in not_found. |
Customers and revenue from AI
Section titled “Customers and revenue from AI”Which pages and AI assistants bring customers, sign-ups, orders and revenue, as AI Traffic and Brand settings › Tracking show it, through the same reads as AnswerixAI’s Chat. Read get_tracking_setup first. When a source isn’t set up, a read says measured: false with next_step and where (a link to the app page it is done on), and gives no figure for it. Revenue is per currency, never added across currencies. The periods are date_from / date_to; the lists come a page at a time (limit, default and at most 50, and offset), with total, next_offset and a note.
| Tool | What it does | Writes |
|---|---|---|
get_tracking_setup |
What the brand has set up to measure customers from AI visits: the tracking snippet, conversions from AI visits and their consent mode, whether conversions arrive (forms, conversion calls, the Shopify pixel), orders with a value, Google Analytics and HubSpot, each with its state and, when missing, next_step and where. |
|
get_ai_conversions |
Conversions from AI visits the tracking snippet counted: by type (sign-up, demo, order, booking, newsletter, custom), revenue per currency, by the assistant that first sent the visitor, by the site’s labels and by landing page (first touch, within 30 days). Paged by landing page. | |
get_ai_converting_pages |
Where AI visitors convert, from Google Analytics: the top converting pages from AI with their AI visits, key events, revenue (in the property’s own currency), rate (from 30 AI visits) and best assistant, and on the first page which topics’ answers bring buyers. A period with under 30 AI visits reads the last 30 days, as the page does. | |
get_ai_pipeline |
The AI-sourced pipeline from HubSpot: contacts, deals, won revenue and open pipeline from AI visits against the period before, by assistant and by landing page, in the HubSpot account’s currency; HubSpot’s own AI Referrals apart. Needs CRM integrations (Growth and above), as on the page: on another plan it answers plan_limit. |
|
list_ai_visits |
The AI visit log, newest first: when, landing page, assistant, country, language, pageviews and referrer; assistant (such as chatgpt.com) and search (text in the page’s address) narrow it. |
|
get_prompt_conversions |
Tracked prompts whose answers cite the brand’s pages that converted, with those pages’ conversions and revenue per currency. Always with its label: an association, not measured attribution, since AI assistants don’t pass the question. Never read it as a prompt bringing a sale. |
Saved reports
Section titled “Saved reports”| Tool | What it does | Writes |
|---|---|---|
list_reports |
Saved report snapshots for a brand, newest first; returns metadata without the full payload (default 50, max 100 per call). With search (words of the title, in any order) or ids (up to 10) it reads those reports instead, and lists what it didn’t find in not_found; a search pages by offset, 50 at a time. |
|
get_report |
Full immutable snapshot for one saved report, including its stored payload; does not regenerate it. |
Mentions & sentiment
Section titled “Mentions & sentiment”Visibility’s Mentions tab figures, under the tab’s filters: date_from / date_to (the last 30 days when left out), platform, region, topic_id and search over the prompts’ text. They are built from the stored answers with no LLM call. Net sentiment runs from −100 to +100, and under 20 mentions a figure is marked lowSample, with no change read into it. Sentiment is measured for your brand only.
| Tool | What it does | Writes |
|---|---|---|
get_mentions_summary |
The Overview: times named (the page’s Total mentions), mentions, mention rate, prompts with mentions, average position and sentiment, now and in the window before, with each change taken on the prompts both windows answered (changes.basis), as the page’s cards; the platform that moved net sentiment most, each platform and each day. |
|
list_mentions |
The responses naming the brand, 100 a page, with sentiment, position, competitors in the same response and an excerpt; filter by sentiment or competitor_id (none for no competitor) and sort. |
|
get_mention |
One response in full: text, citations, competitors named, sentiment and its latest correction. | |
get_mention_competitors |
How often AI names each competitor in the brand’s responses, and how often in the same response as the brand. | |
get_mentions_perception |
What AI associates with the brand: its terms, the attributes that set it apart from its top competitors, co-mentions and the biggest gap. | |
override_mention_sentiment |
“Sentiment is wrong”: correct one response’s sentiment, with an optional note. The user the key or the app sign-in acts as must be an admin or manager. | yes (admin, manager) |
The same reads are available over REST with the same ans_ key: GET /api/mcp/mentions/summary, /api/mcp/mentions, /api/mcp/mentions/<id>, /api/mcp/mentions/competitors and /api/mcp/mentions/perception, with the filters as query parameters. A correction is POST /api/mcp/mentions/<id>/sentiment-override with { "sentiment": "negative", "note": "…" }.
curl "https://app.answerixai.com/api/mcp/mentions/summary?brand_id=<brand_id>&platform=gemini-web" \ -H "Authorization: Bearer ans_..."Topics & prompts
Section titled “Topics & prompts”| Tool | What it does | Writes |
|---|---|---|
list_topics |
Topics on a brand with prompt counts — for coverage audits before drilling into prompts. | |
list_prompts |
Tracked prompts with text, topic, platforms, models, regions, and active flag; filter by topic or active/inactive (is_active). With search (words of the prompt, in any order and case) or ids (up to 10) it reads those prompts instead, in every topic, active and paused, and lists what it didn’t find in not_found; a search pages by offset, 50 at a time. |
|
list_topic_suggestions |
Pending AI-generated topic suggestions awaiting accept or dismiss. | |
accept_topic_suggestion |
Accept one pending suggestion: creates a topic and marks the suggestion added. | yes (admin, manager) |
dismiss_topic_suggestion |
Dismiss one pending suggestion so it does not reappear in future batches. | yes (admin, manager) |
list_prompt_suggestions |
Pending AI-generated prompt suggestions with source details, expiry and a stale flag. Does not generate new suggestions. | |
accept_prompt_suggestion |
Create a tracked prompt from one pending suggestion using the brand’s default engines and plan/location checks. | yes (admin, manager) |
dismiss_prompt_suggestion |
Dismiss one pending prompt suggestion so it no longer appears in future lists. | yes (admin, manager, analyst) |
get_prompt_volumes |
Per-prompt Google and estimated AI search demand and competition for prompts that already have analysis, with measured_demand: the real signs people ask it (Search Console, Google Trends, People Also Ask, YouTube) and their level, or null until any was read. |
|
get_prompt_locations |
Each tracked prompt in each location side by side, as the Locations view shows it: AI Visibility Score, mentions, citations, average position and runs per prompt and country, US state or city, with each location’s averages and the view’s cards (weakest and strongest location, the prompt that differs most). Up to 12 locations (codes it can’t compare come back in ignored_locations); paged by prompt, limit up to 100. REST: GET /api/mcp/prompt-locations?brand_id=<brand_id>&locations=US,DE. |
|
get_prompt_usage |
Tracked-prompt usage against the plan: the brand’s active and paused prompts, and the account’s active prompts, brands, prompt locations used and location limit. |
Content opportunities
Section titled “Content opportunities”| Tool | What it does | Writes |
|---|---|---|
list_content_opportunities |
Content gaps ranked by opportunity score — where the brand is losing visibility. With search (words of the title, in any order) or ids (up to 10) it reads those opportunities instead, in every status, archived included, and lists what it didn’t find in not_found; a search pages by offset, 50 at a time. |
|
get_content_plan |
The Content plan, as Content → Plan ranks it by the Priority Score: what to create, optimize or protect next, why, the score’s parts, the draft already being written and the rows marked a priority. Over 7, 30 or 90 days; optional card. |
|
get_content_opportunity |
Full details for one opportunity, including metrics, intent, competitors, and any existing brief. | |
generate_content_brief |
Generate or overwrite an AI content brief for an opportunity (LLM cost/latency). | yes (admin, manager) |
update_opportunity_status |
Move an opportunity through workflow states (new, reviewed, sent, in_progress, done, dismissed). Dismissing one, or moving a dismissed one back, needs an admin or a manager. |
yes |
The plan is also available over REST with the same ans_ key: GET /api/mcp/content-plan?brand_id=<brand_id>&days=30, with card as an optional query parameter.
Content Editor
Section titled “Content Editor”Drafts are read and written as a person would in the editor. AnswerixAI never puts a page on your site, and a suggestion isn’t applied until a person accepts it. None of these tools calls an LLM: the assistant writes the drafts and suggestions itself.
The MCP never sends a page to a CMS: AnswerixAI’s own Send to CMS stays in the product. To publish from your assistant, read the draft with get_content_draft_package (the page as Send to CMS would send it), put it on your CMS with the assistant’s own CMS connector, then call mark_content_draft_published with the address it went live at, so AnswerixAI measures it. Over REST: GET /api/mcp/content-drafts/<id>/package, then POST /api/mcp/content-drafts/<id>/published with { "url": "…" }.
| Tool | What it does | Writes |
|---|---|---|
list_content_drafts |
The brand’s drafts, latest changed first (up to 100), with status, method (create or optimize), author, open suggestions and the editor path; filter by status. Each says where it was last sent (last_send: status, target, when, the error, where it went live) and whether its shopping links still sell (shopping_links). With search (words of the title, in any order) or ids (up to 10) it reads those drafts instead, in every status, archived ones included and marked, and lists what it didn’t find in not_found; a search pages by offset, 50 at a time. |
|
get_content_draft |
One draft: its HTML, its numbered passages (locked ones AI answers quote today), where and since when the page is live, its Action Center action, the open suggestions and the only pages a suggestion may link to; with last_send, shopping_links and, on an online shop’s page, its shopping_path (the category pages and products it should link). |
|
get_content_sources |
What the draft draws on over 30 days, as the Sources tab shows it: prompts, AI searches (fan-outs), cited pages, Search Console queries and the person’s choices. | |
get_content_impact |
What the draft’s live page earns (citations, AI visits, Google clicks, the prompts citing it) against the period before, as the Live page tab reads it. Only for a draft of a live page. | |
create_content_draft |
Write a new draft as the agent (create, or optimize a page on the brand’s domains); it goes to the Library’s In review. |
yes |
add_content_source |
Add a prompt, a cited page or a Search Console query to the draft’s sources. | yes |
suggest_content_changes |
Leave up to 20 suggestions (replace or insert, each with a reason) for a person to accept or reject. Refused on a published draft, while open suggestions wait, or while the Content Agent writes it. | yes |
get_content_draft_package |
A draft as a page ready for a CMS, exactly as Send to CMS would send it: title, slug, meta title and description, the HTML ready to paste (as Copy HTML gives it, with the byline line and no H1; HTML blocks are passed as written, scripts and iframes included, as Copy HTML and Send to CMS pass them), its JSON-LD, the author, the qualified reviewer (reviewer: name and credential, null when none; once the page’s text names them, the JSON-LD carries a WebPage with them as reviewedBy) and the featured image. AnswerixAI doesn’t send it: put it on your CMS with your assistant’s own CMS connector, then call mark_content_draft_published. A page that can’t go yet says why. |
|
mark_content_draft_published |
Mark a draft Published at the address it went live at, as the editor’s Mark published does, once your own CMS connector has put it there. AnswerixAI then measures that address, and a linked action’s Publish task completes once every page it names is live. | yes |
set_content_draft_ready |
Set a draft ready, as the editor’s Mark ready does, without its Before you publish check; a linked action’s writing task completes once every page it names has a ready draft. A draft in review waits for a person. | yes |
Site audit
Section titled “Site audit”| Tool | What it does | Writes |
|---|---|---|
get_site_audit_quota |
Monthly Site Audit allowance (used, running, limit, remaining) before starting a run. Audits still running are already taken out of remaining. |
|
list_site_audits |
Recent audits for a brand (id, url, status, score) to find a past run without the id. | |
run_site_audit |
Start an AEO/GEO page audit for a URL (consumes a monthly credit; poll get_site_audit for results). A page with an audit already running returns that audit (alreadyRunning: true) and uses no credit. A page audited in the last 10 minutes returns status recently_audited with that audit’s id and starts nothing; pass force: true to audit it again (uses a credit). Over REST: POST /api/mcp/site-audits with { "brand_id": "…", "url": "…", "force": true }, which answers 202 for a started or running audit and 200 for a recent one. |
yes |
get_site_audit |
Fetch one audit by id — status, scores, the score’s range (scoreRange: plusMinus, low, high and audits, or null before the page’s third complete audit), the page’s audit before it (previousScore and previousCreatedAt, null for a page audited once), whether it is partial, signals, and fix recommendations (read-only). |
Shopping
Section titled “Shopping”Shopping analytics comes with the Growth plan and above. On Starter, list_shopping_cards, get_product_visibility, get_shopping_shelf, get_shopping_readiness and get_product_ai_says answer plan_limit. The catalog tools read on: on Starter, list_catalog_products lists the products with their readiness, Merchant Center issues and AI visits, orders and revenue as null.
| Tool | What it does | Writes |
|---|---|---|
list_shopping_cards |
Shopping cards surfaced in AI commercial contexts; filter by role, platform, and region. | |
get_product_visibility |
Aggregate visibility for one product title across platforms, regions, and dates. | |
get_catalog_sources |
Where the product catalog is read from (feed URLs, uploads, or a Google Merchant Center account where the server offers it) and how each last sync went: status, error, what it read and its products in the catalog now. | |
list_catalog_products |
The live catalog products, by title, as Product Visibility reads them: price, stock, GTIN, readiness for AI shopping (score 0–100, the checks missing, and the unknown ones that can’t be made), Merchant Center issues by severity (each issue once per product), and the AI visits, orders and revenue (revenue_30d) their pages brought over 30 days. Optional search; paged with limit (max 200) and offset. |
|
get_shopping_shelf |
Product Visibility’s Shelf: for each shopping question and AI channel, the first 10 products the latest answer showed, in order (products_total counts them all), the brand’s best place on it (own_rank) and its last 7 days there; on a shelf the brand isn’t on, why_not_you names its catalog product the question asks for most, with its readiness. Optional period (7d, 30d, 90d, all), platform, market (us, europe), absent_only; paged with limit (default 10, max 50) and offset. |
|
get_shopping_readiness |
Product Visibility’s Readiness: the checklist scored 0–100, each check’s state (pass, warn, fail, unknown), its text as the page writes it and where its fix starts, and each AI channel’s state (showing, notShowing, notTracked). Optional period and market. |
|
get_product_ai_says |
What AI says about one catalog product: how many answers showed it, up to 5 quotes where they name it, and the pages they cited most. Optional period. |
The catalog is also available over REST: GET /api/mcp/catalog/sources?brand_id=<brand_id> and GET /api/mcp/catalog/products?brand_id=<brand_id>&search=<text>&limit=50&offset=0 (search optional).
The Shelf, Readiness and What AI says need a plan with Product Visibility (Growth, Business or Enterprise), as on the page, which a workspace whose trial or subscription ended still reads; on another plan they answer plan_limit, as list_shopping_cards does (REST: 403 with the same body). Over REST: GET /api/mcp/product-visibility/shelf?brand_id=<brand_id>&period=30d&platform=<id>&market=us&absent_only=true&limit=10&offset=0, GET /api/mcp/product-visibility/readiness?brand_id=<brand_id>&period=30d&market=us and GET /api/mcp/product-visibility/ai-says?brand_id=<brand_id>&product_id=<product_id>&period=30d (all but the IDs optional).
Action Center
Section titled “Action Center”| Tool | What it does | Writes |
|---|---|---|
list_actions |
Recommended actions for a brand with priority (0–100 score, level and reasons), status, impact, assignee, due date, and task progress. Highest priority first; sort: "updated" lists the most recently updated first. With codes (up to 10, such as AC-12, AC 12 or #12) it reads those actions instead, in any status, each with whether the code is its code or its previous code, and lists the codes the brand doesn’t have in not_found (codes are per brand). |
|
get_action |
One action in full: priority, payload, affected (its prompts by id and text, pages, competitors and topics, as the Affected tab lists them), triggering signals, tasks (mode, permission), event trail, and once closed net_of_control and dismiss_reason. format: "markdown" or "csv" returns it as the dashboard’s Copy Data and Export CSV write it instead. |
|
list_signals |
Detected changes (visibility, citations, traffic), each with where (prompt, topic, platforms, locations, domain, competitor), change (labelled figures with unit and period), evidence (detection dates, app links) and used_by_actions. With codes (up to 10, such as S-07, S 7 or #7) or ids it reads those signals instead, in every status and date, and lists the codes the brand doesn’t have in not_found (codes are per brand). |
|
list_action_history |
Closed actions with measured outcomes and before/after validation results, each with net_of_control (its change net of the brand’s prompts it didn’t touch, so a market-wide swing doesn’t read as its effect) and dismiss_reason (not_relevant, already_done, wrong_data or not_now). |
|
get_action_scorecard |
What each kind of action did at the brand, as the History tab’s scorecard shows it: completed and their results, success_rate (from three verdicts), median_change_percent, and dismissals by reason. Optional date_from. |
|
update_task_status |
Record progress on a task (in_progress, completed, skipped, failed); does not execute the task. |
yes |
list_task_reviews |
Tasks waiting for review, as the Needs review tab shows them: tasks an AI writer gave without the exact page, the change, Done when or how it is checked, each with missing (the fields to fill). Admins and managers only. |
|
approve_task_review |
Approve one onto its action’s task list, as the tab’s Approve does: the fields given (url, change, done_when, check, and optionally title, where, why, how) replace what was written, and all four must be filled. |
yes (admin, manager) |
dismiss_task_review |
Dismiss one, as the tab’s Dismiss does: it never reaches its action. | yes (admin, manager) |
create_improve_action |
Send a prompt’s Improve suggestions to Action Center as a prompt_improve action (needs a generated suggestion set for the range and a plan with Improve; idempotent on idempotency_key). |
yes (admin, manager) |
The scorecard is also available over REST: GET /api/mcp/action-scorecard?brand_id=<brand_id>&date_from=2026-09-01.
The review queue is also available over REST: GET /api/mcp/task-reviews?brand_id=<brand_id>, and POST /api/mcp/task-reviews/<id>/approve (the fields as JSON) or /dismiss.
Export an action
Section titled “Export an action”get_action takes an optional format:
json(default): the fields above.markdown: everything the action’s tabs show, ready to paste into a doc, a ticket or another agent. This is the same text as Copy Data in the dashboard.csv: a row per affected item, task and signal, with asectioncolumn. This is the same file as Export CSV.
Labels are in English and dates in UTC. The same export is available over REST with the same ans_ key. The CSV comes as a download (action-AC-52.csv) that Excel opens as UTF-8.
curl "https://app.answerixai.com/api/mcp/actions/<action_id>?format=markdown" \ -H "Authorization: Bearer ans_..."Tool hints
Section titled “Tool hints”Every list_ and get_ tool is readOnlyHint: true, destructiveHint: false
and openWorldHint: false: it reads what AnswerixAI already stores and changes
nothing. None of them fetches a page or calls an LLM.
The writes, each with its hints and the reason for them. Destructive is
destructiveHint, Repeatable idempotentHint, Outside AnswerixAI
openWorldHint.
| Tool | Destructive | Repeatable | Outside AnswerixAI | Why |
|---|---|---|---|---|
accept_topic_suggestion |
no | yes | no | Adds one topic and marks the suggestion added. Accepting it again is refused, so no second topic is made. |
dismiss_topic_suggestion |
yes | yes | no | A dismissed suggestion can’t be brought back and never returns in later batches. Dismissing it again changes nothing. |
accept_prompt_suggestion |
no | yes | no | Adds one tracked prompt, which uses a prompt location of the plan. Accepting it again makes no duplicate. |
dismiss_prompt_suggestion |
yes | yes | no | A dismissed suggestion can’t be brought back. Dismissing it again changes nothing. |
generate_content_brief |
yes | no | yes | Replaces the opportunity’s brief with a new one an LLM writes. Every call writes a new brief and uses AI budget. |
run_site_audit |
no | no | yes | Adds a new audit and fetches the page from the web. A call can start another audit and use another credit. |
update_opportunity_status |
no | yes | no | Sets a status the same tool can set back. Setting the same status again changes nothing. |
update_task_status |
no | yes | no | Records a task’s progress, which the same tool can change again. Nothing is carried out. |
create_improve_action |
no | yes | no | Adds one action from Improve suggestions already made, with no LLM call. The same idempotency_key returns the first action. |
override_mention_sentiment |
no | yes | no | Sets a response’s sentiment and keeps the correction history; another correction can change it again. |
create_content_draft |
no | no | no | Adds a new draft for a person to review. Each call adds another draft. |
add_content_source |
no | yes | no | Adds a source to a draft. Adding the same source again keeps one. |
suggest_content_changes |
no | no | no | Leaves suggestions a person accepts or rejects. The draft’s text doesn’t change. Each call leaves new ones. |
set_content_draft_ready |
no | yes | no | Marks a draft ready. History keeps the page as a version. |
mark_content_draft_published |
no | yes | no | Records the address a page went live at. Marking it again at a new address moves it. |
approve_task_review |
no | no | no | Adds the reviewed task to its action’s task list. |
dismiss_task_review |
yes | yes | no | A dismissed review never reaches its action and can’t be brought back. |
New tools may ship between releases; the server always lists the current set.
Try it
Section titled “Try it”Ask your client things like:
- “List my AnswerixAI brands.”
- “What’s my visibility score on ChatGPT for the last 7 days?”
- “Are my topics balanced?” / “Which topic has the most prompts?”
- “Show me the prompts in my pricing topic.”
- “Who are my top 5 competitors by mention count this month?”
- “Why did our sentiment drop on Gemini?”
The model picks the right tool, fills in the brand id and filters, and answers in plain English using the returned data.
A key acts as the person who created it, and an app connected by signing in
acts as the person who allowed it, with their role in the organization and
their brand access, read again on every request. get_me returns it.
Day-to-day work is open to every role: reading, drafts and suggestions in the
Content Editor, Site Audits, task progress and an opportunity’s progress.
Adding prompts or topics, reviewing tasks, dismissing, and work that costs AI
(briefs and Improve actions) are for admins and managers. Dismissing a prompt
suggestion is open to analysts too. The tools marked with roles above refuse
anyone else before they change anything. The call fails with text like this:
Only an admin or a manager can do this. This connection acts as an analyst: ask an admin or a manager of the organization to do it.The REST routes under /api/mcp/… answer the same refusal with 403:
{ "error": "forbidden", "code": "role_required", "message": "Only an admin or a manager can do this. …" }When the plan has ended
Section titled “When the plan has ended”On AnswerixAI Cloud, a workspace without an active plan is read-only (see What happens when my plan ends?). Its API keys keep working for reading:
-
list_andget_tools run as usual. -
Every other tool (each one marked writes above) is refused before it runs. The call fails with this text:
{"error": "plan_limit","code": "subscription_inactive","message": "This workspace's plan isn't active (its free trial ended or it was canceled), so it is read-only: reading still works, but nothing can be changed, run or generated until an admin chooses a plan in Settings › Billing."} -
The REST routes under
/api/mcp/…answer aPOST,PUT,PATCHorDELETEwith402and the same body.
Retrying doesn’t help: an admin has to choose a plan first. New API keys
can still be created; on a read-only workspace they only read. Apps connected
by signing in can’t read either until then: every tool answers
oauth_plan_required (Plans and app sign-in).
Reading and writing per plan
Section titled “Reading and writing per plan”On AnswerixAI Cloud, every plan reads over MCP and the REST routes, the free trial included. Writing, running and spending (each tool marked writes above) need the Growth plan or above, paid: on Starter and in the free trial those tools stay listed, so the assistant can tell the user why, but every call is refused before it runs with this text:
{ "error": "plan_limit", "code": "plan_required", "required_plan": "growth", "message": "On Starter and in the free trial, AnswerixAI's MCP tools and API can read. Changes, runs and anything that uses credits need the Growth plan or above: an admin can upgrade in Settings › Billing."}The REST routes answer a POST, PUT, PATCH or DELETE with 402 and
the same body. The rule is the same for every client (Claude, ChatGPT,
Cursor and the others), with a key or signed in. The demo brand’s refusal
comes first, then a plan that has ended (subscription_inactive), then this
one. Apps connected by signing in
also need a paid plan to connect at all: see
Plans and app sign-in.
Revoking access
Section titled “Revoking access”If a key leaks or you stop using a client, open Settings → MCP & API Keys and click the trash icon. Clients using that key lose access immediately.
To end an app connected by signing in, open Connected apps on the same page and click Disconnect. See Disconnect and revoke.
App sign-in (OAuth)
Section titled “App sign-in (OAuth)”AnswerixAI is its own OAuth 2.1 authorization server for the MCP endpoint,
following the
MCP authorization spec
(2025-11-25). Its tokens are good for /api/mcp alone: the REST routes under
/api/mcp/… and the Metrics API take API keys only.
Discovery
Section titled “Discovery”A request to /api/mcp without a token AnswerixAI takes answers 401 with a
challenge that names the metadata and the scopes to ask for (and
error="invalid_token" for a token it can’t take):
WWW-Authenticate: Bearer error_description="Missing or malformed API key", resource_metadata="https://app.answerixai.com/.well-known/oauth-protected-resource/api/mcp", scope="mcp:read mcp:write"The JSON body is the same as before, { "error": "…" }, so clients that use
a key read it as they always did.
| Document | Address |
|---|---|
| Protected resource metadata (RFC 9728) | /.well-known/oauth-protected-resource/api/mcp, and /.well-known/oauth-protected-resource |
| Authorization server metadata (RFC 8414) | /.well-known/oauth-authorization-server |
The resource is https://app.answerixai.com/api/mcp and the issuer
https://app.answerixai.com. Both
documents allow any origin (CORS) and may be cached for 5 minutes.
Endpoints
Section titled “Endpoints”| Endpoint | What it does |
|---|---|
GET /api/oauth/authorize |
Starts a connection: AnswerixAI’s sign-in if needed, then the consent page. |
POST /api/oauth/token |
The authorization_code and refresh_token grants, form-encoded (application/x-www-form-urlencoded). Answers Cache-Control: no-store. |
POST /api/oauth/register |
Dynamic client registration (RFC 7591), JSON. |
POST /api/oauth/revoke |
Token revocation (RFC 7009), form-encoded. |
- PKCE with
S256on every authorization;plainor no challenge is refused. resource(RFC 8707) may be left out. When sent, it must be the MCP URL (scheme and host in any case, no trailing slash), or the answer isinvalid_target.- The authorization response carries
code,stateandiss(RFC 9207). - Client authentication:
none(a public client, with PKCE alone),client_secret_postorclient_secret_basic. - Redirect URIs:
https://…, orhttp://on127.0.0.1,[::1]orlocalhost. No fragment, credentials or wildcard, 2,000 characters at most, matched exactly, except that a loopback address matches on any port (RFC 8252), as desktop apps such as Claude Code pick a port each time. Custom schemes (myapp://…) are refused: those apps use an API key. - Until the client and its redirect URI check out, an error shows on AnswerixAI’s own page and is never sent to the address the request names.
- Rate limits: the token endpoint takes 120 requests a minute per client
and 600 per address. Over a limit, the answer is
429withRetry-Afterandtemporarily_unavailable.
Registering a client
Section titled “Registering a client”An app identifies itself in one of two ways, as the MCP spec has them:
- Client ID Metadata Documents (preferred; the metadata says
client_id_metadata_document_supported: true). Theclient_idis anhttpsURL with a path that serves the app’s metadata as JSON, such as Claude Code’shttps://claude.ai/oauth/claude-code-client-metadata. Its host must be a name on the standard port: a URL with an IP address as its host is refused. AnswerixAI fetches the document only when every address the name resolves to is public, follows no redirects, gives up after 5 seconds for the whole fetch however slowly it arrives, and refuses an answer over 10 KB or one that isn’t JSON. The document’sclient_idmust equal its URL exactly, the redirect URI must be one it lists, and it must be a public client (token_endpoint_auth_method: "none", PKCE alone). It is cached by itsCache-Control, for 5 minutes to a day (an hour when it sets none). The consent page names the app by the URL’s host, not by the name the document gives. - Dynamic client registration (RFC 7591):
POST /api/oauth/registerwith JSON:redirect_uris(1 to 5), an optionalclient_name(shown as the app’s own words, up to 100 characters) andtoken_endpoint_auth_method(nonewhen left out;client_secret_postorclient_secret_basicget aclient_secret, returned once). It answers201with theclient_id. Registration is limited to 30 clients an hour per address and 2,000 a day in all, and a client nobody connects within a day is removed. The MCP spec of 2026-07-28 deprecates dynamic registration in favour of metadata documents; it stays for the clients that don’t have one.
Scopes
Section titled “Scopes”| Scope | Lets the app |
|---|---|
mcp:read |
Call every list_ and get_ tool. Always granted. |
mcp:write |
Call every other tool (each one marked writes above). Granted while Make changes you ask for stays ticked on the consent page. |
An app that asks for neither, or only for scopes AnswerixAI doesn’t use (such
as offline_access), is offered both; the person can still untick changes.
Scopes only narrow what the app may do: the person’s role, brand access and
plan decide the rest. A write on a connection that only reads answers HTTP
403 before the tool runs, and Claude then offers to connect again with more
access:
WWW-Authenticate: Bearer error="insufficient_scope", error_description="This connection can only read. Connect again and allow changes to let it make the change.", resource_metadata="https://app.answerixai.com/.well-known/oauth-protected-resource/api/mcp", scope="mcp:read mcp:write"Token lifetimes
Section titled “Token lifetimes”| Piece | Lives |
|---|---|
| A pending authorization (the consent page’s link) | 10 minutes |
| Authorization code | 5 minutes, used once. A second use ends the connection. |
Access token (ans_oat_…) |
1 hour (expires_in: 3600) |
Refresh token (ans_ort_…) |
30 days. It rotates on every use: the old one stops working in the same response. |
So a connection used at least once every 30 days stays connected, and one
unused for 30 days ends. A rotated refresh token sent again within 30 seconds
(two refreshes racing) gets invalid_grant; later, it ends the whole
connection, as a stolen token would. Every token is stored hashed and checked
against the database on every request, so a disconnect counts at once.
A connection acts as the person who allowed it, in their workspace, with
their role and brand access read again on every request, as an API key does.
If the person leaves the workspace, the next request ends the connection and
answers 401.
Plans and app sign-in
Section titled “Plans and app sign-in”On AnswerixAI Cloud, apps connect by signing in on every paid plan, and not in the free trial or on an ended plan. API keys are unchanged: they read in the trial and on an ended plan.
| Plan | Over app sign-in |
|---|---|
| Free trial | Can’t connect: the consent page says it needs a paid plan, with Choose a plan for an admin. |
| Starter | Reads. Writes answer plan_required, as for a key (Reading and writing per plan). |
| Growth, Enterprise | Reads and writes, within the role and the scopes. |
| Plan ended | Connected apps stay connected and can still refresh their tokens, but every tool, reads too, answers a tool error until an admin chooses a plan. |
The ended plan’s tool error, so the assistant can tell the person why:
{ "error": "plan_limit", "code": "oauth_plan_required", "message": "Apps connect to AnswerixAI by sign-in on paid plans, and this workspace's plan isn't active. An admin can choose a plan in Settings › Billing, and this connection works again as soon as they do. Until then, an API key from Settings › MCP & API Keys can read."}It is a tool error and not a 401, which would only send the person through
sign-in again.
Disconnect and revoke
Section titled “Disconnect and revoke”- The person: Settings → MCP & API Keys → Connected apps lists the
apps they connected, each with its access (Read only or Read and
changes), when it was connected and last used, and Disconnect. That
ends the connection and every token it has at once; the app’s next call gets
401and asks them to connect again. Each person sees and disconnects only their own apps, as with keys, and can on a read-only workspace too. - The app:
POST /api/oauth/revokewithtoken(an access or a refresh token) andclient_id(and its secret, for a confidential client), form-encoded. Revoking any of a connection’s tokens ends the whole connection. The answer is200for an unknown token too. - On its own: after 30 days unused, when the person leaves the workspace, or when their account is deleted.
Transport
Section titled “Transport”The server speaks the MCP Streamable HTTP transport in stateless mode — every request is self-contained, no session state is kept between calls. This makes it work cleanly behind any HTTP load balancer and on serverless runtimes.