How to Connect Codex to BitBrowser MCP and Open Your First Store Profile

2026.12.03 05:42 YT.Shi

You manage five online stores, but only two need your attention this morning. Once you connect Codex to BitBrowser MCP, you can ask it to open those two store profiles by name. You can also ask which profiles are already open or close a few specific windows when you finish.

 

There are two ways to set up the connection. You can send BitBrowser’s setup prompt to Codex and let it create the connection, or add the MCP server yourself in the ChatGPT desktop app.


Before You Connect BitBrowser to Codex

Use BitBrowser 7.1.5 or later and open the ChatGPT desktop app on the same computer. Keep BitBrowser running and use a local Codex chat.

 

In BitBrowser, open Browser Profiles and note the exact name of one profile you already use. We’ll use Maple Home US as the example for the first test.


Method 1. Let Codex Set Up BitBrowser MCP

Copy the Setup Prompt from BitBrowser

1. In BitBrowser, open Settings → Local API and turn on Enable Authentication Control.

 

2. Scroll down to MCP. Under General, click Copy Prompt to Configure MCP. The button copies a ready-to-send instruction with your local MCP URL and API header.

 

自动1.png

 

Send the Prompt and Approve the Configuration Change

3. Start a private Codex chat on This computer, paste the copied prompt, and send it. The prompt includes your API token. If you prefer to keep the token out of the chat, use the manual setup below.

 

自动2.png

 

4. If Codex asks for permission to edit config.toml, check that the request is for adding the BitBrowser MCP endpoint and API header. Select Allow once to approve that change.

 

自动3.png

 

5. Wait for Codex to confirm the connection. In the setup shown here, Codex reported that the local server accepted the API key and returned its tool list. You may also see a desktop notification when the task finishes.

自动4.png

 

自动5.png

 

Open a new local Codex chat if the current one hasn’t loaded the BitBrowser tools. Then try this quick test.

 

Use BitBrowser MCP to list up to five of my browser profiles. Show only their profile names and groups.

 

image.png

 

If you recognize the profiles in the reply, you’re ready to open your first store window.


Method 2. Add the BitBrowser MCP Server Manually

For manual setup, use the MCP URL and API token from Settings → Local API in BitBrowser. Copy the full MCP URL, including /mcp. The screenshots use port 54348. Use the port shown in your own BitBrowser client.

 

1. In the ChatGPT desktop app, click your account icon and open Settings.

 

2. Select Plugins under Integrations.

 

image.png

 

3. Open the MCPs tab and choose Add → Add MCP server.

 

e9e57324d9c4e14a072851a99c172c0e.png

 

4. In Connect to a custom MCP, switch the type from STDIO to Streamable HTTP. The command fields shown in the screenshot belong to STDIO. Switching the type gives you the fields for an HTTP connection.

 

▸ Name  bitbrowser

▸ URL  Paste the full MCP URL shown in BitBrowser.

▸ HTTP header  If the form offers custom headers, enter x-api-key as the header name and your BitBrowser API token as its value.

 

c6e8b0ac8a13d0c03b80abe24e258598.png

 

Save the server, then open a new local Codex chat and try the same profile-listing prompt from Method 1. If the app asks you to restart, do that before testing the connection.

 

If your app has no field for custom HTTP headers, add the block below to your user-level Codex configuration file, ~/.codex/config.toml. If a bitbrowser entry already exists, update it in place. Replace the example URL and token with the values from your BitBrowser client, then save and restart Codex. See OpenAI’s MCP configuration guide for details.

 

[mcp_servers.bitbrowser]
url = "http://127.0.0.1:54348/mcp"
http_headers = { "x-api-key" = "YOUR_BITBROWSER_API_TOKEN" }

Open Your First Store Profile

Once Codex can list your profiles, give it the exact name you noted earlier. If two stores use similar names, include the group or profile ID so Codex can pick the right window.

 

Open the BitBrowser profile named “Maple Home US.” If more than one profile matches, show me the matching names and IDs so I can choose.

 

When the window opens, check that it belongs to the store you expected. You can now go to your seller dashboard and continue working.

 

image.png

Everyday Codex Prompts for Store and Social Media Profiles

Replace the example names and groups below with the ones you use in BitBrowser. These prompts cover the small tasks that come up when you switch between several stores or brands.

 

Open Only the Stores on Today’s List

Say a return needs review at Maple Home US and a sale ends tonight at Northline Goods. When those are the only stores on your list, open both profiles in one request.

 

Open only the “Maple Home US” and “Northline Goods” profiles in my “Online Stores” group. Tell me which profiles opened successfully.

 

Find the Right Channel for a Brand

If you manage Instagram, Facebook, and TikTok for the same brand, list that brand’s profiles first. This helps when several profiles have similar names or you’re covering a teammate’s accounts.

 

Find the BitBrowser profiles with “Maple Home” in the name in my “Social Media” group. Show each exact profile name so I can pick the Instagram profile.

 

Once you see the name, follow up with Open “Maple Home Instagram” from that list. You can then check the draft or upload the image in the account yourself.

 

Check Which Store or Brand Windows Are Already Open

If your desktop is already full of windows, ask Codex what’s open before you start launching profiles for the next task.

 

Which BitBrowser profiles are currently open in my “Online Stores” and “Social Media” groups? Show the profile names grouped by team.

 

Close the Windows You’ve Finished With

After you’ve saved your changes in the store or social dashboard, use the exact profile names to close the windows you’re done with.

 

Close only the “Maple Home Instagram” and “Northline Goods” BitBrowser profiles if they’re open. Tell me which windows were closed.

 

These commands manage the browser profiles in BitBrowser. Once a window opens, you can review the return, check the sale, or finish the post in the relevant dashboard.


If Codex Can’t Connect to BitBrowser

▸ Connection refused? Check that BitBrowser is running and that Codex is using This computer. Compare the address, port, and final /mcp with the URL shown in BitBrowser.

 

▸ Authentication error? Check that the header is named x-api-key and its value matches your current Local API token. If you reset the token, update the connection and restart Codex.

 

▸ BitBrowser tools missing after setup? Check that the server is enabled in the MCPs tab, then start a new local Codex chat and repeat the profile lookup.

 

For more examples of working with groups and browser profile settings, see the BitBrowser MCP guide.

 

Operate Multiple Accounts in Isolated, Secure Browser profiles

Use the BitBrowser to easily bypass platform anti-association detection, giving every profile an independent digital fingerprint.

• Prevent Account Association Bans • Bulk Import & One-Click Deployment • Boost Operational Efficiency • Get 10 Free Profiles