Connect your assistant
Give your assistant a private connection to your workspace.
On this page
Before you begin
Your HTTPS OwnPost workspace and an assistant that supports remote HTTP MCP connections. Generated plugins support browser sign-in in compatible clients; the Codex and Claude Code examples below are for manual connection keys.
Choose the setup for your assistant
Choose the Codex or Claude Code tab below for your connection settings. Create a separate key for each assistant. For ChatGPT, follow its OAuth guide.
Steps
For a generated plugin, open /settings/plugins, choose your client, install its download and authorize the bundled server through browser sign-in. Use the plugin guide linked below. Continue with these manual steps only if you need a separate connection key.
Open Settings → Connections → AI writing → AI assistant, choose your client and open Manage access and connection keys. Create an agent connection and name it for this client, such as Codex laptop.
Choose Full workspace tools for drafting, preferences and AI actions, or Assistant preparation only for legacy assigned preparation. Leave Allow approved publication off unless this client will execute work you have approved for X.
Create the connection and save the key while it is visible. Keep it in your client's private settings or environment, then choose I saved these details.
Select your client's tab below. Replace the example URL with your workspace's /api/mcp endpoint and make OWNPOST_MCP_KEY available to the assistant process. Restart or reconnect the client.
Paste the connection-check example below. Confirm it returns your accounts and preferences, then check Last contact in OwnPost.
Add this to ~/.codex/config.toml and replace YOUR-WORKSPACE with your host. Set OWNPOST_MCP_KEY to your connection key in the environment that launches Codex. For the desktop app, use its private MCP settings; an export in another terminal may not reach the app. Restart Codex after setup.
Example request
Name separate connections Codex laptop, Claude runner and Cursor so their activity is recognizable. Verify each with a real read before asking it to change content. ChatGPT uses the separate OAuth setup guide.
Check the result
Your assistant returns your workspace accounts and preferences, and Last contact updates in OwnPost.
Troubleshooting
For 401, check the endpoint, bearer configuration and whether the key was revoked. Assistant preparation only access cannot change workspace settings or manage all content. Reconnect the client after changing its environment.