Post to LinkedIn from Claude Code
Claude Code is Anthropic's coding agent. It runs in your terminal and in VS Code and JetBrains; developers use it to work on code and to call tools over MCP. A text-only post or a video with text, published publicly on your own LinkedIn profile.
Connect Claude Code to Kreatix
Sign in with Kreatix
No key to copy: paste the address, sign in to Kreatix and press Allow.
- Run once in a terminal: claude mcp add --transport http --scope user kreatix https://api.kreatix.cc/mcp
- Start claude and type /mcp. Finish the sign-in for kreatix in your browser: sign in to Kreatix and press Allow. From a plain shell, claude mcp login kreatix does the same.
- Check with claude mcp list: kreatix should show Connected.
claude mcp add --transport http --scope user kreatix https://api.kreatix.cc/mcpWith a key
For setups without sign-in. The key works like a password, so keep it to yourself.
- In Kreatix, open Settings > AI agent and create a key. It is shown once.
- Run once in a terminal: claude mcp add --transport http --scope user kreatix https://api.kreatix.cc/mcp --header "Authorization: Bearer YOUR_KEY"
- Check with claude mcp list: kreatix should show Connected.
claude mcp add --transport http --scope user kreatix https://api.kreatix.cc/mcp --header "Authorization: Bearer YOUR_KEY"What Claude Code can do on LinkedIn
A text-only post or a video with text, published publicly on your own LinkedIn profile.
| Setting | Values | Needed | What it does |
|---|---|---|---|
caption | string (max 5000) | No | The post text. A text-only post needs it. |
media_url | URL | No | One video to post with the text: a link from your Kreatix library or a public YouTube, TikTok, Instagram or Facebook post. Leave it out for a text-only post. |
Ask in plain words
Ask inside a claude session, or as a one-liner from the terminal: claude -p "Which of my Kreatix pages got the most views this week?" --allowedTools "mcp__kreatix__get_stats"
claude -p "Post this on my LinkedIn tomorrow at 8:30: We hired our first two engineers this month."claude -p "Share yesterday's product video on LinkedIn at 12:00 with a short, plain caption."claude -p "What is planned on my LinkedIn next week?"
LinkedIn rules to know
- Posts go out on the profile of the person who connected LinkedIn, in their name.
- Every post is public: Kreatix sends LinkedIn the PUBLIC visibility.
- A text-only post needs a caption.
- get_stats has no numbers for LinkedIn.
Tips for Claude Code
- --scope user makes Kreatix available in every project. Without it, the server is only added for the current project.
- claude -p can't ask for permission or open the sign-in. Sign in once with /mcp first, then allow the tools the run may use with --allowedTools, such as "mcp__kreatix__get_stats", or "mcp__kreatix__*" for all seven.
- Kreatix marks its reading tools (list_channels, list_groups, list_posts, get_stats) read-only, so Claude Code can run them in parallel, for example your stats and your queue at once.
- The agent checks the pages, caption and time with you before it posts. It cannot delete pages, read messages or change your account, and you can remove it any time in Settings > AI agent.
Questions
How do I post to LinkedIn from Claude Code?
Connect Claude Code to Kreatix once, as shown above. Then ask it to post: name your LinkedIn pages or a page group, the video or text and the time. Claude Code shows you the plan and posts after you say yes.
Can it post to a LinkedIn company page?
Kreatix posts as the person who connected LinkedIn, on their own profile. Company pages are not part of the connection.
Who can see the post?
Everyone: Kreatix publishes LinkedIn posts with public visibility.
Can the agent post text only?
Yes. LinkedIn, X and Facebook take text-only posts. Leave media_url out and give a caption.
What if my LinkedIn login expires?
list_channels shows needs_reconnect on that channel, and nothing goes out there until you reconnect it in Kreatix. A post still waiting 24 hours after its time is marked failed, and Kreatix tells you.
I already added Kreatix on claude.ai. Do I add it again?
Not if Claude Code is logged in with the same claude.ai account (not an API key). Connectors from claude.ai show up in /mcp on their own.
How do I remove Kreatix completely?
Run claude mcp remove kreatix, then delete the key Claude Code used in Kreatix under Settings > AI agent. Removing the server in Claude Code doesn't revoke the key on Kreatix's side.
Kreatix schedules one video to every page you run, each with its own platform settings.
Start free, then connect Claude Code