How to connect Codex to Semrush

Save your Semrush API key in Ryze AI, add one MCP URL to Codex, then ask about domains, ranking keywords, organic competitors and backlinks from the terminal or your editor.

Your MCP URL
https://connector.get-ryze.ai/mcp

Copies the URL. Use it with codex mcp add or in Codex Settings, MCP servers. See the steps

See pricing

By Ira Bodnar, Ryze AI · Updated · Test record: no calls run

Quick answer

The main way to connect Codex to Semrush is the Ryze AI connector. Paste your Semrush API key on the Semrush card in Ryze AI, run codex mcp add ryze --url https://connector.get-ryze.ai/mcp, then run codex mcp login ryze and click Allow connection. The ChatGPT desktop app and the Codex IDE extension read the same configuration.

  1. In Semrush open Subscription info, API units tab, and copy the API key
  2. In Ryze AI open Integrations, click Connect on the Semrush card, paste the key and click Continue
  3. Run codex mcp add ryze --url https://connector.get-ryze.ai/mcp
  4. Run codex mcp login ryze, click Allow connection, then run codex mcp list

Codex to Semrush at a glance

FactDetail
Main way to connectThe Ryze AI connector, a hosted Streamable HTTP server that Codex reaches by its URL
Commandscodex mcp add ryze --url https://connector.get-ryze.ai/mcp, then codex mcp login ryze
Codex surfacesCodex CLI, the ChatGPT desktop app and the Codex IDE extension read one shared config.toml. OpenAI's Codex Cloud page does not mention MCP
Sign-inOAuth to Ryze AI in a browser by default. A Ryze AI rk_live_ key passed through bearer_token_env_var replaces it
Semrush needsYour own API key from Subscription info, API units tab, on a Semrush plan with API access. The key is saved in Ryze AI, not in Codex files
Semrush tools1: semrush__read, a read-only tool for Semrush Analytics API reports, project lists and Position Tracking reports
Can Codex change SemrushNo. The only Semrush tool reads, so Position Tracking campaigns cannot be created or edited
Cost inside SemrushEvery call draws on your own Semrush API-unit balance. Ryze AI credits do not pay for it
Codex planIncluded in Free, Go, Plus, Pro, Business, Edu and Enterprise. Free and Go get the desktop app only, subject to rollout. OpenAI's MCP page names no extra plan
Ryze AI priceSEO Starter is $129 per month after a 3-day free trial. The tool also works on Paid Ads at $89 per month. Adding the connector costs nothing
Semrush's own option for CodexSemrush's MCP server at https://mcp.semrush.com/v2/mcp. Semrush's client list does not name Codex, but the server is a standard Streamable HTTP address
Last testedNo step inside Codex and no Semrush call was run for this guide

Before you start

  • A Codex plan. OpenAI lists Codex in ChatGPT Free, Go, Plus, Pro, Business, Edu and Enterprise. On Free and Go the pricing page shows Codex in the desktop app only, subject to rollout, so use the desktop steps there. Plus and higher add the CLI and the IDE extension. Codex also runs with an OpenAI API key in the CLI, SDK or IDE extension, billed at API pricing. The MCP page names no extra plan for MCP servers.
  • A Semrush API key. Ryze AI asks for one value, the API key, found in Semrush under Subscription info, API units tab. It needs a Semrush plan with API access, and every call uses the API units on that account.
  • A Ryze AI workspace on a plan or free trial. SEO Starter is $129 per month with a 3-day free trial, which suits Semrush because the data is SEO data. The Semrush tool also works on Paid Ads ($89 per month, 7-day free trial) and Agency ($279 per month). Connecting the connector is free; without an active plan or trial, Codex can only list workspaces and connect platforms.

How to connect Codex to Semrush with the CLI

