# Kreatix for VS Code: how to schedule and publish social media posts You are an AI agent. This brief tells you how to schedule and publish posts on the user's social media accounts through Kreatix (https://kreatix.cc), a social media scheduler for people who run many accounts. Kreatix has an MCP server with 7 tools. Follow the brief in order. MCP server: https://api.kreatix.cc/mcp (the user signs in to Kreatix and presses Allow) With a key instead of signing in: https://api.kreatix.cc/mcp/YOUR_KEY (the user creates the key in Kreatix under Settings > AI agent) ## 0. Is Kreatix connected? Call list_channels. If it answers, go to section 1. If you have no list_channels tool, Kreatix is not connected to VS Code yet. Tell the user, in one message, to do this: 1. In the Chat view, select Copilot as the Session Target. Then run Chat: Open Customizations from the Command Palette and select MCP Servers. 2. Select Add Server, choose HTTP and enter https://api.kreatix.cc/mcp. Use kreatix as the server ID. 3. For the destination, select Global > Copilot Global. That saves the entry from the snippet to ~/.copilot/mcp-config.json. You can also add it to that file by hand. 4. Accept the trust request. When VS Code asks you to authorize, or when you choose Authenticate in the server's actions menu, sign in to Kreatix and press Allow. 5. Ask Copilot to list your Kreatix pages and expand the tool call to see that Kreatix answered. If signing in does not work for them, the key works too: 1. In Kreatix, open Settings > AI agent and create a key. It is shown once. 2. Set the key as an environment variable named KREATIX_API_KEY in the environment VS Code starts from. VS Code's docs say to use a reference like this and not to write the key itself into the file. 3. Open ~/.copilot/mcp-config.json (create the file if it isn't there) and add Kreatix with its url and the Authorization header, as in the snippet. 4. Run Chat: Open Customizations, select MCP Servers and check that kreatix is listed and on. The user also needs a Kreatix account with a plan (https://kreatix.cc/pricing/) and at least one social account connected in Kreatix at https://kreatix.cc/pages. Each platform connects there through its own official login, so you never see or ask for a platform password. Social accounts are never connected in a chat. If list_channels shows no channel the user can post to, tell them to connect one at https://kreatix.cc/pages and plan no posts until it shows one. ## 1. Before you schedule - Call list_channels and use the ids it returns. Kreatix calls social accounts pages. can_post is false for campaign pages, which are only shown. - Tell the user before planning posts on a page with needs_reconnect (its login expired), an alarm (its last videos got almost no views) or access "locked" or "closed". - For a whole brand, call list_groups and pass a group_id: one call posts to every connected page in the group. One call takes up to 50 channels. - Confirm the channels, the caption and the time with the user before you call schedule_post. - publish_at is "now" or an ISO 8601 time with a UTC offset, for example 2026-11-03T18:00:00+03:00. A post sent now goes out at once and can't be taken back. Spread many posts out instead of sending them all now. - TikTok: ask the user for tiktok_privacy (PUBLIC_TO_EVERYONE, MUTUAL_FOLLOW_FRIENDS, FOLLOWER_OF_CREATOR or SELF_ONLY). There is no default. Set tiktok_music_confirmed to true only after the user agrees to TikTok's Music Usage Confirmation. - YouTube: youtube_title (at most 100 characters; without it the title is made from the caption) and youtube_privacy (public, unlisted or private; default public). - Pinterest: a video needs cover_url, a picture stored in Kreatix such as a thumbnail_url from list_posts. - X: the same video or text goes to only one of the user's X accounts within 30 days. A second X account is left out, and allow_duplicate does not change that. ## 2. What a post can be - One video (media_url) with an optional caption, or text only on Facebook, LinkedIn and X. Images, carousels and file uploads are not taken through MCP. - media_url is a video already in Kreatix (a media_url from list_posts) or a link to one of the user's own public YouTube, TikTok, Instagram or Facebook posts, which Kreatix imports first. - The caption is at most 5,000 characters. Instagram takes at most 30 hashtags and 20 @mentions. X shows the first 280 characters. - A channel that already has this post, or has it on its way, within 3 days of the time is left out and named in the answer. Tell the user where and when, and send it there again with allow_duplicate only if they say so. - Each key has an hourly limit on posts, each channel counted as one. When schedule_post says it is reached, tell the user when it frees up instead of retrying. - In a workspace that needs approval, posts wait in Approvals until a client or admin approves them. ## 3. After you schedule - Report the post ids, the channels and the time from schedule_post's answer. - list_posts shows each post's status (upcoming, recent, published, failed). A failed post has its error: report it word for word. A published post has its post_url. - Move a waiting post with reschedule_post. Stop it with cancel_post, after the user confirms which post: a cancelled post is deleted, and its video too when no other post uses it. - get_stats reads views, likes, comments, followers and engagement for Instagram, Facebook, TikTok and YouTube (today, yesterday, 7d, 30d or 90d). X, LinkedIn and Pinterest have no numbers. ## 4. In VS Code Ask in a Copilot chat session in VS Code and name Kreatix, for example "Use Kreatix to list this week's posts on my brand group." Naming the server helps the agent pick the right tool. - Choose Copilot Global, not a workspace's .mcp.json: the workspace file is meant to be committed and shared with your team. - Copilot Global is the file ~/.copilot/mcp-config.json. Other Copilot clients on the same computer, such as Copilot CLI, read it too. It is not synced to your other machines. - For a setup that can only read, replace "*" in tools with "list_channels", "list_groups", "list_posts" and "get_stats". - Skip .vscode/mcp.json and code --add-mcp for this. VS Code's docs describe them as the older editor-managed format, which belongs to the Local harness that is being retired. ## More Setup guide for people: https://kreatix.cc/ai-agents/vscode/ Per platform: Instagram: https://kreatix.cc/ai-agents/vscode/instagram/ TikTok: https://kreatix.cc/ai-agents/vscode/tiktok/ YouTube: https://kreatix.cc/ai-agents/vscode/youtube/ Facebook: https://kreatix.cc/ai-agents/vscode/facebook/ X: https://kreatix.cc/ai-agents/vscode/x/ LinkedIn: https://kreatix.cc/ai-agents/vscode/linkedin/ Pinterest: https://kreatix.cc/ai-agents/vscode/pinterest/ All agents: https://kreatix.cc/ai-agents/ About Kreatix for AI assistants: https://kreatix.cc/llms.txt