Perch MCP Server
Connect an AI assistant to Perch, Hootsuite's publishing and analytics product. Once connected, your assistant can look through your scheduled and draft content, check performance across your social accounts, and prepare new posts for you to review.
| Endpoint | https://mcp.hootsuite.com/perch |
| Covers | Publishing and analytics |
| Tools | 16 |
Also available: the Nest server for inbox and engagement, the Parliament server for employee advocacy, and a federated endpoint that combines all three.
What you can do
- Browse and filter your drafts
- Prepare new drafts, with images or video attached
- Find recommended posting times for your accounts
- Review what is already planned on your calendar
- Query analytics across your connected accounts, with breakdowns and filters
Perch prepares content, it does not publish it
Perch saves drafts. A draft lives inside Hootsuite and is not visible on any social network until you publish it yourself from the Hootsuite product.
This holds even when a draft has a scheduled date. Scheduling a draft places it on your Planner calendar at that time, shown in grey next to your bold scheduled posts, so you can see it in context alongside everything else going out. It will not send on its own.
If you want an assistant that posts for you, this is not that server. Perch is built so an assistant can do the preparation and you keep the final call.
Before you start: choosing a workspace
A workspace is either one of your Hootsuite organizations or your personal space. Almost every Perch tool needs to know which one you are working in, and your assistant will ask you to pick when you belong to more than one.
Perch has two sets of tools, and each identifies workspaces its own way:
| Tool set | Workspace tool |
|---|---|
| Publishing | create-mcp-http-service_get_entitled_workspaces |
| Analytics | perch-analytics-mcp-server_get_entitled_workspaces |
These are not interchangeable. A workspace from the publishing tools cannot be passed to the analytics tools, or the other way around. Call the workspace tool matching the tool set you are about to use, and pass the result through unchanged rather than rebuilding it.
Four tools do not take a workspace, because the identifiers you pass already determine it: request_media_upload, poll_media_upload, get_message, and query_analytics.
Identifiers
Most tools need an identifier that came from an earlier call: a social account, a draft, an uploaded file, a metric, a data source. Pass these through exactly as you received them. They are not meant to be readable, constructed, or matched against a display name.
This is why Perch works best as a sequence of calls rather than single lookups. The common workflows below show the usual orders.
Publishing tools
get_entitled_workspaces
Takes no arguments. Returns the organizations and personal space you belong to. Start here for any publishing task.
get_social_profiles
| Argument | Required | Type |
|---|---|---|
workspaceScope | yes | object |
Returns the social accounts available in that workspace, each with an id, display name, network type such as TWITTER, INSTAGRAM, or LINKEDIN_COMPANY, and the owning organization where there is one.
An organization workspace returns that organization's accounts. A personal workspace returns only your own.
list_drafts
| Argument | Required | Type | Notes |
|---|---|---|---|
workspaceScope | yes | object | |
socialProfileIds | no | integer[] | Narrow to specific accounts |
isScheduled | no | boolean | true for scheduled drafts, false for unscheduled, omit for both |
campaignIds | no | string[] | |
tagIds | no | integer[] | Matches drafts with any of these tags |
limit | no | integer | |
cursor | no | string | Copy from the next field of a previous response |
Scheduled drafts appear in grey on your Planner. Unscheduled drafts with no date appear in the Content tab.
create_draft
| Argument | Required | Type | Notes |
|---|---|---|---|
socialProfiles | yes | object[] | Accounts from get_social_profiles, passed through unchanged |
text | yes | string | |
workspaceScope | yes | object | |
mediaAttachments | no | object[] | From poll_media_upload |
scheduledDate | no | string | ISO-8601. Adds the draft to your calendar at that time |
Targeting social accounts makes the draft collaborative: anyone on your team with access to those accounts can see and edit it. A draft with no accounts attached stays private to you.
update_draft
Same arguments as create_draft, plus draftId from list_drafts.
This replaces the whole draft. Anything you leave out is cleared, so read the draft first and send back everything you want to keep, not only the parts you are changing.
request_media_upload
| Argument | Required | Type | Notes |
|---|---|---|---|
mimeType | yes | enum | image/png, image/jpeg, image/jpg, image/gif, video/mp4, video/quicktime |
sizeBytes | yes | integer | Exact size, up to 1 GB |
Returns a media id and a short-lived upload URL. Send the file to that URL with an HTTP PUT and a matching Content-Type header. Perch does not accept file bytes directly.
poll_media_upload
| Argument | Required | Type |
|---|---|---|
mediaId | yes | string |
Tells you whether the upload has finished processing, and returns what you need to attach it: the URL, a thumbnail where available, type, size, dimensions, and duration. Pass all of these into mediaAttachments.
If it is not ready, wait about 3 seconds and check again, up to 20 times. After that, start a new upload.
get_message
| Argument | Required | Type |
|---|---|---|
messageId | yes | integer |
Returns the current state of a message you already have the id for.
get_recommended_times
| Argument | Required | Type | Notes |
|---|---|---|---|
startDate | yes | string | ISO-8601, inclusive |
endDate | yes | string | ISO-8601, exclusive |
timezone | yes | string | IANA, such as America/Vancouver |
workspaceScope | yes | object | |
socialProfileIds | no | integer[] |
Suggested posting times based on when your audience is active. Keep the range to a week or less, since results are not paginated.
get_planned_content_details
| Argument | Required | Type | Notes |
|---|---|---|---|
startDate | yes | string | ISO-8601, inclusive |
endDate | yes | string | ISO-8601, exclusive |
workspaceScope | yes | object | |
campaignIds | no | string[] | |
socialProfileIds | no | integer[] |
Full content and details for everything planned in a date range. Results are not paginated and include complete message bodies, so a single day at a time works best.
Analytics tools
Analytics works in four steps: find which data sources are available, find your accounts within them, find the metric you want, then run the query. Each step returns the identifiers the next one needs.
get_entitled_workspaces
Takes no arguments. Returns the workspaces available for analytics. Start here for any analytics task.
list_providers
| Argument | Required | Type |
|---|---|---|
workspaceScope | yes | object |
Returns the data providers available to you, each identified by a service and a data type.
search_sources
| Argument | Required | Type | Notes |
|---|---|---|---|
providers | yes | object[] | From list_providers, unchanged |
workspaceScope | yes | object | |
search | no | string | Matches part of a source name, case-insensitive |
Returns your social accounts, pages, and profiles grouped by provider.
search_metrics
| Argument | Required | Type | Notes |
|---|---|---|---|
queries | yes | object[] | Up to 50 searches in one call |
workspaceScope | yes | object |
Use it two ways:
To find a metric, pass providers and optionally a query keyword. You get back a short list with each metric's id, label, description, and data format.
To learn how to use a metric, pass metricIds. You get the full detail: which time resolutions it supports, which breakdowns, which filters, and which fields it can be sorted by.
A keyword search needs providers alongside it. Two data formats are worth knowing: LIFETIME metrics return only their latest value, and NO_AGGREGATION metrics cannot be totalled across a date range.
search_filter_options
| Argument | Required | Type | Notes |
|---|---|---|---|
requests | yes | object[] | Up to 10 lookups |
workspaceScope | yes | object |
Returns the valid values for a filter. Each request takes the filter's id and provider, optionally a search term, optionally a limit (50 by default, up to 200), and the relevant source ids when the filter's values depend on which accounts you are asking about.
Responses come back in the order you sent them, each with its own status and a count of how many values were returned against how many exist.
query_analytics
| Argument | Required | Type |
|---|---|---|
queries | yes | object[] |
Runs one or more analytics queries. Each query takes:
| Field | Required | Notes |
|---|---|---|
metricId | yes | The id and provider from search_metrics |
sourceIds | yes | Accounts from search_sources, all under the metric's provider |
timeRange | yes | since and until as YYYY-MM-DD, inclusive. Within the last 25 months and not in the future. The same date twice queries one day |
resolution | no | How to break the result over time. Defaults to a single total |
breakdown | no | Splits the result into segments while still returning the overall total |
aggregationStrategy | no | How values combine across the range |
filters | no | Filter ids and values |
limit | no | 25 by default, up to 100 |
sort | no | A sortable field, ascending or descending |
pagination_token | no | From a previous response, to get the next page |
Time-series metrics return a total plus data points and any breakdown segments. Multipart metrics return a paginated list of entries. resolution, breakdown, and aggregationStrategy apply to time-series metrics; limit, sort, and pagination_token apply to multipart metrics.
Common workflows
Prepare a post with an image
get_entitled_workspaces (publishing)
-> get_social_profiles
-> get_recommended_times optional, to pick a time
-> request_media_upload
-> upload the file to the returned URL
-> poll_media_upload until ready
-> create_draft
Then publish the draft yourself from Hootsuite when you are happy with it.
Update a draft
get_entitled_workspaces (publishing)
-> list_drafts
-> update_draft
Send every field you want to keep, not only the ones you are changing.
Answer a question about performance
get_entitled_workspaces (analytics)
-> list_providers
-> search_sources
-> search_metrics to find the metric
-> search_metrics to learn its options
-> search_filter_options if you are filtering
-> query_analytics
Review what is planned
get_entitled_workspaces (publishing)
-> get_social_profiles
-> get_planned_content_details
Partial results in analytics
search_metrics, search_filter_options, and query_analytics each accept several requests in one call, and each request is handled on its own. Some can succeed while others fail.
Check the status on each entry rather than treating the whole call as one result. A single rejected metric does not mean the rest of your query failed.