> ## Documentation Index
> Fetch the complete documentation index at: https://docs.postploy.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Postploy's MCP server for posting is https://api.postploy.com/mcp and signs in with OAuth. The REST API base URL is https://api.postploy.com/public/v1 and takes an API key as a Bearer token. The API calls channels accounts.

# Codex

> Connect Postploy to the Codex CLI.

**1. Add the server and sign in**

Run these in your terminal:

```bash theme={null}
codex mcp add postploy --url https://api.postploy.com/mcp
codex mcp login postploy
```

**2. Allow**

Click **Allow** on the Postploy page that opens.

That's it. Ask Codex for posts in plain words:

> Read the release notes in this repo and schedule a LinkedIn post about them for Monday at 10am.

> What's going out on Postploy this week?

## Next

> [card] [What Codex can do](https://docs.postploy.com/ai/tools.md)
>
> The Postploy tools Codex uses.

> [card] [Manage connected apps](https://docs.postploy.com/ai.md#manage-connected-apps)
>
> See or disconnect your connected apps.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.