Two steps happen in Semrush and Ryze AI, four in Codex. The connector URL is the same for every user.

  1. Copy the API key in Semrush

    In Semrush open Subscription info and go to the API units tab. Copy the API key and keep it out of chats, commits and screenshots, because anyone holding it can spend your API units.

  2. Connect Semrush in Ryze AI

    In the Ryze AI app open Integrations, click Connect on the Semrush card, paste the key into API key and click Continue. One workspace holds one Semrush key.

  3. Add the Ryze AI server to Codex

    Run codex mcp add ryze --url https://connector.get-ryze.ai/mcp in a terminal. This writes a [mcp_servers.ryze] entry to your Codex configuration.

  4. Sign in from Codex

    Run codex mcp login ryze, sign in on the Ryze AI page, pick the workspace that has Semrush and click Allow connection. On a machine without a local browser, add --no-browser, open the printed URL elsewhere and paste the full redirect URL back into the terminal. Inside a running CLI session, /mcp login ryze starts the same sign-in.

  5. Check the server is listed

    Run codex mcp list, or type /mcp inside the Codex TUI, and look for ryze. Start a new Codex session so the tool list loads.

  6. Ask your first question

    Ask: For the domain I name, list 20 organic keywords from the US database with position, search volume, CPC and landing URL.

codex mcp add ryze --url https://connector.get-ryze.ai/mcp codex mcp login ryze codex mcp list

The Ryze AI Semrush guide covers the Semrush side of the connection and the Ryze AI help center covers API keys.

ChatGPT desktop app and IDE extension

The ChatGPT desktop app, the Codex CLI and the IDE extension share one MCP configuration, so a server added in one place shows up in the others. If you prefer a settings screen to the command line, use the steps below.

ChatGPT desktop app (Codex)

  1. Open Settings, then select MCP servers.
  2. Select Add server, enter the name ryze, choose Streamable HTTP and enter https://connector.get-ryze.ai/mcp.
  3. Save, then select Restart.
  4. The server list shows which servers need OAuth. Select Authenticate for ryze, complete the Ryze AI sign-in, then type /mcp in the composer to view connected servers.

Codex IDE extension

  1. Open the gear menu, then select MCP servers.
  2. Select Add server, enter the name ryze, choose Streamable HTTP and enter https://connector.get-ryze.ai/mcp.
  3. Save, then select Restart extension.
  4. Select Authenticate and complete the Ryze AI sign-in.

Plugins are not available in the IDE extension, but MCP servers configured in config.toml are, so the Ryze AI server works there.

config.toml and approvals

The command above edits a TOML file. You can write the entry yourself in ~/.codex/config.toml, or in a project-level .codex/config.toml inside a trusted project:

[mcp_servers.ryze] url = "https://connector.get-ryze.ai/mcp" tool_timeout_sec = 120

OAuth is the default for HTTP servers, so run codex mcp login ryze once after saving. The tool_timeout_sec line is optional: Codex defaults to 60 seconds per tool call and 10 seconds for startup, and both can be raised per server. A large Semrush report can take longer to come back than a short one, so a higher value is a reasonable first change if a call times out.

To use a Ryze AI API key instead of the browser sign-in, add bearer_token_env_var = "RYZE_API_KEY" to the same table and set that environment variable to your rk_live_ key before starting Codex. This is a Ryze AI key, never your Semrush key. On the command line the same setting is the --bearer-token-env-var option of codex mcp add.

Settings that matter for Semrush reports

SettingWhat it does
default_tools_approval_modeauto, prompt, writes or approve. writes prompts for tools that are not marked read-only.
tools.<tool>.approval_modeOverrides the default for one tool, for example tools.semrush__read.
enabled_tools, disabled_toolsAllow list and deny list of tool names for the server.
tools.<tool>.output_token_limitSets an output budget for one tool. Semrush reports come back as CSV text, so a budget keeps a long report from filling the session.
startup_timeout_sec, tool_timeout_secDefaults are 10 and 60 seconds. Raise them if the first connection or a large report times out.

Codex and MCP: the rules in one table

The rules below come from OpenAI's Codex documentation as it read on November 14, 2026. They apply to every MCP server in Codex, the ryze entry included.

