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
- A portal with at least one access group
- An account with Sprout Social for each person who connects
- For the CLI steps: the Metorial CLI, signed in to your portal
Sign-in methods
| Method | Type | What a person provides |
|---|---|---|
| API Token | API token | apiToken |
| OAuth 2.0 (default) | OAuth | Signs 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:
| Scope | Name | What it allows |
|---|---|---|
openid | OpenID | OpenID Connect authentication |
profile | Profile | Access to user profile information |
email | Access to user email address | |
organization_id | Organization | Access 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:
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
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.
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 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. Needsfilters.get_listening_messages: Retrieve earned media messages from a Sprout Social Listening Topic. NeedstopicId,startTimeandendTime.get_post_analytics: Retrieve post-level analytics data from Sprout Social matching the Post Performance Report. NeedsprofileIds,startTimeandendTime.get_messages: Retrieve messages published by or received by owned profiles in Sprout Social. NeedsgroupId.get_profile_analytics: Retrieve owned profile analytics data from Sprout Social matching the Profile Performance reports. NeedsprofileIds,startDate,endDateandmetrics.get_metadata: Retrieve account metadata from Sprout Social including connected social profiles, groups, tags (labels and campaigns), users, teams, listening topics, and case queues. NeedsresourceType.get_publishing_post: Retrieve a publishing post from Sprout Social by its ID. NeedspublishingPostId.get_listening_metrics: Retrieve aggregated metrics for a Sprout Social Listening Topic. NeedstopicId,startTime,endTimeandmetrics.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. NeedsgroupIdandcustomerProfileIds.upload_media: Upload a media file to Sprout Social from a publicly accessible URL for use with publishing posts. NeedsmediaUrl.
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
- Claude Code, Cursor, Codex and ChatGPT: connect each client to your portal and use Sprout Social there
- Create custom OAuth credentials: the Provider Auth screens in more detail
- Tool permissions: tool filters and what employees see
- Sprout Social on metorial.com: the integration overview