Intermediate
Integrations

Fix AI Visibility From Your Code Editor: Renown in Claude Code, Cursor and VS Code

Most AI-visibility fixes end up as a ticket for whoever owns the website repo. Skip the ticket. Put the fix list in the editor where the work happens.

The Renown Team
10 minutes

Renown's action list for our own site currently opens with this:

Google AI Overviews is Renown's weakest engine. Even the best-covered topic, brand-visibility tracking, names Renown in only 5 of 20 answers.

The steps that follow are a Search Console audit, a sitemap check and a 40 to 60 word direct answer under the H1 of each commercial page. Every one of those steps ends in a change to the website repo. That is true of most technical AI-visibility work: crawler rules, schema, page structure, copy. The person who reads the report is rarely the person with commit access.

Renown has an MCP server, so the editor agent can read the fix list itself, make the change in your repo, and mark the action done when it ships. This guide sets that up in Claude Code, Cursor and VS Code, then walks through one real loop.

How the connector fits in

One endpoint to Renown, your repo on the other side

The agent reads your measurements over HTTPS with your API key, and edits the files it already has open.

Source: Renown MCP server at api.tryrenown.com/mcp, as documented on /mcp, 3 Dec 2026.

What you need

  • A paid Renown plan. The connector is included on every plan, Starter at $29 a month upwards. Pricing.
  • An API key. In the Renown app, open Settings, then AI connectors & API keys, and create one. It is shown once, with setup lines ready to paste. You can hold five active keys.
    • The website's repo open in your editor.
    Make the key read-only if the agent only needs to look. It can then read everything and change nothing. Leave read-only off only if you want the agent to tick off actions as it ships them. Give keys for one-off jobs an expiry.

    The server URL is the same everywhere: https://api.tryrenown.com/mcp.

    Claude Code

    One command, from anywhere:

    claude mcp add --transport http renown https://api.tryrenown.com/mcp \
      --header "Authorization: Bearer rnwn_live_..."

    Start a session in the repo and run /mcp. Renown should be listed as connected with ten tools. If it says failed, the key is wrong or expired. A revoked key stops working within minutes, so a key that worked yesterday may have been revoked from the app since.

    Cursor

    Add the server to ~/.cursor/mcp.json for every project, or to .cursor/mcp.json in one repo:

    {
      "mcpServers": {
        "renown": {
          "url": "https://api.tryrenown.com/mcp",
          "headers": {
            "Authorization": "Bearer rnwn_live_..."
          }
        }
      }
    }

    If you use the per-repo file, add it to .gitignore first. A key committed to a client's repo is a key every contractor on that repo now has.

    VS Code

    VS Code can prompt for the key and store it in its secret storage, so nothing secret sits in the file. Create .vscode/mcp.json:

    {
      "inputs": [
        {
          "type": "promptString",
          "id": "renown-key",
          "description": "Renown API key",
          "password": true
        }
      ],
      "servers": {
        "renown": {
          "type": "http",
          "url": "https://api.tryrenown.com/mcp",
          "headers": {
            "Authorization": "Bearer ${input:renown-key}"
          }
        }
      }
    }

    Start the server from the file or the MCP view and paste the key when asked. Use it from Copilot Chat in agent mode.

    Claude (web and desktop) and ChatGPT connect with a Renown sign-in instead of a key. That setup is on the connector page.

    One loop, start to finish

    The fix loop, run from the editor

    Measure, act, verify, without leaving the editor

    Steps 1, 4 and 5 are connector calls. The verify step needs a few scheduled runs after the deploy.

    The fix loop run from a code editor1. get_actions pulls the open technical fixes. 2. The agent edits the repo and you review. 3. You deploy with your usual pipeline. 4. mark_action_complete records the date the fix went live. 5. get_visibility_history shows, after the next runs, whether the AI answers changed. Then repeat.1get_actionsPull the open technical fixes, highest priority first2Edit the repoThe agent changes robots.txt, schema or page copy. You review.3DeployYour usual pipeline. Renown is not involved here.4mark_action_completeRecords the date the fix went live5get_visibility_historyAfter the next runs: did the answers actually change?repeatSteps 1, 4 and 5 are connector calls (green). 2 and 3 are your own tools.

    Source: Renown MCP tools: get_actions, mark_action_complete, get_visibility_history.

    1. Pull the fixes that touch code

    Ask the agent:

    Using Renown, list our open technical_seo actions, highest priority first.
    For each one, tell me which files in this repo it would touch.

    The agent calls get_actions with the technical_seo category and maps each step to files. This is the part people skip when the fix list lives in a PDF. An action that says "make sure the rendered HTML contains the H1 and body text" becomes "check scripts/prerender.ts and the output in dist/", which is a job someone can do this afternoon.

    Other categories that usually end in code: content_optimization (page copy and structure) and, for some sites, brand_messaging (the about page, the organisation schema).

    2. Let the agent make the change, then read the diff

    Typical agent-sized fixes:

  • Allowing or blocking a named AI crawler in robots.txt.
  • Adding or correcting Organization, LocalBusiness or FAQPage JSON-LD.
    • A direct-answer paragraph under an H1, written from facts already on the page.
    • Fixing a page that renders as an empty JavaScript shell for crawlers.
    Read the diff like any other pull request. An agent writing schema will happily invent an opening year or a founder's name if the page does not give it one. AI answers then repeat whatever the markup says, which is the opposite of what you wanted.

    3. Ship it

    Your normal pipeline. The connector cannot deploy anything and cannot see your repo. It only knows what you tell it.

    4. Mark it done

    Mark the Renown action about the sitemap and Search Console audit as complete.

    mark_action_complete stamps the date. That date matters later: it is how you tell, three weeks from now, whether a change in the numbers came after the fix or before it. It is the only connector tool that writes, it works only on your own brand's actions, and a read-only key cannot call it.

    5. Check whether the answers moved

    Not the same day. Renown re-asks the AI engines on its schedule, weekly on Starter and daily on Growth, and one run is noise. Two or three runs after the deploy, ask:

    Show our Renown visibility history since the start of the month,
    and the per-engine scores in the latest run.

    get_visibility_history and get_visibility_summary answer that. If Google AI Overviews moved and the others did not, that is consistent with a Google-index fix. If nothing moved, the fix was not the bottleneck, and the next action on the list is.

    Prompts that work well

  • "Which pages do AI engines cite when they answer our prompts and do not mention us? Check whether any of them are on our own site." (get_citations)
  • "For the prompts where a competitor is named and we are not, what did each engine actually say?" (get_responses)
  • "Compare our tracked competitors with the comparison pages in content/compare. Which competitors have no page?" (get_brand_profile and the repo)
  • "Draft the 40 to 60 word answer paragraph for /pricing, using only facts on that page. Then show me the diff."
  • Agency keys cover every client brand on the account, so start agency sessions with "use the brand example.com". Otherwise the agent will ask which brand you mean, which is the right behaviour and slightly annoying the fifth time.

    What the agent sees, and what it does not

    • Your Renown measurements: prompts, AI answers, citations, competitors, scores, actions.
    • Nothing about billing, team members or brand settings. The connector cannot change prompts or plans.
    • AI answers and cited-page text are third-party content. The server labels them as data so the agent treats them as information, not instructions. Still, if a cited page tells your agent to do something, your agent should not, and you should look at the page.

    Frequently asked questions

    Which editors and AI tools work with Renown's MCP server?

    Anything that speaks the Model Context Protocol over HTTP. Claude Code, Cursor and VS Code use an API key, as do Perplexity, Codex, n8n and scripts. Claude and ChatGPT connect with a Renown sign-in. Setup for each is on the connector page.

    Is the Renown MCP server free?

    It is included on every paid Renown plan, from Starter at $29 a month. The free AI check does not include API access.

    Can the agent change my Renown account?

    No. Nine of the ten tools are read-only. The tenth, mark_action_complete, marks one of your own brand's recommended actions as done, and a read-only key cannot call it.

    Where do I create a Renown API key?

    In the Renown app, under Settings, then AI connectors & API keys. The key is shown once. You can have five active keys, each optionally read-only and with an expiry.

    mcp
    claude code
    cursor
    vs code
    ai visibility
    developers
    agencies
    Back to all guides

    Find out what AI thinks of your business

    Warning: may cause existential crisis.

    Rather talk it through? Contact us.