TopicWhat OpenAI's pages say
Where you add MCP serversCodex CLI, the ChatGPT desktop app and the Codex IDE extension, which installs in VS Code, Cursor, Windsurf and VS Code Insiders
Settings file~/.codex/config.toml, edited by the codex mcp commands. A project .codex/config.toml loads only in a trusted project
TransportsSTDIO for a server Codex starts locally, Streamable HTTP for a server at an address. OpenAI's MCP page names no third
Ways to sign in to an addressOAuth by default; a bearer token from an environment variable; fixed or environment-based headers; ChatGPT session sign-in for trusted first-party servers
OAuth scopes and registrationScopes come from config or --scopes, else from the server's first WWW-Authenticate challenge. Codex registers through Client ID Metadata Documents where supported, otherwise through dynamic client registration
Approvals beyond config.tomlA tool with a destructive annotation always needs approval unless it also has a read annotation. The permission mode is picked under the composer in the app and the extension, or with /permissions in the CLI
PluginsOne directory shared with ChatGPT: the Plugins tab in the desktop app, /plugins in the CLI, none in the IDE extension
Managing serverscodex mcp list, get, remove, login and logout; /mcp in a session; Settings > MCP servers in the app; gear menu > MCP servers in the extension
Admin controlAn mcp_servers approved list in requirements.toml, set with Edit as TOML under Admin Console > Agent Security. An empty list turns every server off
Outside the local clientsChatGPT on the web adds a remote server as a plugin. The Codex Cloud page does not mention MCP, and the mobile page describes no way to add a server

Sources: OpenAI's Codex MCP documentation, Codex CLI command reference, configuration reference, approvals and security, permission modes, auto-review, plugins, IDE extension, Codex Cloud, mobile, managed configuration and Codex pricing. Checked November 14, 2026.

Claude, ChatGPT and Cursor

The same URL works in other MCP clients. The Semrush key is saved once in Ryze AI, so nothing changes on the Semrush side.

Claude and ChatGPT

The same URL works as a custom connector in Claude and as an app in ChatGPT. Save the Semrush key in Ryze AI first, add the connector, pick the workspaces and start a new chat. If you added the connector before connecting Semrush, remove it and add it again so the tool list refreshes.

Cursor and Claude Code

Both take the same address and have their own walkthroughs, linked in the related guides below.

Semrush access and API key

Semrush access comes from the API key you save in Ryze AI, and Codex reaches Semrush only through it. Three things decide what Codex can see and spend.

Which key
The one you pasted on the Semrush card. One Ryze AI workspace holds one Semrush key, and another Semrush account can live in another Ryze AI workspace.
What the key spends
Your Semrush API units. Treat the key like a password, because whoever holds it can use your balance. Disconnecting the card in Ryze AI cuts Codex off.
What Codex asks first
That depends on the approval mode of the ryze server and the permission mode you pick. Because the only Semrush tool reads, nothing in Semrush changes whichever way you answer.

What is covered

Semrush has no OAuth scopes in this connection. The next table lists what the Ryze AI connection uses instead.

AreaWhat you get
Domain analyticsDomain overview, organic keywords, organic competitors, keyword overview
BacklinksBacklinks overview with Authority Score, referring domains, anchors and individual backlinks
ProjectsLists Semrush projects and reads Position Tracking reports
Anything that changes SemrushNot available. Campaigns cannot be created or edited

Source: Ryze AI Semrush guide, checked November 8, 2026.

What the connection depends on

The Ryze AI connection uses an API key from your Semrush subscription. This table lists what the connection depends on.

ItemWhat it doesSource
API keyAuthorizes each request and bills it to your account's API-unit balance. Found under Subscription info, API units tabRyze AI help center
Plan with API accessRequired before the key works. Without it Ryze AI cannot read dataRyze AI help center
API-unit balanceEvery call draws on it. At zero, Semrush returns error 132 for the SEO and Trends APIs and a 403 for the Projects API, and only you can top it upSemrush API units page
Regional databaseDomain and keyword reports are asked for one regional database, such as US or UKRyze AI help center

