Schedule social media posts from OpenAI Agents SDK
Give your own agent the Krevaya tools and run content ops on a schedule.
MCP access is included from Essentials up.
Krevaya is the review-first content workspace OpenAI Agents SDK drives through our hosted MCP server. Drafts wait for your approval; auto-publish is opt-in. Last updated October 2026.
How do I connect Krevaya to OpenAI Agents SDK?
Mint a key, paste one snippet, and ask. OpenAI Agents SDK discovers the Krevaya tools your key allows and calls them for you.
Mint a key in Settings → API keys
Pick the scopes OpenAI Agents SDK should have; a read-only key can look but never publish.
Add Krevaya to OpenAI Agents SDK
Pass the key from your secret store; cache_tools_list avoids re-listing tools on every run.
Pythonasync with MCPServerStreamableHttp( name="krevaya", params={ "url": "https://api.krevaya.com/mcp", "headers": {"Authorization": f"Bearer {krevaya_key}"}, "timeout": 600, }, client_session_timeout_seconds=600, cache_tools_list=True, ) as krevaya: agent = Agent(name="content-ops", mcp_servers=[krevaya])OpenAI Agents SDK finds the Krevaya tools
Filtered to the scopes you chose and your plan, plus four ready-made prompts: content_ops · weekly_review · repurpose_source · plan_week (two on Essentials, which has no Krevaya AI).
Ask in plain language
Drafts land in your review queue, and a connection with Publish can also approve and schedule posts. Scheduled posts publish on time, even after you close OpenAI Agents SDK.
What can you ask OpenAI Agents SDK to do?
Good to know for OpenAI Agents SDK
- Set both the request timeout and client_session_timeout_seconds to 600: repurpose and draft_week run real pipelines and outlive the SDK's defaults.
- Drafts your agent creates land in the review queue like everyone else's. Approve them in Krevaya, turn on auto-publish for that brand, or give the key Publish so the agent can approve and schedule them itself. Pinterest, TikTok, Tumblr and YouTube posts always need your approval, one post at a time.
- Krevaya hosts the MCP server, so there is nothing to install or run. How the Krevaya MCP server works
OpenAI Agents SDK or Codex?
Both connect to the same server and see the same tools. The difference is where you work.
| OpenAI Agents SDK | Codex | |
|---|---|---|
| What it is | A library for building your own agent in Python or TypeScript | OpenAI's coding agent, in your terminal |
| How it connects | MCPServerStreamableHttp in your code | codex mcp add with the key in an environment variable |
| Best for | Scheduled or unattended runs you control | Asking in your own words, interactively |
Questions about OpenAI Agents SDK and Krevaya
How does Krevaya work with OpenAI Agents SDK?
Krevaya hosts a remote MCP server. Add it to OpenAI Agents SDK with the snippet on this page and OpenAI Agents SDK gets Krevaya's tools: list and triage drafts, create posts, draft a week, design and edit video templates, schedule, and read results. Everything runs through the same review-first pipeline as the dashboard.
How do I connect Krevaya to OpenAI Agents SDK?
Mint a key in Settings → API keys, choose its scopes, then pass the server to your agent's mcp_servers. There is nothing to install on Krevaya's side; the server is hosted.
Do I need a paid plan?
MCP access is included on every paid Krevaya plan, starting with Essentials ($19 per month), with the same usage allowances as the rest of your account. On Essentials, OpenAI Agents SDK writes the copy itself; the tools that generate with Krevaya AI need Plus or higher. OpenAI Agents SDK's own requirements are set by OpenAI, not by Krevaya.
Can OpenAI Agents SDK post while I'm away?
Only what is approved, by you or by a connection you gave the Publish permission. Without Publish, OpenAI Agents SDK can only draft, and drafts wait in your review queue; with it, OpenAI Agents SDK can approve and schedule posts itself. Approved and scheduled posts publish at their time whether or not OpenAI Agents SDK is open. Auto-publish is opt-in per brand, and you can turn it back off any time. Pinterest, TikTok, Tumblr and YouTube are the exception: no connection can approve those, you approve each one in Krevaya.
Is it safe? Does OpenAI Agents SDK need my social media passwords?
No. OpenAI Agents SDK talks to Krevaya with a scoped API key, and Krevaya publishes through each platform's official API with tokens encrypted at rest. A read-only connection cannot publish at all. Revoke it in one click under Settings → API keys and the connection is gone.
Which platforms can OpenAI Agents SDK post to?
Any channel connected to your Krevaya workspace: Facebook, Instagram, Threads, LinkedIn, Bluesky, X, Mastodon, Tumblr, TikTok, YouTube, Pinterest, Telegram, LINE, Microsoft Teams, Mattermost, Google Chat, Lemmy, Discourse, Circle, WordPress, Ghost, Dev.to, Hashnode, Beehiiv, Buttondown, Kit, Listmonk, Pixelfed and Dribbble. Available formats depend on the channel and your connected account. Reddit is in platform review and open to preview accounts only. Discord, Slack, Whop and Vimeo are coming soon and cannot be connected yet.
OpenAI Agents SDK doesn't show the Krevaya tools. What should I check?
Three things: the key is sent as an Authorization: Bearer header, the URL is exactly https://api.krevaya.com/mcp, and the key's scopes cover what you are asking for, because tools are filtered per key. For OpenAI Agents SDK specifically: Set both the request timeout and client_session_timeout_seconds to 600: repurpose and draft_week run real pipelines and outlive the SDK's defaults.
Is it free to start?
MCP access starts with Essentials. Eligible accounts can try a plan for 7 days at $0 with a card required. Sign-up is open.
Connect OpenAI Agents SDK to your Krevaya workspace
MCP access is included from the Essentials plan up. Create your account and choose your plan.
Try a plan for 7 days. Card required.