Why we built Miravi: so AI recommends you for what makes you different.Read it →

Miravi MCP

Your coding agent connects to Miravi over MCP: it reads what AI agents conclude about your site, can set Miravi up for you, and applies Miravi’s fixes in your repo.

The server

  • Address: https://api.getmiravi.com/mcp
  • Transport: Streamable HTTP, stateless. Requests are POST.
  • Sign in: a Miravi key, sent as Authorization: Bearer <key>, or OAuth 2.1 with PKCE for clients that sign in, such as ChatGPT’s connectors.
  • Same rules as the app: every tool runs the app’s own route as you, under the same roles, limits and spend rule.

Connect your agent

Make a key in the app (Set up, then API keys), then add the server. In Claude Code, from your project folder:

claude mcp add --transport http miravi https://api.getmiravi.com/mcp \
  --header "Authorization: Bearer <your key>"

In Codex, with the key in the MIRAVI_KEY environment variable:

codex mcp add miravi --url https://api.getmiravi.com/mcp \
  --bearer-token-env-var MIRAVI_KEY
  • Cursor: the app’s “Add to Cursor” button, or ~/.cursor/mcp.json with the url and the header.
  • VS Code: the app’s “Add to VS Code” button, which asks for the key, or .vscode/mcp.json.
  • Windsurf: paste the address in Settings, Cascade, MCP servers, with the header.
  • ChatGPT: no key. In Settings, Apps and Connectors (Developer mode on), create a connector with the address and OAuth, then sign in to Miravi, pick the workspace and allow.
  • Any other client that speaks MCP over HTTP and can send an Authorization header.

Three ways to sign in

  • Signed in app (OAuth): you allow it on Miravi’s own page and pick one workspace. ChatGPT, Claude and tools on your computer can do what the setup agent key does, below; any other app can only read. Revoke it in Set up, API keys.
  • Connector key (starts mvk_): read only. An Owner or Admin makes it in the app, it is shown once, it does not expire, and you can revoke it at any time. Up to 5 per person.
  • Setup agent key (starts mva_): made only when you choose “Continue with your agent” during setup. It works only on MCP, and it ends when you revoke it, change your password or leave the workspace, or after 30 days unused.

A setup agent key or a signed in app can walk tasks, ask the engines, compare with rivals, re-read your site, run rewrites, mark fixes shipped and run your workflows, and set up your site, facts, questions and rivals: up to 20 runs and 2,000 credits a day, under your spend rule. It cannot change your password, email, keys, team, billing or spend rule, cannot delete anything, and cannot approve anything that waits on you. For the plan it can only hand you Stripe’s checkout link; you pay, and the plan changes only when Stripe confirms it. What it spends counts against your spend rule.

Set up Miravi through your agent

In the app, choose “Continue with your agent” and paste the command it shows into your agent, then ask it to “Set up Miravi for yoursite.com”. Your agent and the app share one setup, and either can answer any step. Your agent can write a full product document from your repo, checked against the code, as the knowledge Miravi reads.

ToolWhat it does
get_onboardingWhere setup is, who answered each step, and this step’s data
set_nameYour first name
get_checkoutStripe’s Pro checkout link, for you to pay
set_siteYour site’s address; starts the read
set_knowledgeYour docs address, a product document from your repo, or skip
review_factsApprove, drop, correct, add or track the facts Miravi read
keep_questionsKeep, drop or add the questions buyers ask
set_rivalsKeep, drop or add the products you are compared with
set_scheduleThe weekly day and time, the check-in time and days, your time zone
connect_vercelVercel’s link, for you to press
set_up_ai_visitsMakes the AI visit collector’s key and its install steps
run_ai_visits_testChecks the collector reached Miravi
pick_goalWrites goal options from the first results, or picks one
write_setup_planWrites the plan for the goal
next_stepMoves setup to the next step

What your agent can run

With a setup agent key or a signed in app. Each one runs the app’s own press as you, and your client asks you before it acts.

ToolWhat it does
walk_taskWalks one task on your site
ask_enginesAsks the engines up to 5 of your questions
compare_rivalsWalks a question against your rivals’ sites
walk_factProposes the questions that test one fact, then walks the ones you keep
reread_siteReads your site again
fix_rival_nameRenames a rival or merges two names of one product; it lists what would change first and applies only once you agree (undo for 30 days)
win_back, measure_fixWrites a rewrite for a question you lose, and measures it before you ship
try_changeTests a page change before you ship it: walks your live page and a copy with the change in place, and says whether it beats today, is within noise, reads worse, or makes another question worse; a change that reads worse cannot be handed off
hand_offAsks to hand one ready fix (from get_status) to your coding agent as a work order. Nothing is handed off until you say yes in Miravi, on the bell or on the fix in Fixes; an ask you leave lapses after 7 days. Spends no credits
mark_shippedMarks a fix shipped, which starts its proof walk
run_workflow, pause_workflow, stop_runRuns or pauses a workflow, or stops a run
track_question, drop_question, add_factKeeps or drops a question, or adds a fact
set_goal, update_goalSets a goal or changes one: its target, its questions, or a count of engine answers that name you, described right, in the last N days (today and the days before it, in your site’s time zone). It never starts a run
set_cadenceHow often your engine asks run (daily or weekly), Google AI Overviews daily or weekly, and whether walks also run when a page changes. A change that adds spend waits for you to approve it in the app
create_planWrites a report into your Miravi documents: sections of words and blocks drawn from your record (a comparison board, the engines' answers and sources, a goal, fixes, a walk's path, agent traffic), with steps you tick. A block given no questions takes the ones its section quotes, else your goal's, and the reply names them
update_documentReplaces one of your product documents (from list_docs) with corrected text; the text before is kept in its history. Starts no run and spends no credits

