Skip to main content
Glama
Sprout Social MCP Server

Sprout Social MCP Server

by jginorio

MCP-сервер Sprout Social

Сервер Model Context Protocol (MCP) для API Sprout Social. Он позволяет ИИ-ассистентам (Claude, Cursor, Devin и др.) получать доступ к вашим данным Sprout Social — аналитике, публикациям, сообщениям, мониторингу и многому другому — через стандартизированный интерфейс.

Быстрый старт

Предварительные требования

Запуск через npx

Установка не требуется:

SPROUT_SOCIAL_API_KEY=your-token \
SPROUT_SOCIAL_CUSTOMER_ID=your-customer-id \
npx sprout-social-mcp

Настройка в Claude Desktop

Добавьте в ваш claude_desktop_config.json:

{
  "mcpServers": {
    "sprout-social": {
      "command": "npx",
      "args": ["-y", "sprout-social-mcp"],
      "env": {
        "SPROUT_SOCIAL_API_KEY": "your-api-token",
        "SPROUT_SOCIAL_CUSTOMER_ID": "your-customer-id"
      }
    }
  }
}

Настройка в Cursor

Добавьте в ваш .cursor/mcp.json:

{
  "mcpServers": {
    "sprout-social": {
      "command": "npx",
      "args": ["-y", "sprout-social-mcp"],
      "env": {
        "SPROUT_SOCIAL_API_KEY": "your-api-token",
        "SPROUT_SOCIAL_CUSTOMER_ID": "your-customer-id"
      }
    }
  }
}

Настройка в VS Code (GitHub Copilot)

Добавьте в ваш .vscode/mcp.json:

{
  "servers": {
    "sprout-social": {
      "command": "npx",
      "args": ["-y", "sprout-social-mcp"],
      "env": {
        "SPROUT_SOCIAL_API_KEY": "your-api-token",
        "SPROUT_SOCIAL_CUSTOMER_ID": "your-customer-id"
      }
    }
  }
}

Настройка в Devin

В настройках MCP в Devin добавьте новый сервер:

  • Имя: sprout-social

  • Команда: npx -y sprout-social-mcp

  • Переменные окружения:

    • SPROUT_SOCIAL_API_KEY → ваш API-токен

    • SPROUT_SOCIAL_CUSTOMER_ID → ваш ID клиента

Related MCP server: sprout-mcp

Переменные окружения

Переменная

Обязательно

Описание

SPROUT_SOCIAL_API_KEY

Да

Ваш API-токен Sprout Social

SPROUT_SOCIAL_CUSTOMER_ID

Да

Ваш ID клиента Sprout Social

Доступные инструменты

Метаданные клиента

Инструмент

Описание

get_client

Получить ID и названия ваших клиентов Sprout Social

get_profiles

Список всех подключенных социальных профилей

get_groups

Список всех групп

get_tags

Список всех тегов

get_users

Список всех пользователей

get_topics

Список всех тем мониторинга

get_teams

Список всех команд

get_case_queues

Список всех очередей обращений

Аналитика

Инструмент

Описание

get_profile_analytics

Аналитика на уровне профиля (показы, вовлеченность и т. д.) за период

get_post_analytics

Аналитика на уровне публикаций с пагинацией. Поддерживает показы, вовлеченность, реакции, просмотры видео

Сообщения

Инструмент

Описание

get_messages

Получение сообщений из входящих с фильтрацией и пагинацией на основе курсора

Мониторинг

Инструмент

Описание

get_listening_topic_metrics

Получение метрик для темы мониторинга

get_listening_topic_messages

Получение сообщений по теме мониторинга

Публикации

Инструмент

Описание

create_publishing_post

Создание новой публикации для размещения по расписанию

get_publishing_post

Получение деталей конкретной публикации

Медиа

Инструмент

Описание

upload_media

Загрузка медиа по URL для использования в публикациях

Обращения

Инструмент

Описание

get_cases

Получение обращений/запросов клиентов с фильтрами по приоритету, временному диапазону и т. д.

Советы по использованию

Пагинация аналитики публикаций

API Sprout Social использует пагинацию для аналитики публикаций. Всегда проверяйте paging.total_pages в ответе и запрашивайте все страницы:

Ask: "Get all Instagram post analytics for last week"
→ Tool calls get_post_analytics with page=1, then page=2, etc.

Допустимые метрики уровня публикации

  • lifetime.impressions — общее количество показов

  • lifetime.engagements — общая вовлеченность (лайки, комментарии, репосты, сохранения)

  • lifetime.reactions — только реакции

  • lifetime.video_views — количество просмотров видео

Недопустимые метрики (вызовут ошибки): lifetime.comments, lifetime.shares, lifetime.reach

Поиск ID профилей

Сначала используйте get_profiles, чтобы найти значения customer_profile_id, а затем передавайте их в инструменты аналитики или публикации.

Разработка

git clone https://github.com/jginorio/sprout-social-mcp.git
cd sprout-social-mcp
npm install
npm run build

Для локального тестирования:

SPROUT_SOCIAL_API_KEY=your-token \
SPROUT_SOCIAL_CUSTOMER_ID=your-customer-id \
node dist/index.js

