Skip to content

Connect Codex to Polymarket

Connect Codex to Polymarket in 3 steps: 1. Sign in to ApexGenius and connect Polymarket. 2. Add the ApexGenius plugin. 3. Start using Polymarket in Codex. Start in Plugins in the ChatGPT desktop app and authorize your connection.

1,000 free credits · No card required

How to connect Polymarket to Codex

  1. 1Sign in to ApexGenius and connect Polymarket
  2. 2Add the ApexGenius plugin to Codex
  3. 3Start using Polymarket in Codex
  1. 1ApexGenius

    Connect Polymarket to ApexGenius

    Open Polymarket in ApexGenius

    Open Polymarket in Connections and choose Connect.

  2. 2ApexGenius

    Connect ApexGenius to Codex

    Choose Codex

    Back on Start, pick Codex and copy the prompt.

  3. 3ApexGenius

     

    Approve access

    ApexGenius opens its approval page. Review the access, then approve.

Add the ApexGenius plugin to Codex

Codex stores MCP servers in ~/.codex/config.toml. The ChatGPT desktop app, the Codex CLI and the IDE extension share that file, so one setup covers all three on the same machine.

  1. In the ChatGPT desktop app, open Plugins and select an ApexGenius plugin shared with you or one you created. Connect it and authorize the app connections you intend to use.
  2. No plugin? Open Settings, then MCP servers, then Add server. Name it ApexGenius, choose Streamable HTTP and paste the MCP address.
  3. Save, select Restart, then Authenticate, and sign in to ApexGenius in your browser.
  4. Start a new Codex task.

The MCP address

https://server.autom8.pro/mcp

Check it. In the composer, type /mcp to view the connected servers.

Steps follow OpenAI documentation, Model Context Protocol for ChatGPT and Codex (opens in a new tab), read November 12, 2026.

Then ask Codex

Read one public topic tag from Polymarket. Show its ID, label, source and the time checked.

Start free
Written setup, step by stepShow

Before you start

  • An ApexGenius account.
  • No wallet, private key or Polymarket sign-in is needed for these public reads.

1. Connect Polymarket to ApexGenius

  1. Open Polymarket in Connections. Sign in to ApexGenius, open Connections and choose Polymarket.
    The Polymarket page in ApexGenius before you connect, with the Connect button in the header and the Not connected empty state.
    The Polymarket page before you connect. Choose Connect; there is no wallet, sign-in or key to enter.Open full-size image (opens in a new tab)
  2. Check the public data service. Choose Connect. ApexGenius must complete a public data read before it saves a healthy connection. If the service denies access, setup stops.
  3. Review the read tools. Keep the public data service and the reads you need on. Set up a compatible AI agent with ApexGenius.
  4. Read one category. Load the PolymarketPublic skill and try the question below. Check the returned source and Tool Activity.
Connect Polymarket →

2. Connect ApexGenius to Codex

The steps are above, under Add the ApexGenius plugin to Codex. These notes apply to Codex only.

  • From the terminal. The commands are under Manual setup for developers. codex mcp list shows the configured servers, and codex mcp login apexgenius runs the sign-in.
  • Without a local browser. Run codex mcp login apexgenius --no-browser, open the printed authorization URL on another machine, sign in, and paste the full redirect URL back into the terminal.
  • Asking before writes. In config.toml, default_tools_approval_mode = "writes" on the apexgenius server makes Codex ask before any tool that is not marked read-only.
  • ChatGPT on the web. ChatGPT on the web does not read local Codex configuration. It uses plugins.
  • Access. When ApexGenius asks what Codex may use, choose Read only for the first test, or Custom to limit it to the tools you need.

Watch the setup

Follow each step at your own pace.

Codex desktop app with Plugins selected and ApexGenius listed under Available to your account.
Open Codex in the ChatGPT desktop app, then Plugins, and find ApexGenius.Open full-size image (opens in a new tab)

After connecting, open Codex in the desktop app and start a new task with ApexGenius enabled.

Use a plugin shared with you or one you created, subject to your account and workspace policy.

Create a personal plugin

Where Developer mode is available, open ChatGPT Settings, then Security and login, and enable it. In Plugins, select the plus button, enter ApexGenius and a description, then add this URL under Connection. Create the connection, complete OAuth, and review the tools. Return to Codex in the desktop app and start a new task with the plugin enabled.

https://server.autom8.pro/mcp
OpenAI custom connection guide (opens in a new tab)
No plugin available? Use desktop settings
  1. In the ChatGPT desktop app, open Settings, then MCP servers, then Add server.
  2. Name the server ApexGenius, choose Streamable HTTP, and paste the MCP address below.
  3. Save, select Restart, then Authenticate. Sign in to ApexGenius and authorize the intended connections and access.
  4. Start a new Codex task and ask one read-only question. Check the returned result and its matching successful read in Activity.
