KosmoKrator

marketing

Sprout Social MCP Integration for Vercel AI SDK

Connect Sprout Social to Vercel AI SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 6 read 1 write Manual OAuth token auth

Connect Sprout Social to Vercel AI SDK

Use KosmoKrator as a local integration gateway for Vercel AI SDK agents and scripts.

Create an MCP client that starts or connects to the KosmoKrator gateway for the selected integration. The gateway is local, scoped to this integration, and starts with --write=deny so Vercel AI SDK can inspect read-capable tools without receiving write access by default.

Sprout Social MCP Config for Vercel AI SDK

Prefer CLI JSON calls when a workflow only needs one deterministic integration operation.

{
  "mcpServers": {
    "kosmokrator-sproutsocial": {
      "type": "stdio",
      "command": "kosmo",
      "args": [
        "mcp:serve",
        "--integration=sproutsocial",
        "--write=deny"
      ]
    }
  }
}

Run the Gateway Manually

kosmokrator mcp:serve --integration=sproutsocial --write=deny

Why Use KosmoKrator Here

Scoped tools

Expose only Sprout Social instead of a broad multi-service tool list.

Local credentials

Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.

Write policy

Start read-only, then opt into ask or allow for trusted workspaces.

Sprout Social Tools Visible to Vercel AI SDK

Vercel AI SDK sees stable MCP tool names generated from the Sprout Social integration catalog.

MCP toolSource functionTypeDescription
integration__sproutsocial__sproutsocial_list_profiles sproutsocial.sproutsocial_list_profiles Read List all social media profiles connected to the Sprout Social account. Returns profile IDs, service types (e.g., Twitter, Facebook, LinkedIn), and display names.
integration__sproutsocial__sproutsocial_get_profile sproutsocial.sproutsocial_get_profile Read Get details of a specific social media profile in Sprout Social by its ID. Returns profile service type, display name, and account metadata.
integration__sproutsocial__sproutsocial_list_posts sproutsocial.sproutsocial_list_posts Read List posts across social profiles in Sprout Social. Optionally filter by status (sent, scheduled, draft) and paginate results.
integration__sproutsocial__sproutsocial_create_post sproutsocial.sproutsocial_create_post Write Create and schedule a new social media post in Sprout Social. Provide the text content, target profile IDs, and optionally a scheduled time or media attachments.
integration__sproutsocial__sproutsocial_list_messages sproutsocial.sproutsocial_list_messages Read List inbox messages and conversations in Sprout Social. Returns message IDs, sender info, and content snippets with pagination support.
integration__sproutsocial__sproutsocial_get_message sproutsocial.sproutsocial_get_message Read Get details of a specific message in Sprout Social by its ID. Returns sender info, message content, attachments, and conversation metadata.
integration__sproutsocial__sproutsocial_get_current_user sproutsocial.sproutsocial_get_current_user Read Get the currently authenticated Sprout Social user profile. Returns the user name, email, and account info.

Related Sprout Social Pages