Documentation Index
Fetch the complete documentation index at: https://docs.tapti.dev/llms.txt
Use this file to discover all available pages before exploring further.
Content Publishing & Scheduling
This example demonstrates a simple workflow to publish and schedule content to social media platforms using the MCP server.Basic Workflow
Implementation Steps
To implement content publishing functionality, follow these simple steps:-
Get Users: Use
get-users-by-tenant-appto retrieve all users -
Get User Accounts: Use
get-user-accountswith the selected user’s ID to retrieve their connected social media accounts -
View Profile Details (Optional): Use
fetch-profileswith the account ID to get profile information -
Publish Content: Use
publish-contentwith the account ID, content type, format, media URL, and title to post immediately -
Schedule Content: Use
publish-contentwith the additionalscheduled_forparameter to schedule posts for the future (must be at least 10 minutes ahead)
Content Types and Formats
When publishing content, specify the appropriate type and format:| Platform | Content Type | Available Formats |
|---|---|---|
| INSTAGRAM_POST | IMAGE, VIDEO | |
| INSTAGRAM_STORY | IMAGE, VIDEO | |
| INSTAGRAM_REEL | VIDEO | |
| FACEBOOK_POST | IMAGE, VIDEO, TEXT | |
| FACEBOOK_STORY | IMAGE, VIDEO | |
| FACEBOOK_REEL | VIDEO | |
| LINKEDIN_POST | IMAGE, VIDEO, TEXT | |
| Twitter/X | X_POST | IMAGE, VIDEO, TEXT |
| TikTok | TIKTOK_VIDEO | VIDEO |
| YouTube | YOUTUBE_VIDEO | VIDEO |
| YouTube | YOUTUBE_SHORT | VIDEO |
Required MCP Tools
This implementation uses these tools:get-users-by-tenant-app- Lists all usersget-user-accounts- Lists user’s social media accountsfetch-profiles- Gets detailed profile informationpublish-content- Publishes or schedules content to social platforms
Prompt Engineering Tips
When designing prompts for your AI assistant to handle content publishing requests, consider:- Multi-turn conversations - Break down the content creation process into steps
- Platform-specific guidance - Suggest optimal content formats for each platform
- Preview capabilities - Allow users to visualize how posts will appear before publishing
- Scheduling options - Support both immediate posting and future scheduling
- Error handling - Provide clear feedback if there are issues with publishing
Advanced Features
To enhance this capability, consider implementing:- Content optimization suggestions - Recommend hashtags, image sizes, or text length adjustments
- Cross-platform content adaptation - Automatically adjust content to match platform-specific requirements
- Engagement time optimization - Suggest optimal posting times based on audience engagement patterns
- Content series scheduling - Allow users to schedule multiple related posts as a campaign
- Draft saving - Let users save content ideas as drafts for later refinement and posting
