publish_postPublish post now
Authorize immediate publication; worker delivery remains asynchronous.
Authorization and permissions
Requires a valid delegated OAuth token and access to the selected workspace.
- OAuth scope
mcp:publish- Workspace requirement
- Authorized workspace and current membership required
Publishing access, valid target/approval and publication eligibility.
Input schema
{
"additionalProperties": false,
"properties": {
"account_id": {
"description": "Account id.",
"minimum": 1,
"type": [
"integer",
"null"
]
},
"expected_version": {
"description": "Last-read post concurrency version.",
"minimum": 1,
"type": "integer"
},
"post_id": {
"description": "Public post sqid.",
"maxLength": 32,
"minLength": 1,
"type": "string"
},
"team_id": {
"description": "Consented workspace ID.",
"minimum": 1,
"type": "integer"
}
},
"required": [
"team_id",
"post_id",
"expected_version"
],
"type": "object"
}Result schema
{
"additionalProperties": false,
"properties": {
"post_id": {
"description": "Post id.",
"type": "string"
},
"queued_for_publication": {
"const": true,
"description": "Queued for publication."
},
"version": {
"description": "Version.",
"type": "integer"
}
},
"required": [
"post_id",
"queued_for_publication",
"version"
],
"type": "object"
}Example arguments
{
"account_id": 271,
"expected_version": 6,
"post_id": "P7k2Lm9Q",
"team_id": 42
}Example result
{
"post_id": "P7k2Lm9Q",
"queued_for_publication": true,
"version": 7
}Errors and retry
The connection is limited to 120 tool calls per user per minute and AI tools to 30 calls per user per hour. Invalid or cross-workspace identifiers return not found; revoked membership/scope returns permission denied; invalid input and stale versions return validation errors. Existing product limits still apply; there is no separate MCP subscription quota.
Request metadata (actor, connection, workspace, tool, outcome, duration, and correlation ID) is logged; arguments and results are not. Retry reads freely. Retry a mutation only when marked idempotent; otherwise read current state before deciding whether to repeat it.
Effects, limits, and source
Workspace roles, subscription and AI usage limits, approval rules, and server rate limits are enforced at call time. Rate-limit responses identify when to retry; scheduled work returns state rather than holding the request open.
services.scheduling.publish_post