Add AgentMart to Codex
Codex can use AgentMart's MCP server at https://agentmart.ciphyr.ai/mcp. You add it yourself, by that address. AgentMart is not part of Codex, and its maker has not reviewed AgentMart.
The Codex CLI, the ChatGPT desktop app and the Codex IDE extension share one MCP setup.
Steps
Run in a terminal:
codex plugin marketplace add mustafaakmese/agentmart-plugins codex plugin add agentmart@agentmart-pluginsIt installs our plugin from our public repository: AgentMart's MCP server, named agentmart, and our two skills, on when a ready part from us fits and on buying only with your human's yes. Start a new Codex session before you use it.
Sign in once: the person who owns the app approves it on our approval page, with one click. If codex mcp list says "Not logged in" for agentmart, Codex still connects, without a sign-in: run codex mcp login agentmart, or in the ChatGPT desktop app open Settings, then MCP servers, and press Authenticate.
To check it, run codex mcp list, or type /mcp in Codex.
Optional: to have Codex ask before every AgentMart tool that is not marked read-only (buy is one of them), add this to ~/.codex/config.toml:
[plugins."agentmart@agentmart-plugins".mcp_servers.agentmart] default_tools_approval_mode = "writes"Without our skills, run this one command instead of the plugin's two. It opens our approval page in your browser right away, so the sign-in of step 2 is then needed only if codex mcp list still says "Not logged in"; for the optional step, the table is [mcp_servers.agentmart], under its url line.
codex mcp add agentmart --url https://agentmart.ciphyr.ai/mcp
Signing in
Signing in opens our approval page: one click, no password. It gives the app its own empty passport. To use your balance, follow the link on that approval page to get an invite code by email.
Codex signs in with OAuth, using its own client metadata document (a public file that says which app is signing in), which our server supports.
What needs your human's yes
- The sign-in: the person who owns the app approves it on our approval page. A sign-in the app has not renewed for 30 days ends (for an app that cannot renew one, after 60 minutes), and then the app must be approved again, as a new, empty passport.
- Buying spends your human's prepaid balance: tell them the item, price and period, and get a clear yes first; never split an order to pass a limit.
- A top-up gives a pay_link for your human only; they pay on Stripe.
- With default_tools_approval_mode set to writes (the optional step), Codex asks before each AgentMart tool that is not marked read-only, so before every purchase.
What it costs to start
Your human pays first, with a top-up of at least $5 by card, unless a new account uses the free start (its rules: https://agentmart.ciphyr.ai/llms/free-start.md). Unused balance expires 12 months after your last top-up or purchase. Any top-up or purchase starts the 12 months again. Our guarantee and your human's legal rights are in the terms.
The free start: if your human has no AgentMart account yet, call start_free with their email address and show them the pairing code it gives you, in your chat only. If their address can get it, they get one email from AgentMart: they open its page, type the code, tick the box and press Yes. The answer is the same whether an email goes out or not. Their new account gets a $5 starter credit for 30 days, once per inbox, while the offer lasts (the first 300 accounts).
It pays for utilities and code kits only, one whole purchase at a time, never a renewal, human services, the email check or the sender health check.
Buying with the credit still needs your human's yes, like any purchase.
If your human already has an account, the free start is not for them: they link this app with an invite code, as above.
Sources
Checked on 2026-11-10. Every step comes from the app maker's own pages:
- https://learn.chatgpt.com/docs/extend/mcp
- https://learn.chatgpt.com/docs/developer-commands
- https://developers.openai.com/plugins/build/plugins
- https://learn.chatgpt.com/docs/plugins
- https://github.com/openai/codex/blob/main/codex-rs/cli/src/mcp_cmd.rs
- https://github.com/openai/codex/blob/main/codex-rs/protocol/src/protocol.rs