MetorialDocs

Set up Sprout Social in Metorial for Claude, ChatGPT and Cursor

Share Sprout Social with your team in Claude, ChatGPT and Cursor through Metorial: OAuth or API token sign-in, 12 tools (10 read-only).

To give your team Sprout Social in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Sprout Social integration in a Metorial portal, and each person signs in to Sprout Social with their own account. Agents can discover authorized customers and connected profiles. The integration has 12 tools, 10 read-only and 2 write, plus 3 triggers.

What you'll learn

  • How an admin shares Sprout Social in a portal and how each person connects
  • The 4 OAuth scopes Sprout Social can request, and what each one allows
  • How to keep the 10 read-only tools and reject the other 2

Before you start

Sign-in methods

MethodTypeWhat a person provides
API TokenAPI tokenapiToken
OAuth 2.0 (default)OAuthSigns in to Sprout Social

The portal and metorial setup use OAuth 2.0 unless someone picks another method.

API Token

To connect, a person enters:

  • apiToken: Your Sprout Social API token. Generate one under Settings > Global Features > API > API Token Management.

OAuth 2.0

People sign in to Sprout Social and approve the scopes you allow. The integration can request:

ScopeNameWhat it allows
openidOpenIDOpenID Connect authentication
profileProfileAccess to user profile information
emailEmailAccess to user email address
organization_idOrganizationAccess to organization data (required for API access)

Setup settings

Whichever method you pick, setup also asks for:

  • customerId: Your Sprout Social customer ID. Retrieve this via the /v1/metadata/client endpoint or from your Sprout Social account settings.

Use your own Sprout Social OAuth app

With your own OAuth app, people see your company's name on the Sprout Social consent screen, and the client ID and secret belong to you.

Start the credentials in Metorial

In the dashboard, select Settings, then Organization Settings. Under Integrations and MCP, select Provider Auth, then Create Auth Credentials. Choose Sprout Social and copy the Redirect URI.

Register the app with Sprout Social

Create an OAuth app or client in Sprout Social and add the redirect URI from Metorial as its redirect or callback URL.

Finish in Metorial

Copy the app's client ID and client secret. Back in Metorial, enter a Name, the Client ID and the Client Secret, review Scopes, and select Create. Then pick these credentials for the Sprout Social integration.

Admin: share Sprout Social in a portal

In the dashboard

Open Shared Resources

Open Workforce, choose the portal, and select Shared Resources under Access.

Share a new integration

Select Share a Resource, then New Integration, and choose Sprout Social. Under Auth Method, keep OAuth 2.0 or pick another. For how members connect, choose Each person connects, so everyone signs in to Sprout Social as themselves.

Limit the tools

Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Sprout Social.

Choose who gets it

Add the access groups that should see Sprout Social. When a person asks for access from the portal, the request appears under Access Requests.

With the CLI

The CLI cannot create the per-user Sprout Social integration. Once it exists, check which groups have it:

metorial-admin portals access list <portal-id> --type provider_template --search "sprout social"

Employee: connect Sprout Social

In the portal

Open Sprout Social in the catalog

Sign in to your portal and open Sprout Social. The status reads Available.

Authenticate

Under Quick setup, select Authenticate. A Sprout Social sign-in tab opens. Sign in and approve the permissions listed.

Confirm

The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.

With the CLI

metorial catalog search "sprout social"
metorial setup <catalog-item-id>

catalog search prints the catalog item ID. metorial setup uses OAuth 2.0. To connect with API Token instead, find its ID with metorial catalog get <catalog-item-id> and add --auth-method <auth-method-id>.

Add it to your AI client

metorial install adds your Sprout Social connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.

metorial list "sprout social"
metorial client list
metorial install <client-identifier> <integration-id>

For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.

Make it read-only

Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 10 read-only tools, such as get_cases and get_messages, and lose the 2 write tools, such as upload_media or create_draft_post.

Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.

Check it worked

metorial list "sprout social"
metorial tools <integration-id>
metorial call <integration-id> get_metadata -d '{"resourceType":"profiles"}'

metorial tools lists the 12 tools, minus any you rejected. get_metadata needs resourceType, so replace the placeholders. It retrieves account metadata from Sprout Social including connected social profiles, groups, tags (labels and campaigns), users, teams, listening topics, and case queues.

To see every input a tool takes, run metorial schema <integration-id> <tool-key>.

Tools

Read-only tools (10)

  • get_cases: Retrieve customer care cases from Sprout Social. Needs filters.
  • get_listening_messages: Retrieve earned media messages from a Sprout Social Listening Topic. Needs topicId, startTime and endTime.
  • get_post_analytics: Retrieve post-level analytics data from Sprout Social matching the Post Performance Report. Needs profileIds, startTime and endTime.
  • get_messages: Retrieve messages published by or received by owned profiles in Sprout Social. Needs groupId.
  • get_profile_analytics: Retrieve owned profile analytics data from Sprout Social matching the Profile Performance reports. Needs profileIds, startDate, endDate and metrics.
  • get_metadata: Retrieve account metadata from Sprout Social including connected social profiles, groups, tags (labels and campaigns), users, teams, listening topics, and case queues. Needs resourceType.
  • get_publishing_post: Retrieve a publishing post from Sprout Social by its ID. Needs publishingPostId.
  • get_listening_metrics: Retrieve aggregated metrics for a Sprout Social Listening Topic. Needs topicId, startTime, endTime and metrics.
  • list_customers: Discover the Sprout customer accounts authorized by this connection.
  • get_current_user: Read the authenticated Sprout user identity through user-based OAuth.

Write tools (2)

  • create_draft_post: Create a draft publishing post in Sprout Social intended for future publication to social networks. Needs groupId and customerProfileIds.
  • upload_media: Upload a media file to Sprout Social from a publicly accessible URL for use with publishing posts. Needs mediaUrl.

Triggers

Sprout Social has 3 triggers, which fire on events in Sprout Social:

  • new_messages: Triggers when new messages (posts, comments, DMs, mentions, reviews, replies) are received by or published to owned social profiles.
  • new_cases: Triggers when new customer care cases are created or updated in Sprout Social.
  • inbound_webhook

Next steps