---
canonical_url: "https://docs.composio.dev/toolkits/typefully_mcp"
markdown_url: "https://docs.composio.dev/toolkits/typefully_mcp.md"
product: "platform"
version: null
last_updated: null
---

# Typefully MCP

Draft, schedule and manage social posts, media, tags, queues, comments and engagements in Typefully through Typefully's hosted MCP server.

- **Category:** model context protocol
- **Auth:** DCR_OAUTH
- **Composio-managed OAuth available?** No
- **Tools:** 29
- **Triggers:** 0
- **Slug:** `TYPEFULLY_MCP`
- **Version:** 00000000_00

## Tools

### Comments add comment to thread

**Slug:** `TYPEFULLY_MCP_COMMENTS_ADD_COMMENT_TO_THREAD`

Append a comment to an existing comment thread. Returns the full updated thread.

**Required permission:** WRITE access to this social set.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `draft_id` | number | Yes |  |
| `requestBody` | object | Yes | Add a comment to an existing comment thread. |
| `social_set_id` | number | Yes |  |
| `comment_thread_id` | string | Yes |  |

### Comments resolve thread

**Slug:** `TYPEFULLY_MCP_COMMENTS_RESOLVE_THREAD`

Resolves the comment thread and removes the corresponding comment markers from the text.

**Required permission:** Either authorship of the comment thread or WRITE access on the social set.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `draft_id` | number | Yes |  |
| `social_set_id` | number | Yes |  |
| `comment_thread_id` | string | Yes |  |

### Create comment

**Slug:** `TYPEFULLY_MCP_CREATE_COMMENT`

Create a new comment thread on a draft. A comment thread is the anchored discussion container; comments are the messages inside the thread.

For post platforms (`x`, `linkedin`, `mastodon`, `threads`, `bluesky`, `substack`), provide `post_index` and anchor to a substring of that post's visible text using `selected_text`. Use `occurrence` to disambiguate when the same substring appears more than once; omit it to anchor on the first match.

For X Articles, send `platform: "x_article"` and omit `post_index` (or use 0). `selected_text` matches commentable article text in document order; Markdown syntax, media tags, X post embed tags, and fenced-code text are ignored. Code blocks do not support comment anchors. X Article text comments cannot overlap existing stored X Article anchors; unsupported or overlapping selections return `400 VALIDATION_ERROR`.

LinkedIn mentions appear in `posts[*].text` as `@[Name](urn:li:organization:ID)` or `@[Name](urn:li:person:ID)`. A mention is indivisible — `selected_text` must either contain the entire mention substring or stay outside it.

**Required permission:** WRITE access to this social set.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `draft_id` | number | Yes |  |
| `requestBody` | string | Yes | The JSON request body. |
| `social_set_id` | number | Yes |  |

### Create draft

**Slug:** `TYPEFULLY_MCP_CREATE_DRAFT`

Create a new draft with content for one or more social media platforms. The draft can be saved as a draft, planned (`plan_at`: dated but inert - it never auto-publishes until confirmed), scheduled for later publishing, or published immediately.

**Account-level settings:** This endpoint automatically applies the following account-level settings if enabled: Auto-Retweet, Auto-Plug, and Natural Posting Time.

**Required permission:** WRITE access to create drafts (planning included - it creates no publishing commitment). PUBLISH access is required to schedule or publish immediately.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `requestBody` | object | Yes | Request schema for creating a draft |
| `social_set_id` | number | Yes |  |

### Create engagement

**Slug:** `TYPEFULLY_MCP_CREATE_ENGAGEMENT`

Make another draft publish `offset_seconds` after this one, quoting its post. If this draft already published, the engagement is scheduled for now + offset.

**Required permission:** READ access to this social set, and PUBLISH access to the engagement draft's social set.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `draft_id` | number | Yes |  |
| `requestBody` | object | Yes | The JSON request body. |
| `social_set_id` | number | Yes |  |

### Create media upload