https://server.autom8.pro/mcp
OpenAI desktop MCP settings (opens in a new tab)
Manual setup for developers

Codex CLI is optional. Run these commands, complete browser authorization, then start a new session. Do not paste bearer tokens or static authorization headers.

Register the remote MCP server

codex mcp add apexgenius --url https://server.autom8.pro/mcp

Authorize in your browser

codex mcp login apexgenius

Inspect registered servers

codex mcp list

The desktop app, CLI, and IDE extension share MCP configuration on the same host. The IDE extension does not install plugins. ChatGPT web does not read local Codex configuration.

3. Try your first question

Read one public topic tag from Polymarket. Show its ID, label, source and the time checked.

Read one public topic tag from Polymarket. Show its ID, label, source and the time checked.

Look for a public market tag in the result. The tools read public market data and have no wallet, order, or trading capabilities.

Full guide: the Polymarket setup guide.

What it looks like in Codex

Example workflow
Codex
CodexApexGenius MCP route
Read one public topic tag from Polymarket. Show its ID, label, source and the time checked.
ApexGenius
Working with ApexGenius3 reads
RequestConnected read
Account scopeAuthorized connections checked
Salesforceapex_call_read_toolsalesforce_read · Find matching recordsComplete
Salesforceapex_call_read_toolsalesforce_read · Read related activityComplete
n8napex_call_read_tooln8n_get_workflow · Check workflow statusComplete
Codex

Three safe example reads returned results.

Read-only route
Codex

Try asking

Read one public topic tag from Polymarket. Show its ID, label, source and the time checked.

Find the Polymarket market for the event I name. Show each outcome's current price and the time checked, and say prices are market data, not a prediction.

Read the rules and published status for the market ID I provide. Do not infer a final outcome from the closed flag.

List Polymarket sports categories and their IDs. Do not infer which events have markets.

What Codex can do in Polymarket

7 operations: 7 read. Every operation looks things up and changes nothing, so Codex cannot change Polymarket through ApexGenius.

Public market data

7 read
  • polymarket_search_publicread
  • polymarket_list_eventsread
  • polymarket_get_eventread
  • polymarket_list_marketsread
  • polymarket_get_marketread
  • polymarket_list_tagsread
  • polymarket_list_sportsread

You choose the access. When you approve Codex, pick Full access, Read only, or Custom.

ApexGenius exposes the official Gamma API through its MCP gateway. This is not a vendor-hosted Polymarket MCP.

Only bounded public reads are offered. Prices are public market data, not advice. No wallets, funding or order operations are exposed.

Match the exact event and market question. A closed flag alone does not establish final resolution.

Provider access rules and rate limits still apply. An access denial must not be bypassed or reported as healthy.

Disconnecting stops future gateway calls. It does not change public source data.

Start free

Questions about connecting Codex to Polymarket

Updated November 12, 2026.

How do I connect Codex to Polymarket?

Sign in to ApexGenius and connect Polymarket. In the ChatGPT desktop app, open Plugins and connect an ApexGenius plugin, or open Settings, then MCP servers, then Add server, and add the ApexGenius MCP address as a Streamable HTTP server. Then ask Codex: “Read one public topic tag from Polymarket. Show its ID, label, source and the time checked.” Start with a read, so nothing changes.

How do I check that Codex can use Polymarket?

In the Codex composer, type /mcp to view the connected servers. ApexGenius should be listed. If it asks for sign-in, open Settings, then MCP servers, and select Authenticate. Start a new task, then ask: “Read one public topic tag from Polymarket. Show its ID, label, source and the time checked.”

Is Polymarket available in ApexGenius?

Yes. Choose Connect in Connections. No wallet, key or sign-in is needed, and ApexGenius saves the connection only after a successful public read.

Is this Polymarket’s official hosted MCP?

No. ApexGenius exposes a small set of reads from Polymarket’s official Gamma API through its own MCP gateway. It is not a Polymarket-hosted MCP service or a partnership claim.

Do I need a wallet or API key?

No. These public reads need no wallet, private key, password or API key.

Can it read current prices?

Yes. Market reads include each outcome's current price from 0 to 1, the best bid and ask, the last trade, volume and liquidity, as Polymarket publishes them. Prices are market data, not advice.

Can the connector place bets?

No. It has no wallet, order, funding or trading operations, and it asks for no keys. It cannot sign transactions or move money.

How do I find a Worlds market?

Search Polymarket for the exact event and market question.

Connect Polymarket to Codex today

Start free

1,000 free credits. No card required. Disconnect any time.