Listed from the MCP registry; nobody on Odel publishes it.

Is this yours? Claim it
MCP server: One MCP server.

PostPulse

@post-pulseRun by its publisher: served from their own domain, namespace checked by the registry.MCP server · External

Social media scheduler for Instagram, Facebook, YouTube, TikTok, LinkedIn, X, Bluesky, and Telegram.

Social media managementv1.0.0MITTypeScript
Freeno charge per call

One address for any MCP client. You sign in at auth.post-pulse.com once, after adding it.

What it does

  1. Reads
  2. Writes
  3. High impact

At most: moves money, runs code or commands, deletes data, or sends messages for you.

What it costs

Free

Odel charges nothing per call. The publisher may charge for its own service.

What it asks for at sign-in

Access toReadChange
Stay signed in
Postpulse api

From the sign-in at auth.post-pulse.com, as the endpoint publishes it. You approve it there.

Tools

None listed · checked 25 Nov 2026

Odel could not list its tools without signing in.

Try it in the Inspector
README26 min read

PostPulse MCP Server

smithery badge PostPulse/mcp-server-postpulse MCP server

An MCP (Model Context Protocol) server that connects AI assistants to PostPulse — a social media management platform. Schedule posts, upload media, and manage accounts across Instagram, Facebook, YouTube, TikTok, Threads, LinkedIn, Pinterest, X (Twitter), Bluesky, Telegram and WhatsApp — all through natural language.

Features

  • Multi-platform posting — Schedule posts to 11 platforms from a single interface
  • WhatsApp broadcasts — Send an approved WhatsApp template to a contact list and follow its delivery
  • Media management — Find files in the media library, import images and videos by URL, give the user a link to upload files from their device, or upload small files as base64
  • Account management — List and manage all connected social media accounts
  • Read your posts — List posts by date range and get each post's per-platform status, public link, error and metrics
  • Edit posts — Move a post that is not published yet to another time, or change its text, media or cover, keeping everything else
  • Delete posts and media — Permanently delete a post or one account's publication of it, optionally on the social network too, and files from the media library
  • Connect social accounts from the chat — Get a secure link to connect or reconnect an account without opening the PostPulse app
  • OAuth 2.0 authentication — Secure access via Auth0-based token verification
  • Streamable HTTP transport — Modern MCP transport protocol for reliable communication

Supported Platforms

PlatformPlacementsContent TypesRequirements
InstagramFeed, Reels, StoriesImage, VideoBusiness Account
FacebookFeed, Reels, StoriesImage, VideoPage
YouTubeVideo, ShortsVideoChannel
TikTokVideo, CarouselImage, VideoAccount
ThreadsPostImage, VideoAccount
LinkedInPostImage, VideoPersonal Account
PinterestPinImage, Video, Carousel (2–5 images)Board
X (Twitter)PostImage, VideoAccount
BlueskyPostImageAccount
TelegramMessageText, Image, VideoChannel/Chat
WhatsAppTemplate broadcastApproved template, optional image or video headerWhatsApp Business Account (phone number), contact list created on the website

Quick Start

PostPulse runs a hosted MCP server at https://mcp.post-pulse.com — no setup required. Point your MCP client to this URL and authenticate via OAuth.

Example MCP client configuration:

json
{
  "mcpServers": {
    "postpulse": {
      "url": "https://mcp.post-pulse.com"
    }
  }
}

Install via Smithery

You can also install through Smithery:

bash
npx -y @smithery/cli install post-pulse/mcp-server --client claude

Self-Hosted

If you prefer to run the server yourself:

  1. Clone the repository:
bash
git clone https://github.com/PostPulse/mcp-server-postpulse.git
cd mcp-server-postpulse
  1. Install dependencies and build:
bash
npm install
npm run build
  1. Start the server:
bash
npm start

Or with Docker:

bash
docker build -t mcp-server-postpulse .
docker run -p 3000:3000 mcp-server-postpulse

Environment Variables