**Slug:** `TYPEFULLY_MCP_CREATE_MEDIA_UPLOAD`

Generate a presigned S3 upload URL for images, videos, GIFs, or PDFs. After you receive the URL, upload the file contents with a PUT request and then reference the returned media_id when creating drafts.

**Uploading:** Send a plain PUT with only raw file bytes as the body — no extra headers (`Content-Type`, `Authorization`, etc.). The presigned URL signature was calculated without them, so adding headers causes a `403 SignatureDoesNotMatch`. Use `curl -T <file>` (not `--data-binary`), `requests.put(url, data=file_bytes)` in Python, or `fetch(url, {method:'PUT', body:buffer})` in JS. A successful upload returns `200` or `204`.

**Required permission:** WRITE access to the social set.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `requestBody` | object | Yes | Schema for media upload request |
| `social_set_id` | number | Yes |  |

### Create tag

**Slug:** `TYPEFULLY_MCP_CREATE_TAG`

Create a new tag for a social set. The slug is automatically generated from the tag name, which must be unique per social set.

**Required permission:** WRITE access to the social set.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `requestBody` | object | Yes | Request schema for creating a tag |
| `social_set_id` | number | Yes |  |

### Delete comment

**Slug:** `TYPEFULLY_MCP_DELETE_COMMENT`

Deletes a comment from a comment thread. If `comment_id` identifies the *root* (oldest) comment, the entire thread is deleted and the corresponding comment markers are removed from the text.

**Required permission:** Authorship of the comment or WRITE access on the social set.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `draft_id` | number | Yes |  |
| `comment_id` | string | Yes |  |
| `social_set_id` | number | Yes |  |
| `comment_thread_id` | string | Yes |  |

### Delete draft

**Slug:** `TYPEFULLY_MCP_DELETE_DRAFT`

Delete a draft. Requires WRITE access. You can delete your own drafts in any status (DRAFT, ERROR, SCHEDULED, PUBLISHED, PUBLISHING) with WRITE access. Drafts created by other users also require WRITE access to delete.

**Required permission:** WRITE access to this social set.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `draft_id` | number | Yes |  |
| `social_set_id` | number | Yes |  |

### Delete thread

**Slug:** `TYPEFULLY_MCP_DELETE_THREAD`

Deletes the comment thread along with all its comments and removes the corresponding comment markers from the text.

**Required permission:** Authorship of the comment thread or WRITE access on the social set.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `draft_id` | number | Yes |  |
| `social_set_id` | number | Yes |  |
| `comment_thread_id` | string | Yes |  |

### Edit draft

**Slug:** `TYPEFULLY_MCP_EDIT_DRAFT`

Update an existing draft with partial update semantics. Only provided fields are updated; omitted fields remain unchanged. Scheduled drafts require publish access to edit.

## Planning

A planned draft is dated but inert: it has a `scheduled_date` but never auto-publishes until confirmed. Use `plan_at` and `publish_at` (mutually exclusive per request) to move a draft through the lifecycle:

