Skip to content

Codex + Wahlu

Post to LinkedIn from Codex with Wahlu

Connect Codex to Wahlu once, then plan, draft and schedule posts for LinkedIn personal profiles connected to Wahlu from the Codex CLI, IDE extension and app. Every schedule can wait for your approval.

What Codex can prepare on LinkedIn
  • Text post

    A caption on its own.

  • Image post

    One image with a caption.

  • Video post

    One video with a caption.

  • Link post

    A caption with a link card and its own title of up to 399 characters.

Ask Codex for LinkedIn posts

Example prompts and the steps to expect. These are illustrations, not recorded conversations.

Example prompt

“Write a LinkedIn post for my personal profile from the changes in this branch: what changed, who it helps and one honest lesson. Hold it for review.”

Example prompt

“Create a LinkedIn video post from the demo linked in the changes in this branch, visible to anyone, and run a readiness check.”

Example prompt

“Draft a LinkedIn link post pointing to the release notes for the changes in this branch, then tell me when my next free morning slot is.”

What Wahlu does on LinkedIn

Codex works through Wahlu's tools, so it can set the LinkedIn options Wahlu supports.

LinkedIn settings on a draft

Post type
Text, image, video or link.
Visibility
Anyone, or connections only.

Wahlu posts to LinkedIn personal profiles only. Company Page posting and native LinkedIn articles aren't available.

The tool calls, in order

  1. 01

    list_targetsFinds the brand's connected LinkedIn account and checks it's ready.

  2. 02

    upload_media, import_media_from_url or list_mediaBrings in the image or video, or picks one from your media library.

  3. 03

    create_draftCreates the draft with its caption and linkedin_settings, such as the post type.

  4. 04

    preflight_draftChecks the draft against LinkedIn's rules without changing it.

  5. 05

    create_schedulePuts it on the calendar at pending_review, held for your approval.

LinkedIn limits to know

Wahlu checks these before a post is scheduled, so the agent finds out early.

Getting images and video to LinkedIn

The agent can read a file in your project and upload it with upload_media. Files over 8 MB, including most video, go to a short-lived upload link the agent sends the file to. Public links and your media library work too.

Connect Codex to Wahlu

Set this up once and Codex can work on every network you've connected, not just LinkedIn.

  1. 1

    Run codex mcp add to add Wahlu. It's saved in ~/.codex/config.toml, which the Codex CLI, IDE extension and app share.

  2. 2

    Run codex mcp login wahlu and sign in to Wahlu in the browser that opens.

  3. 3

    Start a new Codex session so it picks up Wahlu's tools.

Checked against the Codex docs on 27 September 2026. Menus can change; if a step doesn't match what you see, follow the vendor's current instructions.

Add Wahlu to Codex
codex mcp add wahlu --url https://mcp.wahlu.com/mcp
codex mcp login wahlu

In the Codex IDE extension or app you can add it from the gear menu instead: MCP servers → Add server, choose Streamable HTTP and paste the URL, then restart. Codex signs in with a Client ID Metadata Document, which is what Wahlu uses.

You stay in control.

Every Wahlu plan includes agent access, through MCP and the API. You choose the workspace, brands and permissions each connection gets, and can disconnect it at any time.

Held until you approve

Agents create schedules at pending_review unless you've told them to publish. A held schedule can't publish until you approve it in the Wahlu calendar.

Publishing is its own permission

Publish to social accounts is separate from Manage your schedule. Leave it unticked and nothing your agent schedules can go out on its own.

Checked before it's scheduled

preflight_draft reports anything that would stop a post, such as media the network won't accept or a caption that's too long, without changing anything.

Some things stay in the app

Queues, general edits to existing drafts, approvals and connecting social accounts happen in the Wahlu app, not through your agent.

Your next LinkedIn post, drafted by Codex.

Connect your LinkedIn account in Wahlu, then give Codex a specific brief.