Setup guide

Connect Instagram to Claude Code and post from it

Short answer: paste npx scorper@latest init into Claude Code, type the code it emails you, say “connect my instagram”, approve in your browser, then tell Claude what to post. Five minutes, no API keys. The same steps work for LinkedIn, TikTok, X and YouTube, and in Codex or Cursor.

Updated 5 November 2026 · Tested on Mac · Works on Windows and Linux

1

Open Claude Code (or Codex, or Cursor)

Any folder is fine. If you do not have Claude Code yet, install it from claude.ai/download. You also need Node.js 18 or newer for the next step.

2

Paste the one-line install

Type or paste this into the Claude Code chat, or into any terminal:

npx scorper@latest init

It installs the Scorper skills (posting, scheduling, DM automations, dashboard building), adds a prompt hook so Claude knows how to use them, and links this machine to your account with a scoped key. You never see or paste a token.

3

Sign in with the code from your email

Claude asks for your email and Scorper sends a 6-digit code. Type it into the chat. If the email has no account yet, one is created, no password. Claude then shows you the plans and opens checkout for the one you pick: 7 days free, card needed to start.

→ What's your email?        you@brand.com
→ Code sent. Enter it here:  482913
✓ Signed in
4

Say “connect my instagram”

Claude opens Instagram's approval page in your browser. Make sure the browser is logged into the Instagram account you want to post from, approve, and come back to the chat. Claude confirms the connection.

Instagram's publishing API only works with Business or Creator accounts. Personal accounts need to switch first (free, in the Instagram app under Settings, Account type and tools).

Repeat with “connect my linkedin”, “connect my tiktok”, “connect my x” and “connect my youtube”. Each is one browser approval.

5

Tell Claude what to post

post the video on my desktop called launch.mp4 to instagram and tiktok

Claude uploads the file, proposes caption options, then reads the exact post back:

⏺ Posting to Instagram @yourbrand and TikTok @yourbrand
   Caption: "Three things I wish someone told me at 21…"
   Confirm?
> yes
✓ Posted · links below

To schedule instead: “schedule this for 6pm tomorrow on linkedin and x”. To add a comment-to-DM automation: “add a DM automation to this post, keyword GUIDE, send my webinar link” (run scorper connect --dm once first for the extra Instagram permission).

6

Check everything is wired up

scorper doctor
✓ Claude Code
✓ Codex
✗ Gemini CLI
✗ Cursor
config: present · signed in: yes · version 0.2.5

scorper status lists your plan and every connected account.

You're done.

From now on, any Claude Code session on this machine can post, schedule and run DM automations on your connected accounts. Everything you do from the terminal also shows in the dashboard calendar.

Full docs: posting, scheduling, DM automations, CLI

Stuck? Common fixes

“npx: command not found”
Install Node.js (LTS) from nodejs.org/en/download, restart the terminal, run the command again.
Claude doesn't know how to post
Run scorper doctor. It checks the skills and the account link and repairs what it can. Then start a fresh Claude Code session so the skills load.
The approval page connected the wrong Instagram
Log into the right account in your browser, then say “reconnect my instagram”. Swapping a slot to a different account twice within 3 days locks posting on that slot for 3 days.
Scorper says the AI connection needs Max
Pro connects your AI to Instagram. Every other social needs Max, Studio or Agency. Say “subscribe” to Scorper in your AI, or upgrade from Settings, Billing in the dashboard.
Platform token expired
Say “reconnect my linkedin” (or whichever platform) and approve again in the browser.

Frequently asked questions

Do I need a Scorper account before I start?
No. The init command creates one when you enter your email. You then pick a plan, and its 7-day free trial starts once you add a card at checkout.
Do I need Node.js?
Yes, version 18 or newer. If you see "npx: command not found", install the LTS build from nodejs.org, restart your terminal and run the command again.
Does this work with a personal Instagram account?
Instagram's publishing API only works with Business or Creator accounts. Switch in the Instagram app under Settings, Account type and tools, then connect.
Will Claude post something I did not approve?
No. Before anything fires it reads back the platforms, the media and the caption, and waits for your yes.
Does the same setup work in Codex or Cursor?
Yes. Paste the same command into Codex, Cursor or Gemini CLI. The skills install the same way and the rest of this guide applies unchanged.
I use the Claude desktop or mobile app, not a terminal.
Add https://dashboard.scorper.ai/api/mcp as a custom connector in Claude and sign in when prompted. Your terminal and app share one account.

Ready when you are.

npx scorper@latest init

Or read about the Scorper MCP server.