Лицензия

MIT

Available Tools

18 tools
create_publishing_postA

Create a new publishing post in Sprout Social to be published at a future time. The post will appear in Sprout's publishing calendar.

Inputs: text (required), profile_ids (required), scheduled_time (required), tags, +2 more.

get_case_queuesA

List all case queues in your Sprout Social account.

Inputs: no named parameters.

get_casesB

Retrieve cases (customer inquiries/issues) from Sprout Social. Cases represent customer interactions that may require action by a social care agent.

Inputs: sort, limit, priority, timezone, +3 more.

get_clientB

Get your Sprout Social customer IDs and names.

Inputs: no named parameters.

get_groupsA

List all groups in your Sprout Social account.

Inputs: no named parameters.

get_listening_topic_messagesA

Get messages found within a specific listening topic. Use get_topics first to discover available topic IDs.

Inputs: topic_id (required), page, sort, limit, +2 more.

get_listening_topic_metricsA

Get metrics for a specific listening topic (e.g. volume, sentiment, engagement). Use get_topics first to discover available topic IDs.

Inputs: metrics (required), topic_id (required), page, filters.

get_messagesA

Retrieve messages from your Sprout Social inbox. Supports cursor-based pagination. Messages include those received by and sent from your profiles.

Inputs: profile_ids (required), sort, limit, fields, +2 more.

get_post_analyticsA

Get post-level analytics (impressions, engagements, etc.) for posts within a date range. Supports filtering by Sprout tags via tag_ids or tagged_only. Responses include internal.tags.id by default so posts can be grouped by tag. Supports sort (e.g. lifetime.impressions:desc), timezone, page, all_pages auto-pagination, and guid_cursor for walking past the ~10k page cap. For a Tag Performance Report-style rollup, prefer get_tag_performance. IMPORTANT: The page parameter must be in the request body, not as a URL query parameter.

Inputs: metrics (required), profile_ids (required), created_time_end (required), created_time_start (required), +10 more.

get_profile_analyticsA

Get owned profile-level analytics (impressions, engagements, etc.) for one or more profiles over a reporting period. Requires a reporting_period filter in the format 'YYYY-MM-DD...YYYY-MM-DD' (max 1 year span).

Inputs: metrics (required), profile_ids (required), reporting_period_end (required), reporting_period_start (required), +1 more.

get_profilesA

List all social profiles connected to your Sprout Social account.

Inputs: no named parameters.

get_publishing_postB

Retrieve details of a specific publishing post by its ID.

Inputs: publishing_post_id (required).

get_tag_performanceA

Automatically pull Tag Performance Report-style analytics: fetch tagged posts in a date range, resolve tag names, and aggregate lifetime metrics by tag (and optionally by network). Replaces exporting a tag report from Sprout for post insights. Use get_tags first if you need to discover tag names/IDs. If tag_ids and tag_names are omitted, every tagged post in the window is rolled up. A post with multiple tags contributes its full metrics to each tag. Pages through the Posts Analytics API automatically.

Inputs: profile_ids (required), created_time_end (required), created_time_start (required), metrics, +7 more.

get_tagsA

List message/post tags in your Sprout Social account. Optionally filter by active status, group, type (LABEL or CAMPAIGN), or name search. Use these tag_id values with get_tag_performance and get_post_analytics.

Inputs: type, search, group_id, active_only.

get_teamsA

List all teams in your Sprout Social account.

Inputs: no named parameters.

get_topicsA

List all listening topics in your Sprout Social account.

Inputs: no named parameters.

get_usersA

List all users in your Sprout Social account.

Inputs: no named parameters.

upload_mediaB

Upload media (image/video) to Sprout Social for use in publishing posts. Provide either a public URL to the media file. Returns a media ID to use with create_publishing_post.

Inputs: media_url (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 18 tools

    Disambiguation4/5

    Most tools are clearly distinct by resource (clients, profiles, groups, users, topics, teams, cases, tags, messages, posts, media). However, get_post_analytics and get_tag_performance both deal with post analytics and could be confused, though descriptions clarify their different aggregation purposes.

    Naming Consistency4/5

    The vast majority follow a consistent get_<resource> or create_/upload_ verb_noun pattern. Minor deviations like get_listening_topic_messages vs get_messages and get_profile_analytics vs get_post_analytics are still readable and consistent in style.

    Tool Count4/5

    18 tools is on the higher end but appropriate for a broad social media management platform covering analytics, publishing, listening, and care. Each tool maps to a distinct functional area, though a few could be consolidated.

    Completeness4/5

    The surface covers core read operations across major Sprout Social domains plus publishing creation and media upload. Gaps include no update/delete for publishing posts, no case management actions, and no profile management, but the main analytics and listening workflows are well covered.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      A
      quality
      D
      maintenance
      An MCP server that integrates the Sprout Social Public API with Claude and other MCP clients. It allows users to manage social profiles, track analytics for posts and profiles, and schedule social media content.
      11
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      A unified MCP server that gives AI assistants direct access to Google Analytics 4, Google Search Console, Google Ads and Google Merchant Center data using OAuth2 user credentials.
      MIT