Schedule social posts from Claude Code
One command connects Sharek to Claude Code. Ask from your terminal, and the posts land on your calendar.
$ claude mcp add sharek --transport http "https://dash.sharek.app/mcp-oauth-dynamic"You need a Sharek account. Plans start at $25 a month with a 7-day free trial, and we collect a card at checkout.
integrationListlinkedin, xintegrationSchemalinkedin, xintegrationSchedulePostTool6 postsHow do I connect Claude Code to Sharek?
Most people run one command and sign in. Choose the CLI and skill when you post files from your repo or want analytics.
Over MCP
Start hereClaude Code talks to Sharek directly. You sign in once in your browser, and no key is stored.
- 1
claude mcp add sharek --transport http "https://dash.sharek.app/mcp-oauth-dynamic"Add the server
Run this in your terminal, from the project you want it in.
- 2
/mcpStart the sign-in
Start Claude Code, run this, and pick sharek. Your browser opens on Sharek.
- 3
Press Authorize
Sign in to Sharek if it asks, press Authorize, and go back to your terminal.
With the CLI and skill
For local files and analyticsThe skill teaches Claude Code to drive the Sharek CLI: check the sign-in, list channels, read each channel's settings, upload files first, then create the post.
- 1
npm install -g sharek-cliInstall the CLI
The package is sharek-cli, and the command it gives you is sharek.
- 2
sharek auth:loginSign in
Your browser opens with a code to approve. Credentials stay on your machine.
- 3
npx skills add sharekhq/sharek-agentAdd the skill
It installs as sharek, and Claude Code picks it up when you ask for something Sharek can do.
On a server or in CI
API keyWith no browser to sign in, use an API key from Settings, then Developers, in Sharek. Put it in place of your-api-key.
- 1
claude mcp add --transport http sharek https://dash.sharek.app/mcp --header "Authorization: Bearer your-api-key"Over MCP
MCP wants the Bearer prefix on the key. This route also adds ask_sharek, so Claude Code can ask Samy.
- 2
export SHAREK_API_KEY=your-api-keyWith the CLI
The CLI reads the key from your environment. A stored login wins over it.
What can I ask Claude Code to do?
Claude Code can already read your project, so your repo becomes the brief. The tools below are what it calls in Sharek.
Turn the last three entries in CHANGELOG.md into LinkedIn posts, one a day from Tuesday at 09:00.
integrationListintegrationSchemaintegrationSchedulePostTool
It reads the file, writes the posts and schedules all three.
Read README.md and write an X thread from it. Save it as a draft so I can check it.
integrationListintegrationSchemaintegrationSchedulePostTool
A draft thread on your calendar: the first item is the post, the rest follow it.
Generate a launch image from this description and put it on Instagram on Friday at 10:00.
generateImageToolintegrationSchemaintegrationSchedulePostTool
The image goes to your media library first, and uses one image credit.
Show everything scheduled for the next two weeks and flag anything that failed.
postsListTool
Each post comes back with its date, its state and any error.
MCP or the CLI and skill: which should I use?
Both reach the same Sharek account. The difference is what each one can touch.
| MCP, signed in | CLI and skill | MCP, API key | |
|---|---|---|---|
| Install | One claude mcp add command | npm install -g sharek-cli, then npx skills add sharekhq/sharek-agent | One claude mcp add command with a header |
| Sign-in | Sign in with Sharek in your browser | sharek auth:login, or SHAREK_API_KEY on a server | A key from Settings > Developers |
| Files on your computer | Not directly. Use a public link or your media library | Yes. sharek upload returns the path to attach | Not directly. Use a public link or your media library |
| Analytics | No | Yes: analytics:platform and analytics:post | No |
| AI images and video | Yes, from your plan's credits | No | Yes, from your plan's credits |
| Samy (ask_sharek) | No | No | Yes |
| Best for | Everyday use from your terminal | Repos with media files, and checking results | Servers and jobs that run without you |
What's in the Sharek CLI?
sharek-cli has 16 commands. The skill picks among them for you, and you can run any of them yourself or from a script.
posts:createposts:listposts:deleteposts:statusposts:missingposts:connectintegrations:listintegrations:groupsintegrations:settingsintegrations:triggeranalytics:platformanalytics:postuploadauth:loginauth:logoutauth:statusWhich channel guides are there?
Each guide has the channel's real settings, ready-made prompts and limits.
Where does Claude Code stop?
It works inside the account you approved. It can't do more than the tools it's given.
It can
- Use anything in your project as the brief for a post
- Follow each channel's rules, limit and required settings
- Save drafts, schedule posts or publish now, one call carrying many posts
- Generate images and video from your plan's credits, over MCP
- Read analytics and upload local files, with the CLI
It can't
- Attach a path on your computer over MCP. Media must be in Sharek first, so upload it with the CLI.
- Read analytics over MCP. Those need the CLI.
- Connect a channel or change your account settings.
- Reply to comments or messages. Sharek has no inbox.
Can Claude Code write Arabic posts?
Yes. Ask in any language and tell it which language to post in. Sharek publishes the text it receives, with no special counting: an Arabic post has the same channel limit as any other.
حول آخر مدخل في CHANGELOG.md إلى منشور بالعربية على لينكدإن، وجدوله يوم الأحد الساعة 10:00.
تمت الجدولة. المنشور في تقويم شارك ليوم الأحد الساعة 10:00.
Questions, answered
Schedule your next launch from the terminal
Start a 7-day free trial, run the command and ask for your first post. We collect a card at checkout, and you can cancel from settings.
Start free trial