MCP servers · 0n Lead Magnet · MCP server
Connect Codex CLI to 0n Lead Magnet
One line gives Codex CLI your 0n Lead Magnet account as tools: 7 endpoints, list funnels, update funnel, set recommendations, called with your own connection. No key in the prompt, a receipt for every call, revoke Codex CLI's access alone any time.
Three steps
- Create a free 0n3 account and connect 0n Lead Magnet. Paste a key or sign in; it lands in your vault, encrypted.
- Install 0n3 into Codex CLI. OpenAI's terminal agent reads 0n3 over Streamable HTTP with a token from your environment.
- Ask Codex CLI: whoami. Then: "List funnels in 0n Lead Magnet".
Put the token in your environment
export ON3_TOKEN="<your 0n token>"
Add it to your shell profile so Codex finds it next time.
The line above carries a placeholder; 0n3.app/install mints a real key named for Codex CLI and fills it in.
What Codex CLI can then do in 0n Lead Magnet
List funnels · List the user's funnels with subscriber stats3
List funnels
GET /api/lead-magnet/funnelsCreate a funnel
POST /api/lead-magnet/funnelsGet a funnel
GET /api/lead-magnet/funnels/{funnelId}Update funnel · Update funnel config (offer, copy, redirects)1
Update a funnel
PUT /api/lead-magnet/funnels/{funnelId}Set recommendations · Bulk-replace the modal's ordered recommendation list2
Set recommendations
PUT /api/lead-magnet/funnels/{funnelId}/recommendationsGet recommendations
GET /api/lead-magnet/recommendationsRecord optin · Record a public opt-in (used by landing pages)1
Record optin
POST /api/lead-magnet/opt-inCreate funnel · Create a new lead-magnet funnel0
Create a new lead-magnet funnel
Get recommendations · Read the modal's config + active recommendations0
Read the modal's config + active recommendations
0n Lead Magnet in other AI clients
Claude Code + 0n Lead MagnetMCP server + skillClaude (desktop & claude.ai) + 0n Lead MagnetconnectorChatGPT + 0n Lead Magnetconnector · GPT actionGemini CLI + 0n Lead MagnetMCP serverCursor + 0n Lead MagnetMCP serverVS Code (Copilot) + 0n Lead MagnetMCP serverWindsurf + 0n Lead MagnetMCP server