VariableDefaultDescription
HOST0.0.0.0Server bind address
PORT3000Server port
PUBLIC_URL—Public-facing URL (for OAuth metadata discovery)
POSTPULSE_AUTH_ISSUERhttps://auth.post-pulse.com/Auth0 issuer URL
POSTPULSE_AUTH_US_JWKS_URIhttps://dev-yb150m5gz2ss41sl.us.auth0.com/.well-known/jwks.jsonJWKS of the US Auth0 tenant; empty turns the US key set off
POSTPULSE_AUTH_US_ISSUERSvalue of POSTPULSE_AUTH_ISSUERComma-separated issuers trusted for US keys
POSTPULSE_AUTH_EU_JWKS_URI—JWKS of the EU Auth0 tenant; empty turns the EU key set off
POSTPULSE_AUTH_EU_ISSUERS—Comma-separated issuers trusted for EU keys
POSTPULSE_AUDIENCEhttps://api.post-pulse.comAPI audience
POSTPULSE_API_URLhttps://api.post-pulse.comPostPulse API base URL
REDIS_URL—Redis connection URL (required). Holds the messages each session sent, for 2 hours, so that a client whose connection drops can resume the stream (see Sessions). Sessions themselves live in memory
SESSION_IDLE_TIMEOUT_MINUTES1440An MCP session with no request started or ended for this long is closed (see Sessions)

Tools

list_accounts

List all connected social media accounts with their IDs, platforms, usernames, and display names. Use this as the first step to discover available accounts before scheduling posts or accessing chats.

Parameters: None

Returns: JSON array of account objects (id, platform, username, name, needsReauthorization). A new user has no accounts yet: the result is [] plus a hint to use connect_account. Accounts with needsReauthorization: true must be reconnected with connect_account before posting; the result names them in a second text block.

connect_account

Get a secure PostPulse link that connects (or reconnects) a social media account to PostPulse directly from the chat. The user opens the link in any browser and lands on a PostPulse page that shows which PostPulse account (masked email) the social account will be attached to. After Continue and approving access on the platform, the page says "Account connected — return to your chat". The tool does not wait for completion: once the user says they are done, call list_accounts to confirm the account.

Parameters:

NameTypeRequiredDescription
platformstringOne of the twoINSTAGRAM, FACEBOOK, YOUTUBE, TIKTOK, THREADS, LINKEDIN, X_TWITTER, BLUE_SKY, TELEGRAM, PINTEREST, WHATSAPP
accountIdnumberOne of the twoReconnect an existing account (from list_accounts, usually one with needsReauthorization: true). The platform is taken from the account

Behaviour:

  • For a new connection the tool first checks that the user may add an account (plan or credits). If not, it returns the reason and a link to billing.
  • The link is single-use, tied to the user's PostPulse account and valid for 24 hours; the platform consent starts only when the user clicks Continue on the page. It must not be shared: whoever completes it attaches their social account to this PostPulse account.
  • If too many links are requested in a short time, the tool asks to wait a few minutes and try again.
  • Telegram cannot be connected with a link: the tool returns instructions to connect it on https://post-pulse.com/app/accounts instead.
  • A new Facebook connection creates one FACEBOOK_PAGE account per picked Page: post to it directly, without list_chats. For TELEGRAM and for a reconnected FACEBOOK account, call list_chats afterwards to pick the channel or Page.
  • A WhatsApp connection creates one WHATSAPP account per WhatsApp Business Account picked in the Meta window and on the PostPulse page; call list_chats for it to get the phone numbers to send from. Contact lists are created on the PostPulse website, where the user confirms that the contacts agreed to receive their messages.
  • Clients that support URL-mode elicitation additionally get a native "open this link" dialog; the link is always in the text result as well.
  • Errors that happen in the browser (account limit, account already used by another PostPulse user, expired link) are shown on the page, not returned by the tool.

list_chats

List publishing destinations for accounts that have sub-destinations. Facebook accounts publish to Pages, Telegram accounts publish to channels or chats, Pinterest accounts publish to boards, and WhatsApp accounts send from their phone numbers. Call this before scheduling posts to these platforms — use the returned id as the facebookPageId, telegramChannelId, pinterestBoardId or whatsappPhoneNumberId in schedule_post.

Only supports accounts whose platform is FACEBOOK, TELEGRAM, PINTEREST or WHATSAPP. Other platforms, including FACEBOOK_PAGE (an account that is one Page), do not have sub-destinations and should be posted to directly.

Parameters:

