Codexby OpenAI
Skill · MCP · CLI

Let Codex schedule your posts while it ships your code

Install the skill and Codex learns the groniz commands and the CLI behind them — nothing to configure. Or add the MCP server if you prefer typed tools. Either way it posts and schedules between commits.

SkillMCPCLI
Connect Codex

How to give Codex your accounts

  1. 1

    Install the Groniz skill

    The skill lands in Codex’s skills directory, teaching it every groniz command and installing the CLI they run on — no config.toml edits.

    npx skills add groniz/groniz-cli
  2. 2

    Or add the MCP server

    Prefer typed tools? Codex passes the token from an environment variable — set it, then add the server. The variable must be set before Codex launches.

    export GRONIZ_API_KEY="your-api-key"
    codex mcp add groniz \
      --url https://mcp.groniz.com/mcp \
      --bearer-token-env-var GRONIZ_API_KEY
  3. 3

    Ask it to post

    Codex discovers your accounts and schedules from the same session it codes in.

    > Post the release notes to X and LinkedIn when CI goes green.
Before you rely on it
  • The token env var must be set before Codex starts — a plaintext bearer_token field in config.toml is rejected; only bearer_token_env_var works.
  • codex mcp add has no --header flag; custom (non-Bearer) headers require hand-editing config.toml.
  • ChatGPT on the web does not read local Codex config — this applies to the Codex CLI, IDE extension, and desktop app.
Once it’s connected

What Codex can do for you

The Groniz surface is the same everywhere; what changes is how Codex reaches for it.

Try Post the release notes to X and LinkedIn when CI goes green.

Codex works between commits, so the natural fit is release-driven: wire the post into the same run that ships the code.

Every command below runs against your real Groniz account — the same posting, scheduling and analytics the Console gives you.

MCP tools

  • integrationListlist your connected accounts
  • groupListlist customer groups
  • integrationSchemaget a channel’s posting rules
  • triggerToolrun channel helpers (Discord channels, Reddit flairs…)
  • schedulePostToolschedule, draft or publish a post
  • generateImageToolgenerate an image for a post
  • generateVideoOptionslist video-generation options
  • videoFunctionToolread video generator settings
  • generateVideoToolgenerate a video for a post

CLI commands

  • groniz integrations:listlist connected accounts
  • groniz integrations:settingsget an account’s settings schema
  • groniz integrations:triggerrun a channel helper
  • groniz posts:createcreate or schedule a post
  • groniz posts:listlist posts
  • groniz posts:deletedelete a post
  • groniz analytics:platformread channel analytics
  • groniz analytics:postread a post’s analytics
  • groniz uploadupload media
Codex questions

Codex + Groniz, answered

Why an environment variable instead of pasting the key?+
Codex intentionally does not accept a plaintext token in config.toml — it only reads the token from the env var you name with --bearer-token-env-var, and that var must exist before Codex launches. It is a deliberate safeguard, not a limitation.
Does this work in ChatGPT on the web?+
No. ChatGPT web does not read your local Codex configuration. The MCP-via-config path works in the Codex CLI, the IDE extension, and the ChatGPT desktop app — all of which share ~/.codex/config.toml.
Can an admin block Groniz?+
Yes. An enterprise requirements file can pin an allowlist of MCP server URLs, or disable MCP entirely. If your organization manages Codex, Groniz has to be on that allowlist.

Ready to get started?

Give your agent posting power, or open the Console — free to try, cancel anytime.