- `plan_at=<datetime|"next-free-slot">` on a plain draft plans it, on a planned draft moves the date (both write access), and on a scheduled draft unschedules it into a plan (publish access - it disarms a live schedule).
- `publish_at=<datetime|"next-free-slot">` on a planned draft confirms it into a real schedule (publish access; echo the draft's `scheduled_date` to confirm at the planned date). `publish_at="now"` publishes it immediately.
- An explicit `plan_at=null` or `publish_at=null` clears the date and returns the draft to plain draft status (write access from planned, publish access from scheduled).
- Content edits on a planned draft require write access only.

## Note about Comment-thread markers

If the draft has comment threads, submitted `posts[*].text` and X Article `platforms.x_article.content_markdown` must preserve the Typefully comment-thread markers received from `GET /drafts/{id}`. Validation is platform-level: every comment thread anchored on a platform must appear somewhere in that platform's submitted text.

Recommended edit flow: GET the draft without `exclude_comment_markers`, modify text while preserving markers exactly, then PATCH with `force_overwrite_comments: false` (the default).

- `409 COMMENTS_MARKER_MISMATCH` will be thrown if an expected comment thread marker is missing unless `"force_overwrite_comments": true` is set, in which case the affected threads are resolved server-side.
- `400 COMMENTS_MARKER_UNKNOWN_ID` will be thrown if you submit an id that doesn't exist on this draft. - `400 COMMENTS_MARKER_MALFORMED` will be thrown if the marker tag is malformed (bad UUID, unbalanced, attribute violations, etc.).

Pass `?exclude_comment_markers=true` to render the response text without markers (read-only / display rendering — does NOT skip server-side marker validation on the request body). Do not PATCH content returned with that flag unless you intend to resolve or remove comment anchors.

**Required permission:** WRITE access to edit drafts. PUBLISH access is required to edit scheduled drafts, schedule, or publish.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `draft_id` | number | Yes |  |
| `requestBody` | object | Yes | Request schema for updating a draft (partial updates supported) |
| `social_set_id` | number | Yes |  |
| `exclude_comment_markers` | boolean | No | Render the response's `posts[*].text` as plain text without `<typ:comment-thread>` markers, and render X Article `content_markdown` without comment markers. Render-only — does not affect request-body validation. |

### Engagements detach engagement

**Slug:** `TYPEFULLY_MCP_ENGAGEMENTS_DETACH_ENGAGEMENT`

Detach the engagement. The draft is kept: planned at its date if that's in the future, otherwise undated.

**Required permission:** PUBLISH access to the engagement draft's social set.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `draft_id` | number | Yes |  |
| `engagement_id` | number | Yes |  |
| `social_set_id` | number | Yes |  |

### Get draft

**Slug:** `TYPEFULLY_MCP_GET_DRAFT`

Retrieve a specific draft by ID, including its content for all configured platforms, status, and scheduling information.

If the draft has comment threads, the response includes Typefully comment-thread markers in `posts[*].text` and, for X Articles, in `platforms.x_article.content_markdown`. These markers are structural anchor metadata for `GET → modify → PATCH` round-trips; preserve them exactly when editing.

For read-only display/export, pass `?exclude_comment_markers=true` to render draft text without markers. Content returned with that flag set should not be PATCHed back unless you intend to resolve or remove comment anchors.

**Draft statuses:** 'draft' = saved but not scheduled. 'scheduled' = queued to auto-publish at its scheduled_date. 'planned' = dated but inert: it has a scheduled_date but will NOT auto-publish until confirmed (by setting publish_at). A planned draft whose scheduled_date has passed is NOT overdue and NOT a failure - it simply hasn't been confirmed; replan it or confirm it. 'publishing' = a publish is in flight (transient). 'published' = successfully posted. 'error' = publishing failed.

**Required permission:** READ access to this social set.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `draft_id` | number | Yes |  |
| `social_set_id` | number | Yes |  |
| `exclude_comment_markers` | boolean | No | When true, render `posts[*].text` as plain user-visible text without `<typ:comment-thread>` markers, and render X Article `content_markdown` without comment markers. Use only for read-only flows (LLM context windows, exports). The default (false) emits markers so a round-trip back to PATCH preserves comment anchors. |

### Get engagement parent

**Slug:** `TYPEFULLY_MCP_GET_ENGAGEMENT_PARENT`

The draft this engagement publishes after, with its first post per platform. Readable even without access to the parent's social set.

**Required permission:** READ access to this social set (the engagement's).

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `draft_id` | number | Yes |  |
| `social_set_id` | number | Yes |  |

### Get me

**Slug:** `TYPEFULLY_MCP_GET_ME`

Retrieve the currently authenticated Typefully user associated with your API Key

### Get media status

**Slug:** `TYPEFULLY_MCP_GET_MEDIA_STATUS`

Retrieves the processing status of an uploaded media file. Poll this endpoint after uploading to check when the file is ready to use in drafts.

If no file is received before the upload URL expires (1 hour), the media transitions to 'failed' — create a new media upload and try again.

**Required permission:** READ access to the social set.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `media_id` | string | Yes |  |
| `social_set_id` | number | Yes |  |

### Get queue

**Slug:** `TYPEFULLY_MCP_GET_QUEUE`

Retrieve queue slots and the scheduled AND planned drafts occupying them, between `start_date` and `end_date` (inclusive). Check each draft's `status`: 'scheduled' = will auto-publish at its `scheduled_date`; 'planned' = dated but inert - it will NOT auto-publish until confirmed (a past planned date is not overdue and not a failure).

**Required permission:** READ access to this social set.

Notes:
- `start_date` and `end_date` are interpreted in the social set timezone.
- Ranges larger than 62 days are rejected.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `end_date` | string | Yes |  |
| `start_date` | string | Yes |  |
| `social_set_id` | number | Yes |  |

### Get queue schedule

**Slug:** `TYPEFULLY_MCP_GET_QUEUE_SCHEDULE`

Retrieve the queue schedule rules for a social set.

**Required permission:** READ access to this social set.

Behavior:
- If the schedule row does not exist yet, it is created with defaults.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `social_set_id` | number | Yes |  |

### Get social set details

**Slug:** `TYPEFULLY_MCP_GET_SOCIAL_SET_DETAILS`

Retrieve detailed information about a social set, including every configured social media platform (X, LinkedIn, Mastodon, Threads, Bluesky) with account details and profile information.

**Required permission:** READ access to the social set.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `social_set_id` | number | Yes |  |

### Linkedin resolve linkedin organization from url

**Slug:** `TYPEFULLY_MCP_LINKEDIN_RESOLVE_LINKEDIN_ORGANIZATION_FROM_URL`

Resolve a LinkedIn company/school URL into organization metadata that can be used to build LinkedIn mention syntax in post text.

This endpoint is resolver-only and is not a general organization search endpoint.

Mention format: `@[Company Name](urn:li:organization:123456)`

**Required permission:** READ access to the social set.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `social_set_id` | number | Yes |  |
| `organization_url` | string | Yes | Public LinkedIn organization URL (company or school profile). |

### List comments

**Slug:** `TYPEFULLY_MCP_LIST_COMMENTS`

Retrieve comment threads attached to a draft, ordered by creation time. Each thread includes the original `selected_text` snapshot and the full ordered list of comments.

By default this endpoint returns only unresolved threads (`status=unresolved`). Use `status=resolved` to list resolved threads or `status=all` to list both unresolved and resolved threads. Example: `GET /v2/social-sets/4/drafts/12/comment-threads?status=all&limit=50`.

**Required permission:** READ access to this social set.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `limit` | number | No |  |
| `offset` | number | No |  |
| `status` | string ("unresolved" | "resolved" | "all") | No | Resolution filter. Defaults to `unresolved`, so resolved threads are omitted unless you request `resolved` or `all`. |
| `draft_id` | number | Yes |  |
| `platform` | string | No | Optional platform filter. |
| `social_set_id` | number | Yes |  |

### List drafts

**Slug:** `TYPEFULLY_MCP_LIST_DRAFTS`

Retrieve all drafts for a specific social set with optional filtering and sorting. Drafts are ordered by last edited date (most recent first) by default.

**Draft statuses:** 'draft' = saved but not scheduled. 'scheduled' = queued to auto-publish at its scheduled_date. 'planned' = dated but inert: it has a scheduled_date but will NOT auto-publish until confirmed (by setting publish_at). A planned draft whose scheduled_date has passed is NOT overdue and NOT a failure - it simply hasn't been confirmed; replan it or confirm it. 'publishing' = a publish is in flight (transient). 'published' = successfully posted. 'error' = publishing failed.

**Required permission:** READ access to this social set.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `tag` | string | No |  |
| `limit` | string | No | Maximum number of items to return per page |
| `offset` | number | No | Number of items to skip from the beginning |
| `status` | string | No | Filter by draft status. 'draft' = saved but not scheduled. 'scheduled' = queued to auto-publish at its scheduled_date. 'planned' = dated but inert: it has a scheduled_date but will NOT auto-publish until confirmed (by setting publish_at). A planned draft whose scheduled_date has passed is NOT overdue and NOT a failure - it simply hasn't been confirmed; replan it or confirm it. 'publishing' = a publish is in flight (transient). 'published' = successfully posted. 'error' = publishing failed. |
| `order_by` | string ("created_at" | "-created_at" | "updated_at" | "-updated_at" | "scheduled_date" | "-scheduled_date" | "published_at" | "-published_at") | No | Allowed order_by fields for draft listing - prevents SQL injection |
| `social_set_id` | number | Yes |  |

### List engagements

**Slug:** `TYPEFULLY_MCP_LIST_ENGAGEMENTS`

List the drafts that publish after this one (its engagements), in any social set.

**Required permission:** READ access to this social set.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `draft_id` | number | Yes |  |
| `social_set_id` | number | Yes |  |

### List social sets

**Slug:** `TYPEFULLY_MCP_LIST_SOCIAL_SETS`

Retrieve all social sets (accounts) you can access. This includes accounts you own directly and accounts that belong to teams you are a member of.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `limit` | string | No | Maximum number of items to return per page |
| `offset` | number | No | Number of items to skip from the beginning |

### List tags

**Slug:** `TYPEFULLY_MCP_LIST_TAGS`

Retrieve all tags for a social set, ordered by their slugs.

**Required permission:** READ access to the social set.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `limit` | string | No | Maximum number of items to return per page |
| `offset` | number | No | Number of items to skip from the beginning |
| `social_set_id` | number | Yes |  |

### Queue put queue schedule

**Slug:** `TYPEFULLY_MCP_QUEUE_PUT_QUEUE_SCHEDULE`

Replace the queue schedule rules for a social set.

**Required permission:** ADMIN access to this social set.
Semantics: full replacement (atomic).

Rule validation:
- `h` in `0..23`, `m` in `0..59`
- `days` values are one of: `mon,tue,wed,thu,fri,sat,sun`
- Duplicate day+time combinations are rejected

Note: `rules=[]` is allowed and represents an empty schedule.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `requestBody` | object | Yes | Request schema for fully replacing queue schedule rules. |
| `social_set_id` | number | Yes |  |

### Update comment

**Slug:** `TYPEFULLY_MCP_UPDATE_COMMENT`

Update the plain-text body of a single comment. Returns the full updated thread.

**Required permission:** Authorship of the comment.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `draft_id` | number | Yes |  |
| `comment_id` | string | Yes |  |
| `requestBody` | object | Yes | Update the text body of a single comment within a comment thread. |
| `social_set_id` | number | Yes |  |
| `comment_thread_id` | string | Yes |  |

### Update engagement

**Slug:** `TYPEFULLY_MCP_UPDATE_ENGAGEMENT`

Change how long after this draft the engagement publishes. Rejected once this draft has published.

**Required permission:** PUBLISH access to the engagement draft's social set.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `draft_id` | number | Yes |  |
| `requestBody` | object | Yes | The JSON request body. |
| `engagement_id` | number | Yes |  |
| `social_set_id` | number | Yes |  |

### Update media

**Slug:** `TYPEFULLY_MCP_UPDATE_MEDIA`

Updates metadata of an uploaded media file. Currently supports setting or clearing `alt_text`.

Alt text is copied into a draft when the media is attached (draft create or edit), so set it **before** referencing the media in a draft. To reliably change alt text on media already attached to a draft, update the media and then re-send the draft content with a draft PATCH. (Some platforms fall back to the media's current alt text when the draft snapshot has none, but only re-sending the draft content updates it everywhere.)

**Required permission:** WRITE access to the social set.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `media_id` | string | Yes |  |
| `requestBody` | object | Yes | Schema for media update request |
| `social_set_id` | number | Yes |  |