NameTypeRequiredDescription
accountIdnumberYesAccount ID obtained from list_accounts

Returns: JSON array of destination objects (id, title, type, platform).

list_whatsapp_templates

List the approved message templates of a WHATSAPP account. A WhatsApp post sends one of them: pass its name and language as templateName and templateLanguage in schedule_post, and fill its variables:

  • bodyParameters — a value for every key in bodyParameterKeys ("1", "2", … for POSITIONAL templates, the variable names for NAMED ones);
  • headerParameter — only when headerParameterKey is set, up to 60 characters;
  • buttonParameters — the end of the URL of each button with dynamicUrl: true, keyed by the button's index;
  • mediaPaths — exactly one image or video when headerFormat is IMAGE or VIDEO;
  • androidVideoCompat — only for a header video with its index (the MP4 moov box) at the end of the file, which WhatsApp on Android may fail to play: schedule_post refuses such a video until the user chooses REPACK or SEND_AS_IS.

Templates with supported: false cannot be sent (unsupportedReason says why). Templates are created in WhatsApp Manager, not in PostPulse.

Parameters:

NameTypeRequiredDescription
accountIdnumberYesID of a WHATSAPP account from list_accounts

Returns: the JSON array of templates as the PostPulse API returns it.

list_whatsapp_contact_lists

List the contact lists of a WHATSAPP account. A broadcast goes to one list: pass its id as contactListId in schedule_post. Lists are created and filled on the PostPulse website, where the user confirms that the contacts agreed to receive their messages.

Parameters:

NameTypeRequiredDescription
accountIdnumberYesID of a WHATSAPP account from list_accounts

Returns: JSON array of lists (id, name, contactCount, createdTime).

upload_media

Upload a media file for use in scheduled posts. Supports two modes: importing from a public URL (with automatic processing) or uploading a small file directly as base64. Returns a media key to reference in schedule_post.

Parameters:

NameTypeRequiredDescription
mediaUrlstringNoPublic URL of the media file to import
mediaDatastringNoBase64-encoded content of a file up to about 75 KB
mediaTypestringNoMIME type (e.g., image/jpeg, image/png). Required when using mediaData
mediaNamestringNoFile name with a media extension (e.g., clip.mp4). Needed with mediaData, and with mediaUrl when the URL does not end in such a name
importIdnumberNoId of an import reported as still running, to keep waiting for it

One of mediaUrl, both mediaData and mediaType, or importId must be provided.

Long imports: a call waits about 50 seconds. An import that takes longer keeps running on the server, and the call returns its id and state instead of a media key. Call upload_media again with importId to keep waiting; do not start the import again.

File size: a request to this server is limited to 100 KB, and base64 data travels inside the request, so mediaData fits only files up to about 75 KB. A larger request gets a 413 with a JSON-RPC error that lists the ways to get a media key.

Ways to get a media key, whichever the agent can use. An agent that can reach the files adds them itself, and the user has nothing to upload by hand.

  • list_media: a file already in the library.
  • The gallery at https://post-pulse.com/app/gallery: a person, or an agent with a browser where the user is logged in, adds files there, then list_media gives their keys.
  • create_upload_link: a link to a plain HTTPS page with no login, where a person or an agent with a browser can add files. The result also gives the steps for an agent with only HTTP access. get_upload_link then gives the keys of those files.
  • upload_media with mediaUrl: a file at a public URL.
  • upload_media with mediaData: a file up to about 75 KB.

Get a link to a plain HTTPS page with no login, where a person or an agent with a browser can add files to the user's PostPulse media library. The result also gives the steps for an agent with only HTTP access. An agent that can reach the files adds them itself. An agent that cannot, for example with a file attached to a chat, which does not reach this server, gives the user the link. The tool does not wait for the upload: get_upload_link lists the files that have arrived.

Parameters: none.

Returns: the link, when it expires, the steps for a person opening it, the steps for an agent over HTTP (presign, PUT, confirm), and the uploadLinkId for get_upload_link.

Behaviour:

  • The link takes several files until it expires. The page shows whose PostPulse library the files go to.
  • A person who is to add the files needs the link in full, including the part after #.
  • It must not be shared: whoever has the link can add files to this PostPulse library. For this reason the tool never writes the link to a log.
  • If too many links are requested, the tool asks to wait and try again.