Not covered by the Ryze AI Semrush tool: creating or editing Position Tracking campaigns, because the tool only reads. Domain, keyword and backlink reports come back as CSV text that Codex parses, and each report type needs its own parameters.

Source: Semrush API units and balance. Checked November 23, 2026.

Removing access

To remove access, click View on the Semrush card in Ryze AI and disconnect with the trash icon. In Codex, run codex mcp logout ryze or codex mcp remove ryze, or delete the [mcp_servers.ryze] table from config.toml.

What Codex can do in Semrush

The Ryze AI connector exposes one Semrush tool, and it only reads. Codex lists it with the semrush__ prefix. The name comes from the Ryze AI app source; it was not seen in a live tool list.

ToolTypeWhat it does
semrush__readReadRuns a read-only Semrush Analytics API request: domain overview, organic keywords, organic competitors, keyword overview, backlinks overview, referring domains, anchors and backlinks. It also lists projects and reads Position Tracking reports.

Whether Codex pauses before a Semrush request depends on the approval mode of the ryze server and the permission mode you pick. To have Codex ask before every call to this server, set default_tools_approval_mode to prompt, as below; OpenAI lists the values without describing each one, so try it once and see what Codex does. The Ryze AI chat has its own Tool approvals picker, which starts on Skip all approvals; that picker does not govern Codex.

[mcp_servers.ryze] url = "https://connector.get-ryze.ai/mcp" default_tools_approval_mode = "prompt"

Semrush API-unit limits

Semrush charges by API units, and Codex adds its own timeouts. Both are listed with the page each figure comes from. No Semrush call was run for this guide, so the table has no figures measured here.

Limits in numbers

LimitNumber
Semrush API-unit balanceEvery call spends units from your own balance. At zero, the SEO API, Trends API, Position Tracking and Site Audit return error 132, and the Projects API returns a 403. For per-line reports in the SEO and Trends APIs, Semrush says you get the lines your remaining units cover
Per-line reportsCharged by the number of lines returned, such as domain reports
Fixed-cost reportsCharged per request, such as the backlinks overview
Historical dataSemrush's page says it costs more than current data, typically about 5 times the standard rate
Empty resultsA request that returns no data uses no units
Balance checkFree, in Subscription info on the API units page, or through a free Standard API endpoint
Codex timeoutsstartup_timeout_sec defaults to 10 and tool_timeout_sec to 60; both can be raised per server
Ryze AI connectionOne Semrush key per workspace, and one Claude or ChatGPT connection can cover up to 20 workspaces

Sources: Semrush API units and balance and Semrush MCP overview, checked November 23, 2026; OpenAI's Codex MCP documentation, checked November 14, 2026.

First 3 prompts to run

1. See what a domain ranks for

For the domain I name, list 20 organic keywords from the US database with position, monthly search volume, CPC and landing URL.

Tools used: semrush__read

What comes back: An organic keywords report for that domain, limited to the columns and rows you named. A short row limit spends fewer units. Nothing in Semrush changes.

2. Spot organic rivals

Which sites compete with the domain I name in organic search, and which two are worth studying first?

Tools used: semrush__read

What comes back: The organic competitors list as Semrush gives it, followed by Codex's reading of which rivals matter.

3. Review who links to a site

Read the backlinks overview and Authority Score for the domain I name, then its referring domains and the anchors used most.

Tools used: semrush__read

What comes back: An overview first, then referring domain and anchor reads. Each one is its own request and spends its own units.

What comes back depends on the domain, so this page prints no sample figures. Give Codex the domain, the country database and the number of rows you want.

10 jobs to hand to Codex

Ten jobs to give Codex once ryze is signed in, each with the tool behind it. Nothing below was run for this page; the last row is something this connection cannot do.

