The Instagram MCP server in hookflock
hookflock runs an MCP server inside the Mac app, so the agent you already use can make Instagram carousels for your app: plan them from your products and blueprints, write and check them, then schedule them and learn from the results. Setup is one line.
Updated
Instagram features (connecting accounts, posting, the comment inbox, auto-DM, results and research) roll out to every license once Meta approves hookflock. Making carousels works today, free.
Set it up
Open hookflock, go to Agent, then the MCP setup tab, and copy the line for your client. It carries your real token. The lines below show a placeholder.
claude mcp add --transport http hookflock http://127.0.0.1:41751/mcp --header "Authorization: Bearer <token from hookflock>"The app fills in your real port and token. The server only listens on 127.0.0.1, so nothing outside your Mac can reach it.
Step-by-step guides:
- Make Instagram carousels with Claude Code
- Make Instagram carousels with Codex
- Make Instagram carousels with Gemini CLI
What your agent can do
- Pick a product, so the agent knows the app, its audience and its voice.
- Start from a blueprint, or from research on what works in your niche.
- Draft the carousel: slide text, images and caption.
- Run the originality check, and make it more original if it is too close to its source.
- Schedule it, or put it in the next free slot.
- Read the results, and let them shape the next draft.
All 86 tools
43 of them work in Free mode, with no license. The rest answer with a clear message and the link to get a license, so your agent can tell you what is missing.
The app and your settings Free
- app_info
- Version, data folder and what the app can do right now.
- license_status
- Free or licensed, what a license adds, and the link to get one.
- activate_license
- Activates a license key on this Mac.
- ai_status
- Which AI tools are installed and signed in (Claude Code, Codex, Gemini CLI, local models).
- settings_get
- Reads the app settings.
- settings_update
- Changes settings, except the ones only you can change in the app.
- open_in_app
- Opens a page of the app, such as a draft in the editor.
- ask_choice
- Shows you a choice in the app and waits for your answer.
- writing_guide
- The house rules for carousel copy, so the agent writes like a person.
Products Free
- products_list
- The apps and products you market.
- products_get
- One product, with its brief, colours, caption footer and hashtag sets.
- products_add
- Adds a product.
- products_update
- Edits a product.
- products_delete
- Deletes a product.
- products_set_logo
- Sets the product logo from a file.
- products_build_brief
- Has your AI tool write the product brief (audience, pains, angles) from its description and link.
Blueprints Free
- blueprints_list
- The built-in carousel formats, filtered by goal, app category or tag.
- blueprints_get
- One format: slide-by-slide roles, hook formulas and a worked example.
Drafts and slides Free
- drafts_list
- Your drafts, newest first.
- drafts_get
- One draft with its slides and caption.
- drafts_create
- Creates an empty draft for a product.
- drafts_generate
- Writes a whole carousel with your AI tool, from a blueprint or an idea.
- drafts_write_copy
- Rewrites slide text and the caption.
- drafts_update
- Edits the caption, first comment, collaborators and post options.
- drafts_update_slide
- Edits one slide: text, image, layout, user tags.
- drafts_add_slide
- Adds a slide.
- drafts_remove_slide
- Removes a slide.
- drafts_reorder_slides
- Changes the slide order.
- drafts_duplicate
- Copies a draft.
- drafts_delete
- Deletes a draft.
- drafts_preview
- Small previews of the slides, so the agent can see its work.
- view_images
- Small previews of library images, so the agent can look at them.
- drafts_export
- Exports the slides as JPEGs (with a small corner mark in Free mode).
- drafts_remake_images
- Makes new background images for slides with Codex image generation.
- drafts_suggest_alt_text
- Suggests alt text for each image.
- originality_check
- Scores how close a remake is to its source, in words and images.
- drafts_make_original
- Rewrites the hook and copy when a remake is too close to its source.
Images and the library Free
- images_generate
- Makes new images from a text prompt with Codex image generation (Codex on a paid plan).
- images_search
- Searches free stock photos (Openverse, or Unsplash and Pexels with your own keys).
- images_save
- Saves an image to your library.
- library_list
- Lists the images in your library.
- library_import
- Imports images from your Mac.
- library_delete
- Removes an image from the library.
Research Needs a licenseRolling out once Meta approves the app
- research_account
- Top posts of a public Business or Creator account, with their numbers.
- research_my_posts
- Your own posts and how they did.
- research_questions
- Questions people ask in your comments.
- research_hashtag
- Top and recent posts for a hashtag (after a second Meta review).
- research_analyze
- Has your AI tool explain why a post works: its hook, structure and pattern.
- research_remix
- Starts a new draft that rebuilds a post’s idea in your words, never its images.
- research_save
- Keeps a research item under Saved.
- research_list
- Lists saved research.
- research_get
- Opens saved research.
- research_delete
- Deletes saved research.
Instagram accounts and posting Needs a licenseRolling out once Meta approves the app
- instagram_accounts
- Your connected Instagram accounts.
- instagram_connect
- Starts connecting an account in your browser.
- instagram_disconnect
- Disconnects an account.
- instagram_publishing_limit
- How many posts the account has left in Instagram’s 24-hour quota.
- post_now
- Posts a draft now (asks you to confirm).
- post_schedule
- Schedules a draft for a set time. Our server posts it, even with your Mac shut.
- post_queue
- Puts a draft in the next free time slot.
- post_unschedule
- Cancels a scheduled post.
- calendar_list
- Scheduled and published posts.
- calendar_sync
- Pulls the latest status of scheduled posts from the server.
- slots_get
- An account’s weekly posting slots and time zone.
- slots_set
- Sets the weekly posting slots.
- calendar_next_slots
- The next free slots.
- grid_preview
- Your profile grid with scheduled posts placed in it.
Comments and auto-DM Needs a licenseRolling out once Meta approves the app
- inbox_list
- Recent comments across accounts, filtered by post or unanswered.
- inbox_sync
- Fetches new comments now.
- inbox_reply
- Replies to a comment in public (asks you to confirm).
- inbox_hide
- Hides or unhides a comment.
- inbox_delete
- Deletes a comment (asks you to confirm).
- autodm_rules
- Your auto-DM rules, with matched, sent and failed counts.
- autodm_create
- A rule: when someone comments a keyword, send one private reply with a link.
- autodm_update
- Edits a rule.
- autodm_delete
- Deletes a rule.
- autodm_preview
- Shows the DM a rule would send.
Links and the bio page Needs a license
- links_list
- Your tracked links.
- links_create
- A short tracked link, with App Store campaign tokens if you want them.
- links_stats
- Clicks per day for a link.
- bio_get
- A product’s link-in-bio page.
- bio_update
- Edits and publishes the bio page.
Results Needs a licenseRolling out once Meta approves the app
- results_summary
- What worked: top formats and hooks from your own posts, for the agent to learn from.
- results_posts
- Each post with its latest numbers.
- best_times
- Your best times to post, from your own results.
- revenue_timeline
- Optional RevenueCat numbers on the same timeline as your posts, read from your Mac.
Limits
- Instagram has no drafts through its API, so drafts live in hookflock on your Mac until you post or schedule them.
- A carousel takes 2 to 20 slides, and each account has a posting quota per 24 hours that the agent can read with instagram_publishing_limit.
- Posting now, public replies and deleting comments need an explicit confirm in the call, so an agent can’t do them by accident.
- Some settings are yours alone: the agent can’t turn on AI access to Instagram comments and captions, or add your RevenueCat key.
- Until you allow it in Settings, captions and comments from Instagram reach the agent redacted.
- The MCP server runs inside the app, so hookflock has to be open on your Mac. Scheduled posts go out from our server even when your Mac is shut.
Security
- The server listens on 127.0.0.1 only, so other computers on your network can’t reach it.
- Every request needs the token from the app. Regenerate it in the MCP setup tab whenever you like; agents then need the new one.
- Your Instagram tokens stay encrypted on our server. The agent never sees them.
Questions
- Is the hookflock MCP server local or hosted?
- Local. It runs inside the Mac app at http://127.0.0.1:41751/mcp and only answers on your own Mac. Scheduled posts are sent to our server, which publishes them on time.
- Which clients work with it?
- Any MCP client that speaks Streamable HTTP with a bearer token: Claude Code, Codex, Gemini CLI and Cursor. Claude Desktop connects through a small stdio bridge inside the app.
- Does it cost extra?
- No. The MCP server is part of the app. The tools for making carousels work in Free mode; the Instagram tools come with a license, which is one payment.
- Does the agent use my AI subscription or yours?
- Yours. hookflock sells no AI credits. Your agent runs on your own plan, and so does the writing hookflock does inside the app.