List the files added through a link from create_upload_link. Use it instead of list_media to get exactly these files, without knowing their names.

Parameters:

NameTypeRequiredDescription
uploadLinkIdstringYesThe uploadLinkId from create_upload_link, not the link itself

Returns: a JSON object with expiresAt and files (key, filename, contentType, sizeBytes, status), followed by what to do next.

Behaviour:

  • Pass the keys of CONFIRMED files to schedule_post. If someone else added the files, first show them the file names and ask them to confirm, because whoever has the link can add files. Files the agent added itself need no confirmation.
  • A PENDING file may still be finishing: check again when its upload has ended. A file added over HTTP stays PENDING until its confirm call. A REJECTED file cannot be used.
  • An empty list means nothing has arrived yet.

list_media

List the files in the media library, newest first. Use it to find a file already in the library, such as one uploaded on the PostPulse website at https://post-pulse.com/app/gallery, by its name and pass its key to schedule_post. A file uploaded with mediaData appears a few minutes later, but its key from upload_media works at once.

Parameters:

NameTypeRequiredDescription
pagenumberNoPage number, from 0. Default 0
sizenumberNoFiles per page, 1-50. Default 20

Returns: a JSON object with items (key, filename, contentType, sizeBytes), page, size, totalItems and totalPages. An empty library also gets a hint with the gallery link.

schedule_post

Schedule a social media post to one or more connected accounts. Supports platform-specific options like publication type (feed, reel, story), video titles, and topic tags. Posts are scheduled for a future time using ISO-8601 timestamps.

Parameters:

NameTypeRequiredDescription
accountIdnumberYesAccount ID from list_accounts
platformstringYesTarget platform: INSTAGRAM, FACEBOOK, TELEGRAM, YOUTUBE, TIKTOK, THREADS, LINKEDIN, PINTEREST, X_TWITTER, BLUE_SKY, WHATSAPP
contentstringNoPost text/caption. Not used for WhatsApp: the text comes from the template
mediaPathsstring[]NoMedia keys from list_media, upload_media or get_upload_link. With publicationType: STORY, each key becomes its own story, in the order given, within one post
scheduledTimestringYesISO-8601 timestamp (e.g., 2025-01-15T10:00:00Z)
facebookPageIdstringYes (Facebook)Facebook Page ID from list_chats. Required when platform is FACEBOOK
telegramChannelIdstringYes (Telegram)Telegram Channel/Chat ID from list_chats. Required when platform is TELEGRAM
pinterestBoardIdstringYes (Pinterest)Pinterest Board ID from list_chats. Required when platform is PINTEREST
publicationTypestringNoFEED, REELS, or STORY (Instagram/Facebook, defaults to FEED)
titlestringNoVideo title (YouTube, TikTok) or Pin title (Pinterest, up to 100 characters)
topicTagstringNoTopic tag (Threads)
linkstringNoDestination URL opened when the Pin is clicked (Pinterest)
altTextstringNoAlt text for the Pin image (Pinterest)
boardSectionIdstringNoSection within the board (Pinterest)
whatsappPhoneNumberIdstringYes (WhatsApp)Phone number to send from, from list_chats
contactListIdnumberYes (WhatsApp)Contact list from list_whatsapp_contact_lists
templateNamestringYes (WhatsApp)Approved template from list_whatsapp_templates
templateLanguagestringYes (WhatsApp)Language of that template, as list_whatsapp_templates returns it
headerParameterstringNoValue of the text header variable (WhatsApp)
bodyParametersobjectNoBody variable values by key, e.g. {"1": "20%", "2": "Sunday"} (WhatsApp)
buttonParametersobjectNoURL endings of buttons with a dynamic URL, by button index, e.g. {"0": "autumn-2026"} (WhatsApp)
androidVideoCompatstringNoREPACK or SEND_AS_IS, for a header video with its index (the MP4 moov box) at the end of the file (WhatsApp). The API refuses such a video while this is not set, because WhatsApp on Android may fail to play it. REPACK: PostPulse moves the index to the front without re-encoding. SEND_AS_IS: the file is sent unchanged. The value is the user's decision, so the agent asks them when the API asks for it. No default

list_posts

