Connect Codex to iMessage by Photon
Set up in minutes
Choose where it runs
On your computer through your own Codex, or hosted in the cloud. The rest of setup adapts to your choice:
Pick what it can do in iMessage by Photon
A preset of real iMessage by Photon operations. Each one becomes a tool the agent can call, and it can't touch anything outside the list.
Connect iMessage by Photon
One sign-in. The agent acts through your account, scoped to the operations you picked.
Add your personal MCP link
The last step mints a private MCP URL for this agent and walks you through exactly this, with your real link filled in. The page flips to Connected the moment your Codex first calls in. Codex connects when a session starts — run codex, or restart a running one (in the Codex app, Restart).
Run this in your terminal. The Codex app shares its config, so it gets the server too
<your-link> is your personal server URL — setup mints it for you.
Tools Codex gets
iMessage by Photon
19 toolsRead the connected project's name and settings.
Find out whether the project uses shared or dedicated iMessage lines.
List the project's shared iMessage line assignments.
Read one page of iMessage history in the project or a specific space.
Count iMessages that match the filters.
Read one Photon message, including its current delivery status.
Queue an iMessage or reply from a Photon Agent User in the space.
Queue a file or voice message using an existing Photon attachment ID.
Request that the receiving account mark an incoming message as read.
List iMessage conversations, optionally filtered by participant.
Read a conversation and its participant IDs.
Find or create an iMessage conversation from Photon User IDs.
Start or stop showing a typing indicator for an Agent User.
List Photon Users and Agent Users for iMessage.
Resolve an iMessage phone number or Apple Account email to a Photon User.
Read one Photon User by ID.
List the project's stored attachment metadata.
Read the filename, media type, and other metadata of an attachment.
Download an attachment as a file for subsequent workflow steps.
About Codex
Frequently asked questions
More ways to connect
More tools for Codex
Use iMessage by Photon with other agents
Open your Codex agent in one click.
NoClick runs Codex for you with iMessage by Photon wired in as tools. Connect your account and run.