PostQuickAI

OpenAI Codex Integration

Schedule social media posts from OpenAI Codex CLI

Add the PostQuickAI MCP server to OpenAI Codex CLI and Codex can write, schedule and review your social media posts from the terminal. You can also add 6 skills and an AGENTS.md snippet.

You need Codex CLI and a PostQuickAI plan; every plan includes API access. Your first plan has a 7-day free trial, card required.

1. Add the MCP server with the CLI

codex mcp add postquickai -- npx -y @postquickai/mcp

The -- separator is required. Everything after it is the command and its arguments.

Then edit ~/.codex/config.toml to add your API key env var:

[mcp_servers.postquickai]
command = "npx"
args = ["-y", "@postquickai/mcp"]
env = { POSTQUICKAI_API_KEY = "pq_live_your_key_here" }

Prefer a project-scoped config? Put it in .codex/config.toml in your repo root (trusted projects only).

2. Skills bundle (optional, recommended)

Skills add ready-made workflows for common social media tasks:

# Plugin install (recommended)
codex plugin install postquickai/agent-skills

# Or manual
git clone https://github.com/kodenark/postquickai-agent-skills
cp -r postquickai-agent-skills/skills ~/.codex/skills/

Catalog of skills: postquick.ai/agent-skills.

3. AGENTS.md in your project

Codex treats AGENTS.md as its main project instructions file. Paste our snippet from /agents-md and Codex sessions in that project will know when and how to use the PostQuickAI MCP tools.

4. Try it

In a Codex session:

"Show my PostQuickAI content groups"
"Plan this week's content for my Pro brand: 7 posts spread across Monday-Friday"
"Pull the last 30 days of analytics and summarize top performers"
"Create a thread about our Series A for twitter, threads and bluesky, scheduled for tomorrow 10am ET"
"Reset and retry all posts that failed yesterday"

API and agent access

Included in every plan

Every plan includes the REST API, MCP server, Claude Skills, and AGENTS.md integration, at no extra charge.

FAQ

Frequently Asked Questions

Run `codex mcp add postquickai -- npx -y @postquickai/mcp`, then edit ~/.codex/config.toml to add the POSTQUICKAI_API_KEY env var. Or add the whole [mcp_servers.postquickai] block to config.toml directly.

Global: ~/.codex/config.toml. Project-scoped (trusted projects only): .codex/config.toml in your repo root. MCP servers are defined in [mcp_servers.<name>] tables.

Yes. Codex loads SKILL.md files from ~/.codex/skills/ (user-level) and .agents/skills/ (project-level). Run `codex plugin install postquickai/agent-skills` or clone github.com/kodenark/postquickai-agent-skills and copy the skills/ folder.

Yes. Codex reads AGENTS.md as its main project instructions file. Paste our snippet from /agents-md and Codex will know how to use PostQuickAI in that project.

MCP tools are single actions such as createPost, publishPost and getAnalytics. Skills are written workflows that chain those tools, such as weekly-content-batch and analyze-post-performance. Install the MCP server first, because the skills call its tools.

Yes. Use `codex exec "..."` with the MCP config loaded. Set POSTQUICKAI_API_KEY in the CI environment. You could use it for a nightly analytics digest or to retry failed posts.

Troubleshooting

Connection failed

Set command to npx and provide args as an array. Restart the agent after changing its configuration.

Plan required

MCP and REST API access need an active plan. Every plan includes them. View plans.

API key missing

Create a key in API settings. Keys begin with pq_live_ and belong in the MCP configuration environment block.

Rate limit reached

Basic allows 30 requests/minute and 5,000/day. Pro allows 120 requests/minute and 50,000/day. Read the rate-limit reference.

Codex setup still failing

Check the developer documentation or email konark@arktechllc.net.

Setup guides for other agents

Each guide uses the same PostQuickAI API and MCP server with tool-specific configuration.

Use Codex for your social posts too

Start a plan to get your API key, then run the one setup command above.

Start free trial