List posts scheduled or published in a date range (by scheduled time), oldest first: id, overall status, scheduled time, platforms and text. The API is not paginated, so one call spans at most 93 days; split longer periods into several calls. Drafts without a scheduled time are not listed.

Parameters:

NameTypeRequiredDescription
fromDatestringYesISO-8601 date (2026-10-01, start of that UTC day) or timestamp
toDatestringYesISO-8601 date (2026-10-31, end of that UTC day) or timestamp
platformstringNoOnly posts to this platform, as list_accounts returns it
statusstringNoDRAFT, SCHEDULED, AWAITING_MEDIA, MEDIA_IMPORT_FAILED, IN_PROGRESS, COMPLETED, FAILED or PARTIALLY_COMPLETED (published on some platforms or chats, or a WhatsApp broadcast reached only part of its recipients)

get_post

Get one post with its outcome on each account: publicationId (for delete_post), platform, status, the account's items in posts[] (an item's id is postEntryId for edit_post), public link to the published post (url), platform post id, error message, text, attached media (key for delete_media, file name and type), the key of the cover image (thumbnail) when one is set, and the latest metrics PostPulse has:

  • impressions, engagements, likes, shares, comments and profileClicks, common to all platforms. A metric the platform does not report is null;
  • lastUpdatedTime;
  • platformAnalytics: the platform's own analytics for the post under the platform's field names, e.g. view_count on TikTok or views and quotes on Threads. Its fields depend on the platform and the post type, so do not expect a fixed set. It is null when the platform reports none.

Metrics of published posts are refreshed from the platform on each call.

Parameters:

NameTypeRequiredDescription
postIdnumberYesPost id from list_posts or schedule_post

get_whatsapp_delivery

Show how a WhatsApp broadcast went: the number of messages that are pending, sending, accepted, sent, delivered, read, failed, opted out or cancelled, and the most frequent WhatsApp errors. The counts keep changing while WhatsApp reports statuses, also after the post has finished.

Parameters:

NameTypeRequiredDescription
accountIdnumberYesID of the WHATSAPP account
postIdnumberYespublications[].posts[].id of the WhatsApp publication from get_post (not the id of the scheduled post itself)

edit_post

Change a post that is not published yet (DRAFT, SCHEDULED, AWAITING_MEDIA or MEDIA_IMPORT_FAILED) in place, through PATCH /v1/posts/{id}: its scheduled time, and the text, media or cover of its items. Whatever is not passed stays as it is, ids included, and a draft stays a draft.

  • The scheduled time belongs to the whole post: a new time moves it on all its accounts.
  • A post has one or more items per account (publications[].posts[] in get_post, e.g. one per chat). A change names its item by postEntryId; a post with a single item needs none. When a post has several items and a change has no postEntryId, or names an item the post does not have, the tool lists the items and changes nothing.
  • content is the whole new text of the item. mediaPaths replaces all its media. Replacing or removing media also removes the item's cover, unless thumbnailPath sets a new one in the same change.
  • Removing is explicit: clearContent: true removes the text, removeMedia: true removes the media and the cover. An empty content (also only spaces) or an empty mediaPaths is refused. Some clients fill every optional field with "" or [], and such a call must not erase anything.
  • The result has post, the post after the edit as get_post shows it, and before, the previous values of what changed, in the form of edit_post inputs (scheduledTime and changes). Another edit_post with them puts the previous time, text and media back. Replaced files stay in the media library until delete_media removes them. The tool reads the post before each edit to fill before.
  • The tool is marked destructive: the previous values exist only in before of that call.
  • The text of a WhatsApp broadcast comes from its template and cannot be changed. Platform settings (title, privacy, publication type) and the accounts or chats of a post are not part of an edit.

Parameters:

NameTypeRequiredDescription
postIdnumberYesPost id from list_posts, get_post or schedule_post
scheduledTimestringNoNew time for the whole post: ISO-8601 with Z or an offset (e.g. 2026-11-20T14:00:00+02:00), in the future. A time without an offset is refused, because the API would read it as UTC
changesobject[]NoAt most one change per item, see below

Fields of a change (at least one besides postEntryId):

