Coding agents ยท by xAI
Grok Build
Use Social Studio with Grok Build
Add the MCP server to Grok Build's MCP configuration, or have it call the REST endpoints directly. Either way it creates drafts and you approve them.
Grok Build
Asks for ideas and drafts
Social tools
MCP or HTTP, one API key
You approve
Review link, then Publish
Your feeds
TikTok, Reels, Threads, Bluesky
The one rule
An agent prepares and a person publishes. Grok Build can create drafts, but it cannot publish to TikTok, and it cannot approve anything on your behalf. You open the review link, check the post and click Publish.
What Grok Build can do
Check the rules
Limits and approval rules for a network, before you make the video
social_get_requirementsGenerate ideas
Video ideas with hook, script, video prompt, caption and hashtags
social_generate_ideasImport a video
Host a video from a link in your own storage
social_import_videoUpload a file
Upload a video file directly
social_get_upload_urlCreate a draft
Create a post draft. TikTok drafts come with a review link for you
social_create_draftList your posts
Your posts and their status
social_list_postsTrack status
One post: processing, published (with link) or failed (with the reason)
social_get_post_status
Set it up
- 1
Create a Creative Tim API key
Create one here. It starts with
sk-ct-. Keep it in your client's secret settings, never in a prompt. - 2
- 3
Connect Grok Build
Pick one. Remote MCP is the recommended way for Grok Build.
Connect any MCP client
Recommended- 1In your agent's MCP or tools settings, add a remote server with the URL above.
- 2Send your key as a Bearer token in the Authorization header.
- 3If the client only supports local (stdio) servers, bridge it with: npx -y mcp-remote https://www.creative-tim.com/ui/api/mcp --header "Authorization:Bearer sk-ct-YOUR_KEY"
SettingsURL: https://www.creative-tim.com/ui/api/mcp Transport: Streamable HTTP (stateless, JSON responses) Authorization: Bearer sk-ct-YOUR_KEYCall the tools over HTTP
Option 2Terminalexport CREATIVE_TIM_API_KEY=sk-ct-YOUR_KEY # What does TikTok need from a video? curl -s -X POST https://www.creative-tim.com/ui/api/social/tools/social_get_requirements \ -H "Authorization: Bearer $CREATIVE_TIM_API_KEY" \ -H "Content-Type: application/json" \ -d '{"provider":"tiktok"}' # Host a video you already have a link to curl -s -X POST https://www.creative-tim.com/ui/api/social/tools/social_import_video \ -H "Authorization: Bearer $CREATIVE_TIM_API_KEY" \ -H "Content-Type: application/json" \ -d '{"url":"https://example.com/my-video.mp4"}' # Create the draft (returns a reviewUrl for you to open) curl -s -X POST https://www.creative-tim.com/ui/api/social/tools/social_create_draft \ -H "Authorization: Bearer $CREATIVE_TIM_API_KEY" \ -H "Content-Type: application/json" \ -d '{"provider":"tiktok","videoUrl":"<hosted url from the step above>","caption":"My caption #hashtag"}'- The full machine-readable description is at https://www.creative-tim.com/ui/api/social/openapi.json.
Try it
Paste this into Grok Build and fill in the blanks:
Use the Creative Tim social tools. First check the requirements for TikTok. Then give me 5 video ideas for <my niche>. For the one I pick, import this video <video URL>, and create a TikTok draft with the caption. Give me the review link.- Step 1
Grok Build tells you the draft is waiting and gives you a link.
- Step 2
Open it, review the post, publish.
- Step 3
Posts then show their status (processing, published with a link, or failed with TikTok's own reason) in the Social Studio.
Questions
Can Grok Build publish to TikTok for me?
No. Grok Build can create a draft with the video and caption and give you a review link. You open it, check the settings TikTok allows for your account, and click Publish. TikTok requires the creator to approve each post, so no agent can do it for you.
Which networks can Grok Build prepare posts for?
TikTok, Instagram Reels, Threads and Bluesky. For networks other than TikTok, your own copilot or autopilot setting decides whether a draft waits for your approval or is scheduled directly.
What does it cost?
Posting and drafting are free. Generating ideas or video in Creative Tim uses credits from your plan.
Where does my API key go?
In the client's secret or header settings, never in a prompt. You can create and revoke keys on the API Keys page at any time.
Other agents
Claude Code
Anthropic
One command adds the social tools to Claude Code so it can draft posts from your terminal.
One command~1 min setupSetup guideCodex
OpenAI
Add Creative Tim's social tools to Codex with a few lines of config.
TOML config~2 min setupSetup guideCursor
Cursor
Draft social video posts from inside Cursor with the Creative Tim MCP server.
JSON config~2 min setupSetup guide