JobPrompt for CodexToolOn the default connection
Size up a sitePull the Semrush overview for example.com in the US database.semrush__readYes
Top rankingsShow the organic keywords where this domain holds a position, with traffic.semrush__readYes
Find rivalsName the sites that compete with this domain for the same organic searches.semrush__readYes
Check phrasesReturn volume, CPC and competition for these five phrases in the UK database.semrush__readYes
Link strengthRead Authority Score and the backlink totals for this domain.semrush__readYes
Who links inList the referring domains pointing at this site.semrush__readYes
Anchor mixShow the anchor texts that other sites use when linking here.semrush__readYes
Link by linkPull a sample of individual backlinks for this domain.semrush__readYes
Rank tracking reportsList my Semrush projects and read the Position Tracking report of one campaign.semrush__readYes, reports only
Start a new campaignCreate a Position Tracking campaign for this domain.noneNo. The tool only reads

3 ways to connect Codex to Semrush

Three ways can bring Semrush into Codex. This guide treats the Ryze AI connector as the main way: your Semrush key stays inside Ryze AI, one hosted address serves all three Codex surfaces, and nothing runs on your computer. The other two come from Semrush's documentation, read on November 23, 2026, and OpenAI's, read on November 14, 2026. None of them was run for this guide.

WayRuns onCodex setupWhat Codex reaches in SemrushPrice
Ryze AI connector (the main way)Ryze AI's servers, one address for every usercodex mcp add ryze --url https://connector.get-ryze.ai/mcp and codex mcp login ryze in the CLI, or Add server with Streamable HTTP in the desktop app or the IDE extension, then AuthenticateYour key's account, through one read tool for domain, keyword and backlink reports, projects and Position Tracking reportsSEO Starter is $129 per month with a 3-day free trial; Semrush bills the API units
Semrush's own MCP serverSemrush's hosted server at https://mcp.semrush.com/v2/mcp, Streamable HTTP onlySemrush's client list does not name Codex. The address is a Streamable HTTP server, so the config.toml table below is the route OpenAI's pages describe. Semrush signs in by OAuth 2.1 or an Authorization: Apikey headerRead-only Trends API, SEO API and read-only Projects API v3 methods, per Semrush. Semrush says it cannot create projects or change settingsNeeds a Semrush plan such as One Starter, One Pro+ or SEO Classic Pro or Guru, or a plan with an API units package, per Semrush. API units come from your subscription
Semrush API from your own scriptYour code calls the Semrush Analytics APINothing in Codex itself. You ask Codex to write the requests and run themWhatever the API allows for your keyThe same API units as the other ways

Semrush's own server as a config.toml table, next to the ryze table:

[mcp_servers.semrush] url = "https://mcp.semrush.com/v2/mcp"

Run codex mcp login semrush to start the OAuth sign-in. For the Apikey header, Codex's http_headers and env_http_headers settings can send a header whose value comes from an environment variable, but Semrush's header takes the word Apikey before the key rather than Bearer, so bearer_token_env_var does not fit. This table was not run in Codex.

Options that do not fit Codex

  • Semrush's Claude directory connector. It is built for Claude and does not apply to Codex. Codex takes a server address instead.
  • A community Semrush MCP server run on your machine. It would need its own install and your API key in a local file or environment. This guide did not check any, so none is recommended or ruled out.
  • Codex Cloud tasks. OpenAI's Codex Cloud page does not mention MCP, so this guide does not claim Ryze AI works there.

Which one to pick

Ryze AI is the best way to connect Codex to Semrush when you want your API key kept out of Codex's config files and one address for the CLI, the desktop app and the IDE extension, with one caveat: Semrush's own server lists more families, such as Trends API data, than the single Ryze AI read tool. Pick Semrush's server when you want those under your own Semrush login. Pick the Ryze AI connector when Codex should read domain, keyword and backlink data with a key you control. Both tables can sit side by side in the same config.toml.

Sources: Semrush MCP overview, checked November 23, 2026; OpenAI's Codex MCP documentation, checked November 14, 2026; the Ryze AI Semrush guide.

Semrush and Codex: dates that matter