NameTypeDescription
postEntryIdnumberpublications[].posts[].id from get_post. Not needed for a post with a single item
contentstringThe whole new text, replacing the current one. Not empty
clearContentbooleantrue removes the text. Not together with content
mediaPathsstring[]Media keys from list_media, upload_media, get_upload_link or get_post, replacing all media of the item, in this order. Not empty
removeMediabooleantrue removes all media of the item and its cover. Not together with mediaPaths or thumbnailPath
thumbnailPathstringMedia key of an image for the cover of the item's video, used by Instagram Reels

At least scheduledTime or one change is required.

delete_post

Permanently delete a post from PostPulse with its results and metrics, in any status. This cannot be undone, so the tool is marked destructive and its description tells the agent to get the user's confirmation first. Media files stay in the library (see delete_media).

Parameters:

NameTypeRequiredDescription
postIdnumberYesPost id from list_posts, get_post or schedule_post
publicationIdnumberNoDelete only this account's publication (publicationId in get_post). Deleting the last one deletes the whole post
deleteFromPlatformbooleanNoAlso delete the published post on the social network. Default false: what is published stays there

Refusals (nothing is deleted in PostPulse):

  • post_in_progress: the post is being published or, for one publication, its media is still being imported. Try again when that finishes.
  • platform_deletion_not_supported: deleteFromPlatform is strict, and these platforms cannot delete the post. No platform was called.
  • platform_deletion_failed: a platform call failed. Posts already removed from other platforms stay removed, and retrying is safe.

Which platforms support deleteFromPlatform is listed in the API documentation.

delete_media

Permanently delete a file from the media library and storage. A post that is not published yet is deleted on the accounts where it is left without the media the platform requires or without any content; a published or failed post stays and only loses the attachment. What is already published stays on the social network. If a post using the file is being published, the tool returns post_in_progress and nothing is deleted.

Parameters:

NameTypeRequiredDescription
keystringYesMedia key from list_media, upload_media, get_upload_link or media[].key in get_post, not the file name

Resources

postpulse://accounts

An MCP resource providing the list of all connected social media accounts. Returns the same data as the list_accounts tool in JSON format, including needsReauthorization.

Authentication

This server uses OAuth 2.0 with Auth0. OAuth metadata is discoverable at /.well-known/oauth-protected-resource and /.well-known/oauth-authorization-server.

No existing PostPulse account is needed: signing in through the MCP client (with Google or a passwordless email code) creates the PostPulse account on first use. The user then connects social accounts with connect_account.

Dynamic Client Registration (DCR)

MCP clients that support OAuth can register automatically via Dynamic Client Registration (RFC 7591). The server advertises a registration_endpoint in its OAuth metadata, so compliant clients (such as Claude Desktop, Cursor, etc.) will handle the entire OAuth flow — registration, authorization, and token exchange — without any manual setup from the user.

Inactive connections

A connection with no activity for 14 days is removed automatically. Activity is a post scheduled through it or a new MCP session. After that the assistant can no longer refresh its sign-in, and a new sign-in may end on an "Unknown client" page. Reconnect PostPulse in your assistant to get a new connection; your PostPulse account, social accounts, posts and media are not affected.

Pre-Registered Client Credentials

If you already have client credentials created through the PostPulse Developer Portal, you can configure your MCP client to use them directly instead of DCR. Pass your client_id and client_secret in the OAuth authorization code flow against the PostPulse authorization server.

Apps of the Developer Portal follow the same 14-day rule; a removed app can be restored with the same client_id and client_secret on the "Deleted for inactivity" tab of the Applications page.

HTTP Endpoints

