marketing
Sprout Social MCP Integration for Claude Agent SDK
Connect Sprout Social to Claude Agent SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Sprout Social to Claude Agent SDK
Give Claude Agent SDK workflows access to KosmoKrator integrations through a local MCP server.
Add a KosmoKrator stdio MCP server to the Claude Agent SDK options. The gateway is local, scoped to this integration, and starts with
--write=deny so Claude Agent SDK can inspect read-capable tools without receiving write access by default.
Sprout Social MCP Config for Claude Agent SDK
Use a narrow integration list so the agent does not load unrelated tools.
{
"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
Expose only Sprout Social instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
Sprout Social Tools Visible to Claude Agent SDK
Claude Agent SDK sees stable MCP tool names generated from the Sprout Social integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
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. |