DateWhat happened
October 3, 2025Codex CLI 0.44.0 added support for Streamable HTTP MCP servers, the transport you pick for the Ryze AI connector.
October 17, 2025Codex CLI 0.47.0 prompted for sign-in when a Streamable HTTP server that supports OAuth was added. This is a dated release note and is not confirmed for the current CLI.
October 7, 2026Codex CLI 0.161.0 added /mcp login <name>, so a running terminal session can start an MCP sign-in.
November 13, 2026Codex CLI 0.169.0, the newest release when OpenAI's changelog was read on November 14, 2026, made codex exec keep project configuration and MCP servers off in untrusted directories.
November 23, 2026Semrush's MCP documentation gives the endpoint https://mcp.semrush.com/v2/mcp, Streamable HTTP only, with OAuth 2.1 by default or an Apikey header. Its client list does not include Codex.
November 23, 2026Semrush's API units page says requests that return no data do not use units, and that an empty balance gives error 132 in the SEO and Trends APIs or a 403 in the Projects API.

Sources: Semrush MCP overview and API units page, checked November 23, 2026; Codex CLI 0.44.0 release notes and the Codex changelog, checked November 14, 2026.

How this guide was tested

No call was run for this guide. Everything here comes from the Ryze AI help center and facts file (checked November 8, 2026), OpenAI's Codex pages (read November 14, 2026) and Semrush's documentation (read November 23, 2026).

What was runWhat came back
Calls to SemrushNone. No Semrush key was connected, so no Semrush call was run.
The Semrush tool nameTaken from the Ryze AI app source. It was not seen in a live tool list.
The steps inside CodexNone run. No server was added in the CLI, the desktop app or the IDE extension.
Semrush's own serverRead from Semrush's docs. Not connected.

Not run for this page: codex mcp add, codex mcp login, Add server and Authenticate in the desktop app or the IDE extension, a hand-written config.toml entry, the API key route, the approval settings and any call to Semrush. With no Semrush key connected, this guide has no table of tested calls and no error messages copied from a test, so the problems below are documented answers.

Semrush and Codex problems and fixes

Error 132 from Semrush
Per Semrush, this is the reply when the API-unit balance is empty for the SEO, Trends, Position Tracking and Site Audit APIs; the Projects API gives a 403 instead. Only a top-up in your Semrush account fixes it.
No Semrush tool in the Codex tool list
The tool list is set when the connector is added. If Semrush was connected in Ryze AI later, run codex mcp remove ryze, add it again and start a new session.
Codex says a subscription is required
The Semrush tool runs only on an active Ryze AI plan or trial. With neither, the connector can list workspaces and connect platforms, and nothing more.
The sign-in does not finish
Run codex mcp login ryze again, click Allow connection on the Ryze AI page and pick the workspace that has Semrush. Without a local browser, use --no-browser and paste the full redirect URL back.
A call times out
Raise tool_timeout_sec in the [mcp_servers.ryze] table. The default is 60 seconds.
Ryze AI refuses the key
Either the Semrush plan has no API access or part of the key was missed when copying. Copy it whole from Subscription info, API units tab.
An empty report
The domain may have no data in that country database, so try another one. Semrush uses no units on a request that returns nothing.
Wrong Semrush account behind the key
The key picks the account. In Ryze AI click View on the Semrush card, use the trash icon, then connect with the right key.
Connection link refused
A link made by the Ryze AI agent works once within 24 hours, and Ryze AI refuses it while a Semrush key is already saved in the workspace. Swap keys in the Ryze AI app.
The server does not load in a project
A project .codex/config.toml loads only in a trusted project, and codex exec keeps MCP servers off in an untrusted directory.

Terms on this page

MCP
Model Context Protocol, the open standard that lets an AI client call tools on a server such as the Ryze AI connector.
config.toml
Codex's settings file. The CLI, the desktop app and the IDE extension share the MCP part of it.
Streamable HTTP
The transport Codex uses for an MCP server reached at an address, as opposed to STDIO for a local process.
API units
The balance Semrush charges for API calls. It belongs to your Semrush account, and Ryze AI credits do not pay it.
Regional database
The country index a Semrush keyword or domain report reads from, such as US or UK.
Authority Score
Semrush's domain score returned with the backlinks overview.
Position Tracking
Semrush's rank-tracking campaigns. Ryze AI reads their reports and does not create or edit them.