PathPurpose
POST /, POST /sseMCP Streamable HTTP transport (initialize + messages), Bearer token required. The body is parsed only after the token check and is limited to 100 KB; a larger one gets 413 with a JSON-RPC error
GET /, GET /sse with Mcp-Session-IdSSE stream for an existing session
GET /, GET /sse with Accept: text/htmlMinimal landing page for browsers and crawlers (links to the setup guide and API docs). Any other Accept without a session still gets 400
GET /healthHealth check (ok)
GET /robots.txtUser-agent: * / Disallow: / — the host is not a website
GET /.well-known/*OAuth metadata and the Smithery server card
anything else404 ({"error":"Not found"} or plain text for HTML clients)

Every response carries X-Robots-Tag: noindex, nofollow so search engines never index this host.

Sessions

Sessions live in the memory of the server process. A client ends its session with DELETE and the Mcp-Session-Id header. The server closes a session itself when no request of it has started or ended for SESSION_IDLE_TIMEOUT_MINUTES (24 hours by default):

  • with no open request, the session is closed;
  • with an open GET stream, the server ends the stream first. A client that is still there opens it again and keeps the session; otherwise the session is closed after one more idle period;
  • after twice the idle period the session is closed even with a request still open.

A client whose response stream breaks during a tool call can resume it with a GET that carries the Mcp-Session-Id and Last-Event-ID headers (a client on protocol 2025-11-25 gets an event ID at the start of each response stream): the stream goes on after that event, and the result of the call arrives on it. If the call ends before the client is back, its result is lost: the server keeps a message only while a stream of its call is open (MCP SDK 1.26). Such a loss is logged at warn as MCP Session error: <session ID> with No connection established for request ID: <id>; the same line reports a failed write or read of Redis and a message the server could not parse. The messages are kept in Redis for 2 hours, and only the session that sent them can replay them. The resume works only while the session is alive.

A restart of the server ends all sessions as well. A request to a session that is gone gets 404: a POST or DELETE gets the JSON-RPC error Session not found (-32001), a GET gets the plain text Session not found. The client then starts a new session with initialize, as the MCP specification requires; an initialize request that still carries the old Mcp-Session-Id gets a new session, not 404.

Example Workflow

A typical interaction with the PostPulse MCP server:

  1. List accounts to find connected social media profiles
  2. Connect an account (if the platform is missing) with connect_account
  3. Get a media key (optional): find a file with list_media, import one by URL with upload_media, or add files through a link from create_upload_link
  4. Schedule a post with content, media, and a future publish time
User: "Schedule an Instagram reel for tomorrow at 9am with the video at https://example.com/video.mp4 and caption 'Check this out!'"

A video without a public URL

A video is too large for mediaData, so it goes through an upload page, with no login. An agent that can reach the file and the page adds it itself, and has nothing to confirm. In a plain chat the user does it:

User:      "Post my new reel to Instagram tomorrow at 9:00 UTC. The file is on my computer."
Assistant: create_upload_link → link, uploadLinkId
           "Open this link, add the video, and tell me when the page says it is uploaded."
User:      "Done"
Assistant: get_upload_link(uploadLinkId) → { files: [{ key: "<user>/<id>.mp4", filename: "reel-42.mp4", status: "CONFIRMED", ... }], ... }
           "I got reel-42.mp4. Is this the right file?"
User:      "Yes"
Assistant: schedule_post(accountId: 123, platform: INSTAGRAM, mediaPaths: ["<user>/<id>.mp4"], publicationType: REELS, scheduledTime: ...)

First run (new user)

User:      "Post 'Hello LinkedIn!' to my LinkedIn tomorrow at 10:00 UTC"
Assistant: list_accounts → [] ("No social accounts are connected yet")
           connect_account(platform: LINKEDIN) → link
           "Open this link, check the PostPulse account on the page, approve access on LinkedIn, then tell me when you are done."
User:      "Done"
Assistant: list_accounts → [{ id: 123, platform: LINKEDIN, ... }]
           schedule_post(accountId: 123, platform: LINKEDIN, content: "Hello LinkedIn!", scheduledTime: ...)

Editing a scheduled post

User:      "Move my Friday reel to Saturday 12:00 Kyiv time and change the caption to 'Weekend drop!'"
Assistant: list_posts(fromDate: ..., toDate: ...) → [{ id: 5, status: SCHEDULED, platforms: [INSTAGRAM], ... }]
           edit_post(postId: 5, scheduledTime: "2026-11-21T12:00:00+02:00", changes: [{ content: "Weekend drop!" }])
           → { post: the post with the new time and text, same ids, same video and cover,
               before: { scheduledTime: "2026-11-20T10:00:00Z", changes: [{ postEntryId: 500, content: "Friday reel!" }] } }
User:      "Actually, put it back"
Assistant: edit_post(postId: 5, scheduledTime: "2026-11-20T10:00:00Z", changes: [{ postEntryId: 500, content: "Friday reel!" }])

Similar modules

Browse Social media management