What your agent can read

A connector key, a setup agent key and a signed in app all read the same, and every read is free. A signed in app that acts for you, ChatGPT for one, asks you to add it again when Miravi adds a tool.

ToolWhat it returns
get_statusStart here: what the app’s Summary shows today, from walks found and read right to each engine naming and citing you, comparison picks and your credits; for an agent that may ask to hand off, also the fixes ready to hand off, each measured or not yet
list_tracked_queriesEvery question Miravi asks the engines: its kind, latest result, who won it, the sites the engines cite
get_tracked_queryOne question’s latest answer from each engine: whether it names you, your rank, whether it cites you, its sources, and, when it compares your price with a rival’s that Miravi has not read, which rival. When an answer describes you wrongly, the confirmed fact it gets wrong and its own sentence. And the question’s latest walk: how many walks read it right, the day, and whether your documents changed since
list_answersOne question’s answers over time, newest first: each one’s engine, day, whether and how it names you, your rank, whether it cites you. The last 4 weeks, 10 weeks or 90 days, 50 a page
list_factsEvery fact Miravi keeps about your site, with its source, when it last changed, and how many walks found it
list_fact_questionsOne fact’s questions and their latest results and misreads, each walk saying whether your documents changed since
get_page_readWhat one of your pages hands a citing engine: text, headings, robots rules per engine, noindex, sitemap
list_work_orders, get_work_orderThe fixes and posts Miravi handed to your coding agent, each with the acts it permits and the steps
get_visits, get_page_visitsAI agent and crawler requests, people sent by AI answers, page views by source, a page before and after a fix, for a day, week, month or year, with each kind by day and every list paged
get_visit_logEach visit on a day or between two hours: who came, how a person arrived, the pages in order, and the views that were not people with why, every visit in parts with the total said. A visitor is an alias for that answer only
get_agent_visitsWhere AI agents went on your site: each visit’s pages in order, where it started and ended, and each page’s agents
get_accessWhich AI fetchers and crawlers can reach your site and which have come, from Miravi’s stored check
list_site_pagesThe pages Miravi has read (first and last read, in your sitemap or not, when they last changed, the page's own date as its markup gives it, your sitemap's last modified date), then the sitemap pages not read yet
list_deploysRecent Vercel deploys, production or preview: whether Vercel took Miravi’s check, and what Miravi did and why
get_connectionsEach connection’s state: your repo, Vercel, Slack, the AI visit collector, coding agent keys, and Search Console’s property, last sync or Google’s error. Never a token or secret
get_checkinOne day’s check-in from the last 30 days: its words, every row with its tip and link, the next step and when it was written, or why there is none yet (not due, late while the daily asks finish, missing)
get_index_statusHow many of your sitemap’s pages Google has indexed, and for each one it has not, why and the fix; then Miravi’s own read of your sitemap and Google’s record of the sitemaps you submitted, kept apart
get_agent_standardsEach agent standard as Readiness shows it (met, not met, n/a or not checked), why, its fix, its open work order if handed, and whether verified AI agents used it on your site in the last 30 days (claimed reads named apart); plus what the check found, such as each address variant’s redirects and the share of your pages the sitemap lists. Counted as how many are met of those that apply, never a score
list_names, get_name_pageEvery name the engines’ answers carry, and one name’s answers week by week
list_docs, get_docYour product docs, with claims the code no longer supports
list_runs, get_runWhat Miravi ran, and one run’s steps
get_comparisonA comparison with your rivals: how many walks picked you and each rival, each rival’s line, and what the leader states that your pages do not
list_plans, get_planYour plans and their steps
get_plan_versionA document as it stood before a rewrite
list_imagesYour image library: each image’s caption, description and the text it shows
get_draft_assetOne image of a blog post handed to your coding agent, to save with the post
get_console_snapshotWhat the app reads on load: your brand, decisions waiting, recent events, and the pages that went live, were added to your sitemap or that Miravi first saw in the last 30 days, each with the questions whose walks read it or whose answers cite it (large; the narrower reads are better)
list_goalsYour goals: what each counts, its target and where it stands
list_workflowsYour workflows and their schedules, including how often engine asks, Google AI Overviews and walks run
list_conversations, get_conversationYour chats with Miravi and your check-ins
get_page_check, get_preview_checkA page check’s or a Vercel preview check’s verdicts
get_usageYour credit balance and your spend rule: what Miravi may spend on its own each month, what it has spent and when it resets

Applying Miravi’s fixes

When Miravi has a fix, it hands it to your coding agent as a work order: the passage to change, the facts behind it, and the acts it permits. Your agent reads it with get_work_order and makes the change in your repo; you review and ship it. The server also offers two prompts: apply-work-orders, which walks your agent through the open work orders, and morning-checkin.

Limits and safety

  • 600 requests every 15 minutes per person; a setup agent key also 300 every 15 minutes.
  • Any text Miravi quotes from outside, such as a page or an engine’s answer, arrives marked as untrusted content, kept apart from instructions.
  • Anything that spends counts against your credits and the spend rule an Owner sets.
  • Every tool or API call that spends says what it spent, in credits, in its reply (credits_spent). Work that runs on after the reply shows its hold, with where to read the final figure (get_run). A refused call that spent nothing carries no credits_spent.

Questions: hello@getmiravi.com. Everything else about Miravi is on one page.

Miravi

Made with ♥ in San Francisco

© 2026 Miravi