Your publishing workflow, callable.
Apps and agents use the same reviewed content, scoped permissions and durable queue as the website.
Connect an app through the HTTP API
- Sign in, create a brand and connect its social accounts.
- In Workspace → Settings, create a key for the specific brand and only the scopes it needs.
- Copy your account’s API base address from Account. Send the key as an Authorization: Bearer header.
GET <your-api-base>/brands Authorization: Bearer <your-scoped-key>
The authenticated OpenAPI schema is available at <your-api-base>/openapi.json.
Connect using an MCP address
Copy your MCP address from Account into an app that supports OAuth. It will open ContentStride in your browser. Review the app identity, select brands, permissions and duration, then allow or decline access. Remove a connection from Account → Authorized apps & agents. Content approval stays in the website.
Claude
- Open Customize → Connectors → Add custom connector in Claude.
- Use ContentStride as the name and paste your MCP address.
- Keep “Sign in now” and “Register automatically,” then add the connector and choose Connect.
- In ContentStride, select your brands, permissions and duration.
Codex and Claude Code
Use the command for your installed client:
codex mcp add contentstride --url <your-mcp-address> claude mcp add --transport http --scope user contentstride <your-mcp-address>
Codex opens browser authorization during setup. In Claude Code, open /mcp and authenticate ContentStride. Your client saves the connection and refreshes its short-lived tokens automatically. Consent lasts up to 30 days; reconnect when it expires or is revoked. Post approval remains separate from signing in.
Clients configured with a key
Copy your MCP address from Account. Clients that support a configured Authorization header can use your brand-scoped key. Revoke that key in Workspace → Settings when you remove the connection.
{
"url": "<your-mcp-address>",
"headers": {
"Authorization": "Bearer <your-scoped-key>"
}
}Use your client’s HTTP MCP connection settings; its configuration format may differ. This configured-key mode remains available alongside browser authorization. A connected agent can prepare and submit approved content. A workspace owner or manager gives human approval in the website; an agent cannot approve.
Connect a local MCP process
The local stdio server connects to a website running on this computer and reads its credential from the client’s environment. Keep keys out of chat messages and source control.
{
"mcpServers": {
"contentstride": {
"command": "/absolute/path/to/Publisher/.venv/bin/python",
"args": [
"-m",
"postharbor.mcp"
],
"env": {
"POSTHARBOR_API_BASE": "<your-api-base>",
"POSTHARBOR_API_KEY": "<your-scoped-key>"
}
}
}
}For a local HTTPS API with a private certificate, add POSTHARBOR_API_CA_FILE to that environment and set it to the public PEM certificate bundle. This process checks the certificate and hostname independently of browser trust. Use the public certificate file, keeping its private key separate.
Prepare, review and schedule
Tools list brands and accounts, inspect drafts, validate revisions, read delivery status, resolve release times and submit an approved revision with an idempotency key. Agents can create and revise drafts. Approval stays in the signed-in website; keys cannot approve unseen content or manage credentials.
Use future release times in drafts to schedule posts. Submission requires an unexpired approval for the exact revision. API acceptance means the job is saved; it is not a platform publication receipt.
Execution and access
App-held schedules need ContentStride’s worker available until dispatch completes. You can close this page after the job is accepted. A key cannot access another account’s workspace; brand scopes narrow access further. Revoke keys in Settings. Platform permissions, outbound pause and YouTube’s manual handoff still apply.