Skip to content
Download Longwave

Instagram

Instagram is an MCP server for reading Instagram media and publishing an image post. Its connected endpoint exposes 3 tools after authorization.

Add to Longwave

Install elsewhere

Install Instagram

Choose a harness. These instructions connect to the hosted MCP endpoint shown on this page.

Claude Code

Run this in your terminal. It adds a user-scoped server; use --scope project instead if it should apply only to the current project.

terminal
claude mcp add --scope user --transport http instagram https://api.longwave.run/v1/mcp/instagram

What it does

Instagram MCP gives an agent a connection to authorized Instagram media. It is for workflows that need the account's current content or a publishing step.

  • Read recent Instagram media.
  • Publish an image post from a public URL.
  • Keep Instagram sign-in in the connection.

Available functions

longwave_instagram_browse Read Instagram: list recent media or fetch one media item by id (direct Graph /{media-id}). Does not publish or modify content.

Arguments

accountId
string Exact account id from longwave_list_accounts. Omit only when a single account is connected.
action required
media = list recent media; media_item = fetch one media object by id.
limit
number Max items to return (1–100). Default 25.
mediaId
string Instagram media id (required for media_item).
longwave_instagram_identity Return the connected Instagram account identity (/me). Use after connect or to confirm which account is active.

Arguments

accountId
string Exact account id from longwave_list_accounts. Omit only when a single account is connected.
longwave_instagram_submit Write to Instagram: publish an image post from a public image URL (create container, then publish). Requires instagram_business_content_publish.

Arguments

accountId
string Exact account id from longwave_list_accounts. Omit only when a single account is connected.
caption
string Optional caption for the post.
imageUrl required
string Public image URL to publish (Instagram Content Publishing).

Questions people ask

Does Instagram MCP need an API key?

Not in Longwave. Longwave uses Instagram sign-in.

  1. Click Add to Longwave on this page.
  2. Sign in to Instagram when Longwave asks.
  3. Start a thread and pick a harness.
How do I use Instagram MCP with Claude Code?

Claude Code can list recent Instagram posts or publish an image.

  1. Click Add to Longwave on this page.
  2. Sign in to Instagram when Longwave asks.
  3. Start a thread and pick Claude Code.
  4. Ask Claude Code to list recent posts or publish an image.
How do I use Instagram MCP in Cursor?

Cursor can list recent Instagram posts or publish an image.

  1. Click Add to Longwave on this page.
  2. Sign in to Instagram when Longwave asks.
  3. Start a thread and pick Cursor.
  4. Ask Cursor to list recent posts or publish an image.
Do I need a professional Instagram account?

Yes. Use Business or Creator. A personal account will not connect.

  1. Open Instagram account settings.
  2. Switch to a Business or Creator account.
  3. Click Add to Longwave on this page.
  4. Sign in to Instagram when Longwave asks.
Can the agent publish an image it just generated on my laptop?

Yes. Upload the local image to a public URL first, then Instagram can fetch and publish it.

  1. Upload the image to a public S3 or CDN URL.
  2. Give the public URL to the agent.
  3. Ask the agent to publish the image.
Is this Instagram Login, or the old Facebook Page Graph path?

This listing uses Instagram Login, not the old Facebook Page Graph path. You do not need a Facebook Page. See the Instagram Graph endpoint .

Can it list my last posts so it doesn't reuse a caption?

Yes. Instagram can return recent media, captions, and permalinks.

  1. Ask the agent to list recent media.
  2. Review the returned captions and permalinks.
  3. Ask the agent to write a new caption.
Can it publish Reels, Stories, or carousels?

Yes. Use Playwright in Longwave to publish Reels, Stories, or carousels through the signed-in Instagram website. This Instagram MCP listing publishes one image post from a public URL.

  1. Add Playwright to Longwave.
  2. Start a thread and pick a harness.
  3. Ask Playwright to open Instagram and complete sign-in.
  4. Give the agent the media and caption.
  5. Review the post before publishing it.
Can Instagram MCP read DMs?

Yes. Use Playwright in Longwave to read and send Instagram direct messages through the signed-in Instagram website. This Instagram MCP listing focuses on media and publishing.

  1. Add Playwright to Longwave.
  2. Start a thread and pick a harness.
  3. Ask Playwright to open Instagram and complete sign-in.
  4. Ask the agent to open the required conversation.
  5. Review any reply before sending it.
Can it scrape someone else's Instagram?

Yes. Use Exa for public Instagram pages or Playwright for pages your signed-in account can access. The Instagram MCP connection itself works with the account you authorized.

  1. Add Exa for public pages or Playwright for signed-in pages.
  2. Start a thread and pick a harness.
  3. Give the agent the public profile or post URL.
  4. Ask it to collect the permitted information.

Bring the account content into the workflow.

Let the agent inspect media and handle the next publishing step with explicit permissions.