OpenAI official subscription
It costs more, but the service is more stable. Choose this option if you prefer to use the official service directly.
Codex is recommended. Claude, WorkBuddy, and other MCP-compatible tools are also supported.
Codex is the easiest option. Claude, WorkBuddy, and other AI tools that support MCP can also connect to SEO Agent. The configuration below uses Codex as the example.
After choosing either option and confirming that Codex can reply normally, continue to Step 3 to connect SEO Agent.
It costs more, but the service is more stable. Choose this option if you prefer to use the official service directly.
It costs less and includes free trial credits, so you can try Codex and its setup first. For account, plan, balance, or technical questions, contact Baomiao support directly.
Open Codex and send “Hello, please briefly introduce yourself.” If Codex replies normally, you can continue to Step 3 and configure SEO Agent.
Once Codex can reply normally, log in to SEO Agent and create an API Key. Then give the MCP configuration prompt to Codex to complete the connection.
YOUR_SEO_AGENT_API_KEY replace it with the newly created SEO Agent Key. The full Key is shown only once; send it only to your own Codex, do not share it in group chats or screenshots.YOUR_SEO_AGENT_API_KEYPlease help me add the SEO Agent remote MCP to the local Codex.
Please only modify ~/.codex/config.toml; do not delete or overwrite existing configurations;
Append the following configuration to the end of the file, then check the TOML syntax after writing:
[mcp_servers.seoagent]
enabled = true
url = "https://www.seoagent.vip/mcp"
[mcp_servers.seoagent.http_headers]
Authorization = "Bearer YOUR_SEO_AGENT_API_KEY"
Do not echo my API Key in your reply. After completing, tell me whether I need to start a new conversation or restart Codex to load it.
After letting Codex complete the configuration, first start a new conversation; if the tools do not appear, restart Codex. Then send: Check whether the SEO Agent MCP is connected, and only list the names of the available SEO tools.
seoagent_keyword_research
seoagent_keyword_intelligence
seoagent_competitor_gap
seoagent_serp_rank_query
seoagent_geo_visibility
seoagent_site_audit| What you see | What to do |
|---|---|
| SEO Agent MCP not found | First start a new Codex conversation; if it still does not appear, restart Codex, then ask Codex to check the configuration you just wrote. |
| Error 401 or invalid API Key | Check that the SEO Agent API Key in the prompt is complete, and make sure no extra spaces or quotes are copied around it. |
| Insufficient balance or Key quota | Log in to SEO Agent, and in your profile check your account balance, Key status, and the usage quota for that Key. |
| Codex itself is also unable to respond normally. | This is usually not an MCP issue. First check your network, Codex account, or Baomiao service configuration, then test again. |