Frequently asked questions

How do I connect Codex to Semrush?

Save your Semrush API key on the Semrush card in Ryze AI. Then run codex mcp add ryze --url https://connector.get-ryze.ai/mcp, run codex mcp login ryze, click Allow connection and start a new session.

Is there a Semrush MCP server for Codex?

Yes, two routes. The Ryze AI connector at https://connector.get-ryze.ai/mcp has one read-only Semrush tool. Semrush also hosts its own server at https://mcp.semrush.com/v2/mcp, though its client list does not name Codex and this guide did not run it there.

What is the Semrush MCP server URL for Codex?

For the Ryze AI connector it is https://connector.get-ryze.ai/mcp, the same for every user. Semrush's own server uses https://mcp.semrush.com/v2/mcp.

Does Semrush officially support Codex?

Semrush's MCP documentation lists Claude, Claude Code, Microsoft Copilot, ChatGPT, Cursor, VS Code, Antigravity 2.0, Antigravity CLI, Perplexity, Lovable and Notion, and does not list Codex. Codex can still add any Streamable HTTP server by its address.

Will Codex edit anything in my Semrush account?

Not through Ryze AI, whose only Semrush tool reads and cannot create or edit Position Tracking campaigns. Semrush says its own MCP server cannot create projects or change settings either.

Which Codex plan do I need?

OpenAI lists Codex in ChatGPT Free, Go, Plus, Pro, Business, Edu and Enterprise, and its MCP page names no extra plan. Free and Go get Codex in the desktop app only, subject to rollout, so use the desktop steps on those plans.

Where is the Semrush API key?

In Semrush open Subscription info, then the API units tab. The key works only on a Semrush plan with API access.

How many Semrush API units will a Codex question cost?

That depends on the report. Per-line reports are charged by lines returned, fixed-cost reports per request, and a request with no data uses no units. A row limit in your prompt keeps the bill small.

Does Codex ask before calling Semrush?

That depends on the ryze server's approval mode and your permission mode. Setting default_tools_approval_mode to prompt in the [mcp_servers.ryze] table is the setting to try if you want a prompt on every call.

Can a Ryze AI API key replace the browser sign-in in Codex?

Yes. Add bearer_token_env_var = "RYZE_API_KEY" to the [mcp_servers.ryze] table and set that variable to the rk_live_ key from Ryze AI. It is a Ryze AI key, never your Semrush key.

Do the CLI, the desktop app and the IDE extension need separate setups?

No. OpenAI says the ChatGPT desktop app, Codex CLI and IDE extension share MCP configuration for the same Codex host, so a server added in one shows up in the others after a restart.

Does the Ryze AI connector work in Codex cloud tasks?

This guide does not claim it does. OpenAI's Codex Cloud page does not mention MCP, and nothing here was run in cloud tasks.

Can one workspace hold two Semrush accounts?

No. A workspace holds one key, and Ryze AI does not list Semrush among platforms with several accounts. Disconnect and reconnect to switch keys, or put the second account in another workspace.

Why is the Semrush tool missing in Codex?

You probably connected Semrush in Ryze AI after adding the server. Run codex mcp remove ryze, add it again and start a new session so the tool list refreshes.

Can Codex read backlinks and referring domains?

Yes. The Ryze AI tool reads a backlinks overview with Authority Score, plus referring domains, anchors and individual backlinks.

What does connecting Codex to Semrush cost?

Adding the connector is free, but the Semrush tool needs an active Ryze AI plan or free trial. SEO Starter is $129 per month with a 3-day free trial, Paid Ads is $89 per month with a 7-day free trial and Agency is $279 per month. Annual billing takes 30% off the first year. Semrush bills the API units.

Connect Semrush to Codex

One Ryze AI connection gives Codex the Semrush read tool. SEO Starter is $129 per month with a 3-day free trial; annual billing takes 30% off the first year.

Semrush MCP server

Need help? Read the Ryze AI Semrush guide or email Ryze AI support.