MCP tool reference
Every tool the NioConnect MCP server registers: list-channels, get-platform-rules, list-posts, list-workflows, get-workflow and create-post.
The server registers six tools: five that read and one that writes. Each answer is one text item holding JSON, and a refusal is a sentence the model can act on (marked as an error), never a stack trace. Every tool sees exactly the one workspace the credential belongs to, and acts with the role of the person it connected as.
| Tool | Access | What it does |
|---|---|---|
list-channels | Read | The channels the workspace publishes to, with ids and health |
get-platform-rules | Read | What one platform accepts |
list-posts | Read | A page of posts, newest first, with each channel's status |
list-workflows | Read | A page of workflows, with schedule and counters |
get-workflow | Read | One workflow by id |
create-post | Write | Saves a draft, or schedules it when given a time |
The server tells clients to call list-channels first for the ids, and get-platform-rules for a platform before writing for it.
list-channels
Lists the social accounts this workspace publishes to. A channel whose health is not healthy refuses to publish until somebody reconnects it.
Input: none.
Output:
{
"channels": [
{
"id": "0193f0a2-5c1e-7c4a-9b1e-2f6d8a4c1b20",
"platform": "bluesky",
"displayName": "Acme Studio",
"handle": "acme.bsky.social",
"health": "healthy"
}
]
}health is healthy, needs_reconnection or disabled.
get-platform-rules
What one platform accepts: whether it takes media and how many items, whether it supports threads, whether it counts characters in its own weighted unit, whether posting there reaches a community that did not ask for it, what a poll there may look like, and the extra per-post settings it requires. The exact character limit is per channel and sometimes per account, so it is not answered here; the compose step gives the real number.
Input:
| Field | Type | Required | Description |
|---|---|---|---|
platform | string | Yes | The platform value exactly as list-channels reports it, for example x |
Output:
{
"platform": "bluesky",
"editorMode": "plain",
"capabilities": {
"media": "images",
"maxMediaItems": 4,
"threads": true,
"communityRisk": false,
"weightedCounting": false,
"postSettings": [],
"poll": null,
"mediaAltText": true,
"maxAltTextLength": null,
"profileWrite": { "name": true, "avatar": true, "maxNameLength": 64 }
}
}editorMode is the markup the platform parses: plain, markdown or html. A platform with no adapter is refused with a sentence that names it.
list-posts
A page of this workspace's posts, newest first, with the status of every channel copy. Unfinished drafts are left out, but a post submitted and waiting for a teammate to approve it is included: it carries status DRAFT with approvalStatus PENDING. When there is another page the reply carries nextCursor; pass it back as before.
Input:
| Field | Type | Required | Description |
|---|---|---|---|
before | string | No | The nextCursor from a previous call. Omit it for the newest page |
Output:
{
"posts": [
{
"groupId": "0193f0b4-1a2b-7d3e-8f40-5a6b7c8d9e0f",
"excerpt": "We just shipped the new calendar view...",
"publishAt": "2026-12-14T09:00:00.000Z",
"publishTimezone": "Europe/London",
"channels": [
{
"postId": "0193f0b4-1a2b-7d3e-8f40-5a6b7c8d9e10",
"channelId": "0193f0a2-5c1e-7c4a-9b1e-2f6d8a4c1b20",
"status": "QUEUE",
"approvalStatus": "NOT_REQUIRED"
}
]
}
],
"nextCursor": null
}status is one of DRAFT, QUEUE, PUBLISHING, PUBLISHED, ERROR and CANCELLED (Post statuses). approvalStatus is one of NOT_REQUIRED, PENDING, APPROVED, REJECTED, EXPIRED and WITHDRAWN.
list-workflows
A page of this workspace's workflows, which copy the posts of one channel to another on a schedule. Read only.
Input:
| Field | Type | Required | Description |
|---|---|---|---|
after | string | No | The nextCursor from a previous call. Omit it for the first page |
Any other argument is refused.
Output:
{
"workflows": [
{
"id": "0193f0c1-77aa-7b2c-9d3e-0f1a2b3c4d5e",
"sourceChannelId": "0193f0a2-5c1e-7c4a-9b1e-2f6d8a4c1b20",
"destinationChannelId": "0193f0a2-6d2f-7a1b-8c3d-4e5f6a7b8c9d",
"status": "ACTIVE",
"statusSentence": null,
"scope": "FUTURE",
"mediaKinds": ["IMAGE", "TEXT"],
"postTime": "09:00",
"timezone": "Europe/London",
"weekdays": ["MON", "WED", "FRI"],
"order": "OLDEST_FIRST",
"counters": {
"imported": 12,
"posted": 9,
"queued": 2,
"scheduled": 1,
"paused": 0,
"remaining": 2,
"skipped": 1,
"failed": 0
},
"nextPostAt": "2026-12-16T09:00:00.000Z"
}
],
"nextCursor": null
}status is ACTIVE, PAUSED, SUSPENDED or DETECTION_STALLED; a suspended workflow's statusSentence says why.
get-workflow
One workflow by id, with the same fields as list-workflows. An id this workspace does not hold is refused.
Input:
| Field | Type | Required | Description |
|---|---|---|---|
workflowId | string | Yes | A workflow id exactly as list-workflows reports it |
Output: { "workflow": { ... } }, one entry shaped as above.
create-post
Saves a post on the workspace calendar. Without publishAt it is a draft: it goes nowhere until a person opens NioConnect, reviews it and sends it, and that is what an assistant should normally create. With publishAt it is scheduled, and unless the workspace requires approval it goes out at that time with nobody reviewing it first. A time already past is refused: this tool cannot publish immediately. Two identical calls create two posts.
Input:
| Field | Type | Required | Description |
|---|---|---|---|
channelIds | string[] | Yes | Channel ids from list-channels. One call posts the same content to every id |
content | string | Yes | The post text; the first post of a thread when parts is sent |
parts | string[] | No | The rest of a thread, after the first post, in order |
publishAt | string | No | An ISO 8601 instant with its own offset, such as 2026-09-01T09:00:00+01:00. Omit it for a draft |
publishTimezone | string | No | The IANA zone the person meant, such as Europe/London |
Any other argument is refused. Before anything is saved the post is checked against every platform's rules, exactly as the composer checks it; a post too long for one of its platforms is refused with the limit named, and nothing is saved.
Example call:
{
"channelIds": ["0193f0a2-5c1e-7c4a-9b1e-2f6d8a4c1b20"],
"content": "Our new calendar view is live: drag a post to move it, and see every channel at once."
}Output:
{
"groupId": "0193f0d9-2b3c-7d4e-8f50-6a7b8c9d0e1f",
"posts": [
{
"postId": "0193f0d9-2b3c-7d4e-8f50-6a7b8c9d0e20",
"channelId": "0193f0a2-5c1e-7c4a-9b1e-2f6d8a4c1b20",
"status": "DRAFT",
"approvalStatus": "NOT_REQUIRED",
"publishAt": null
}
],
"note": "Saved as a DRAFT. It is not scheduled and will not go out. The person you are helping opens the NioConnect web app to review it and send it."
}The note says what actually happened, read from what was saved: a draft, SCHEDULED, HELD FOR REVIEW when approval applies, or a mix.
Refusals
| The model reads | Why |
|---|---|
| This post was not created. "publishAt" has already passed... | A time in the past would mean publish now, which this tool cannot do |
| No channel was named. Pass at least one id from list-channels in "channelIds". | channelIds is empty |
| That id names no channel this workspace can post to... | An unknown id, or another workspace's |
| That channel is switched off, so nothing can be scheduled to it... | The channel is disabled |
| "publishAt" is not a time this server can read... | Not an ISO 8601 instant with an offset |
| One of the platforms cannot post a thread... | parts sent to a platform without threads |
| You do not have permission to do that. | The connected person's role does not allow it |