Publer MCP by usefulapi

v1.1.1
io.usefulapi/publer Checked 1 day ago Published 1 hour ago

Read posts, accounts, media and analytics; schedule posts or save drafts in Publer.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

publer_get_current_user Get the current user

Get the Publer user that owns the API key: name, email and first name. Good first call to confirm the key works. Publer API: GET /api/v1/users/me.

publer_list_workspaces List workspaces

List the Publer workspaces this API key can access: id, name, plan and members. Use a workspace id here as the workspace for every other call. Publer API: GET /api/v1/workspaces.

publer_get_workspace Get a workspace

Get one workspace by id: name, plan, owner and members. Publer API: GET /api/v1/workspaces/{id}.

ParameterTypeDescription
workspace_id *stringWorkspace id (from publer_list_workspaces).

publer_list_accounts List social accounts

List the social accounts connected to the workspace: id, provider (facebook, instagram, linkedin, ...), name and type. Account ids are needed for posts and analytics. Publer API: GET /api/v1/accounts.

publer_get_account Get a social account

Get one connected social account by id, with its privacy settings. Publer API: GET /api/v1/accounts/{id}.

ParameterTypeDescription
account_id *stringAccount id (from publer_list_accounts).

publer_list_posts List posts

List posts in the workspace, filtered by state, date range, account, post type or text. Returns posts with their networks, accounts, schedule and state, plus paging totals. Publer API: GET /api/v1/posts.

ParameterTypeDescription
account_idsarrayOnly posts for these account ids.
fromstringOnly posts scheduled or published on or after this date. Needs 'to'.
member_idstringOnly posts created by this workspace member.
pageintegerPage number, starting at 0.
postTypestringFilter by post type.
querystringText to search for in the post content.
statePost state filter, e.g. all, scheduled, published, draft, failed. The full list is in the Publer docs (Posts → List Posts).
tostringOnly posts scheduled or published on or before this date. Needs 'from'.

publer_get_post Get a post

Get one post by id: content, networks, accounts, schedule, state and, if asked, its analytics. Publer API: GET /api/v1/posts/{id}.

ParameterTypeDescription
post_id *stringPost id (from publer_list_posts).
analyticsbooleanInclude the post's analytics.

publer_get_job_status Get a job status

Check an asynchronous job: a scheduled post batch (job_id from publer_schedule_posts) or a media upload. Returns the job status and its payload. The status alone does not prove the posts went live: read the payload for results or errors. Publer API: GET /api/v1/job_status/{job_id}.

ParameterTypeDescription
job_id *stringJob id returned by the call that started the job.

publer_list_labels List labels

List the workspace labels (tags used to group posts), or only the labels of one type. Publer API: GET /api/v1/labels and GET /api/v1/labels/{type}.

ParameterTypeDescription
typestringLabel type to list (for example post). Omit to list all labels.

publer_list_media List media

List media in the workspace library: photos, videos and GIFs with id, name, path (URL) and thumbnails. Media ids are used when scheduling photo and video posts. Publer API: GET /api/v1/media.

ParameterTypeDescription
idsarrayOnly these media ids.
pageintegerPage number, starting at 0.
searchstringText to search for in media names.
sourcearrayFilter by upload source (one or more).
typesarrayMedia types to list. Default: all three.
usedarrayFilter by used status (true = used in a post). Default: both, so nothing is filtered out.

publer_get_media Get a media item

Get one media item by id: type, name, caption, path (URL) and thumbnails. Publer API: GET /api/v1/media/{id}.

ParameterTypeDescription
media_id *stringMedia id (from publer_list_media).

publer_list_media_folders List media folders

List the media folders at the top level, or inside one parent folder. Publer API: GET /api/v1/media/folders.

ParameterTypeDescription
parent_folder_idstringParent folder id. Omit for the top level.

publer_list_analytics_charts List analytics charts

List the analytics charts Publer offers for an account type, with the chart ids that publer_get_analytics_chart_data takes. Publer API: GET /api/v1/analytics/charts.

ParameterTypeDescription
account_typestringPlatform type to list charts for, e.g. ig_business (Instagram) or fb_page (Facebook Page).

publer_get_analytics_chart_data Get analytics chart data

Get the data of one or more analytics charts for an account over a date range. Chart ids come from publer_list_analytics_charts. Publer API: GET /api/v1/analytics/chart_data.

ParameterTypeDescription
chart_ids *arrayChart ids (from publer_list_analytics_charts).
account_idstringAccount id (from publer_list_accounts).
fromstringStart date, yyyy-mm-dd.
tostringEnd date, yyyy-mm-dd.

publer_get_post_insights Get post insights

Get the insights (engagement and reach) of an account's posts in a date range, with sorting and paging. Publer API: GET /api/v1/analytics/{account_id}/post_insights.

ParameterTypeDescription
account_id *stringSocial account id (from publer_list_accounts).
from *stringStart date, yyyy-mm-dd.
to *stringEnd date, yyyy-mm-dd.
competitor_idstringCompetitor id (from publer_list_competitors).
competitorsbooleanAlso return competitor data.
member_idstringOnly posts created by this member.
pageintegerPage number, starting at 0.
postTypestringFilter by post type.
querystringText to search for in post content.
sort_bystringField to sort by (see the Publer docs for the list).
sort_typestringSort direction (ASC or DESC).

publer_get_best_times Get best times to post

Get the best times to post for an account, from its past engagement in a date range. Publer API: GET /api/v1/analytics/{account_id}/best_times.

ParameterTypeDescription
account_id *stringSocial account id (from publer_list_accounts).
from *stringStart date, yyyy-mm-dd.
to *stringEnd date, yyyy-mm-dd.
competitor_idstringCompetitor id (from publer_list_competitors).
competitorsbooleanAlso return competitor data.

publer_get_hashtag_insights Get hashtag insights

Get the performance of hashtags used on an account in a date range, with sorting and paging. Publer API: GET /api/v1/analytics/{account_id}/hashtag_insights.

ParameterTypeDescription
account_id *stringSocial account id (from publer_list_accounts).
fromstringStart date, yyyy-mm-dd.
member_idstringOnly hashtags used by this member.
pageintegerPage number, starting at 0.
querystringHashtag text to search for.
sort_bystringField to sort by (see the Publer docs for the list).
sort_typestringSort direction (ASC or DESC).
tostringEnd date, yyyy-mm-dd.

publer_get_member_analytics Get team member analytics

Get publishing activity per workspace member in a date range, optionally for one account. Publer API: GET /api/v1/analytics/members.

ParameterTypeDescription
from *stringStart date, yyyy-mm-dd.
to *stringEnd date, yyyy-mm-dd.
account_idstringOnly this account (from publer_list_accounts).

publer_list_competitors List competitors

List the competitor accounts tracked for an account, with their ids for the competitor filters. Publer API: GET /api/v1/competitors/{account_id}.

ParameterTypeDescription
account_id *stringSocial account id (from publer_list_accounts).

publer_schedule_posts Schedule posts

Schedule one or more posts on the chosen social accounts. Use state 'draft' to save without publishing. A scheduled post goes live on its networks at scheduled_at: confirm the content, accounts and time first. Returns a job_id: poll publer_get_job_status until it is completed. Publer API: POST /api/v1/posts/schedule.

ParameterTypeDescription
bulk *objectThe batch: a state and the posts. Field names follow the Publer Create Posts docs.