Ask your AI

Copy this and paste it into ChatGPT, Claude or another assistant to get an answer based on this site.

How do I connect Instagram to an AI agent? Please use this URL as a reference:
https://agentok.jp/en/services/instagram.md
SNS

How to connect Instagram to AI agents

TL;DR

The short answer
VerdictBusiness or paid only There is an official route, but it needs a business contract, a specific paid plan, a seller or similar role, or a review
MethodOfficial API (Graph API)
PricingFree (the official API itself. The Meta Ads MCP's pricing is unconfirmed. Running ads incurs separate advertising costs)

An official API (Instagram Platform / Graph API) exists, but it is limited to Business and Creator accounts, and the API for personal accounts has been discontinued. Meta's official MCP servers cover ads and developer tooling only, not organic posts. For reading and writing a personal account, Meta's official integration through the Accounts Center (confirmed in hands-on testing via Muse's official connector) is one of the few legitimate routes.

AuthenticationOAuth 2.0 (Instagram Login / Facebook Login)
Checked by the operator2026.12.05
How the operator checkedConnected with a real client

For AI agents: Markdown ・ JSON

Official MCP and AI guides

Official MCP serverYes

Hosting: Remote

Meta does run official MCP servers, but not for organic Instagram. The Meta Ads MCP (open beta since 2026-04-29) has Instagram tools for advertising: listing linked accounts, listing boost-eligible media, and boosting an existing post. The Meta Social Technologies MCP and WhatsApp Business Tools MCP do not handle Instagram posts, comments or DMs.

https://mcp.facebook.com/ads

Official guide for AI agentsUnverified

We could not confirm whether the Instagram Platform developer documentation offers llms.txt or a dedicated guide for AI agents. The documentation itself is collected under Instagram Platform on developers.facebook.com.

Tools of the official MCP server

ToolTypeWhat it does
ads_get_ig_accountsReadList the Instagram accounts available for advertising
ads_get_ig_mediaReadGet boost-eligible Instagram media
ads_boost_ig_postWriteTurn an existing organic post into a boosted ad
ads_get_ad_accountsReadList ad accounts
ads_get_ad_entitiesReadSearch campaigns, ad sets and ads, and fetch reports

Connectors

Official connectors from AI services

Not supported: Claude, ChatGPT, Gemini, Microsoft Copilot

Third-party integration services

  • Zapier

    An Instagram for Business app with 2 triggers (new media on your account, media you are tagged in) and 3 actions (publish photos, publish a video as a Reel, API Request). Requires a Business or Creator account linked to a Facebook Page. There are no DM triggers or actions.

  • Make

    Make has an Instagram for Business (Facebook login) app that watches media and publishes photos, reels and carousels. Requires an account linked to a Facebook Page.

  • IFTTT

    IFTTT has an Instagram service: applets can forward your new photos and videos to other services. There is no action that posts to Instagram. A Business or Creator account is now required.

  • Composio

    An Instagram toolkit with 33 tools: creating posts, carousels, reels and stories, comment replies, DMs within existing conversations, and insights. Business and Creator accounts only, connected through Composio's managed OAuth app.

  • Yoom

    Yoom has an Instagram integration app that automates uploading and posting images and videos, and fetching media and stories.

Not supported: n8n, Power Automate, Pipedream

Unofficial MCP servers

Published by someone other than the provider. The provider does not guarantee how they work or how safe they are.

  • mcpware/instagram-mcp

    An unofficial MCP server built on the official API (TypeScript, MIT). For Business or Creator accounts linked to a Facebook Page; covers posts, comments and hashtag search. Personal accounts are not supported. Launches with npx @mcpware/instagram-mcp

  • AleemHaider/instagram-mcp

    An unofficial MCP server built on the official API (FastMCP), with 24 tools across profile, hashtags, publishing (reels, stories, carousels), comments, DMs and insights

Security assessment

For each available connection method: who provides it, the permissions it requires, how the terms treat it, and the data path. Items we could not confirm are marked Unverified.

Official MCPOfficial MCP serverThe service provider
Permissions requiredRead and write

Connecting requires ads_mcp_management plus either ads_read (read-only) or ads_management (create and edit). Campaigns and other entities are created in a paused state, but ads_management also allows changing live campaigns and budgets, which directly affects ad spend

Terms of serviceNo issues

An official MCP server provided by Meta itself, presented as the authorized way to connect an ad account

Source: relevant section of the terms

Data pathRuns on Meta's servers (mcp.facebook.com), and results are also sent to the connected AI client (Claude, ChatGPT, etc.)
Third-party integrationZapierOfficial from the integration service
Permissions requiredRead and write

OAuth connection through Facebook Login. Reads your account's posts and publishes new ones

Terms of serviceNo issues

A regular integration using the official API over OAuth

Source: relevant section of the terms

Data pathGoes through Zapier's servers; credentials are held by Zapier
Third-party integrationMakeOfficial from the integration service
Permissions requiredRead and write

OAuth connection through Facebook Login. Reads posts and publishes new ones

Terms of serviceNo issues

A regular integration using the official API over OAuth

Source: relevant section of the terms

Data pathGoes through Make's servers
Third-party integrationIFTTTOfficial from the integration service
Permissions requiredRead only

OAuth connection. Focused on detecting your own posts

Terms of serviceNo issues

No issue within the official integration's scope

Source: relevant section of the terms

Data pathGoes through IFTTT's servers
Third-party integrationComposioOfficial from the integration service
Permissions requiredRead and write

Connects through Composio's managed OAuth app. Some features, such as comment replies, may require your own Meta app

Terms of serviceNo issues

A regular integration using the official API over OAuth

Source: relevant section of the terms

Data pathGoes through Composio's servers; credentials are held by Composio
Third-party integrationYoomOfficial from the integration service
Permissions requiredRead and write

OAuth connection. Fetches posts and publishes new ones

Terms of serviceNo issues

A regular integration using the official API over OAuth

Source: relevant section of the terms

Data pathGoes through Yoom's servers
Unofficial MCPmcpware/instagram-mcpThird party (unofficial)
Permissions requiredRead and write

Uses your own Meta app and access token. DMs require Meta's Advanced Access

Terms of serviceConditional

Built on the official API, within the platform terms. However, the server code is third-party code fetched and run on demand, and sending other people's comments and similar data to an external AI service may fall under Meta's data-use conditions and App Review

Source: relevant section of the terms

Data pathRuns locally and connects directly to Instagram's official API. Retrieved content is passed to the AI service using the MCP server
Unofficial MCPAleemHaider/instagram-mcpThird party (unofficial)
Permissions requiredRead and write

Uses your own Meta app and access token

Terms of serviceConditional

Built on the official API, within the platform terms. Some features, such as DMs, require Meta's Advanced Access. Sending retrieved data to an external AI service may fall under Meta's data-use conditions and App Review

Source: relevant section of the terms

Data pathRuns locally and connects directly to Instagram's official API. Retrieved content is passed to the AI service using the MCP server

Data you can fetch within the terms of service

For your own professional account, posts, comments, insights and DMs can be read and operated through the official API. For other accounts, only the public data of professional accounts is available, through Business Discovery (via Facebook Login). There is no official API for personal account data.

ScrapingProhibited

The Terms of Use prohibit accessing or collecting data through automated means without permission. API use is subject to Meta's Platform Terms and App Review.

Source: relevant section of the terms of service

Fetching with the agent's own browserConditional

There is an official API or MCP server, so we do not recommend having an agent sign in and operate the site in a browser on your behalf.

For data the official route does not cover:

Automation under the termsProhibited
Bot detection / CAPTCHALogin is required, and protection against automated access is strong. Automated access without permission is prohibited by the Terms of Use

You do not need to rely on browser automation: the official API (professional accounts) and Meta's official integration through the Accounts Center let you read and write your own account. In hands-on testing we confirmed that Meta's official connector (on Muse) can retrieve the profile of a personal account (2026-12-05). The "conditional" rating reflects the existence of these official alternatives; browsing without login and automated access are not possible. Researching other accounts is also officially possible within limits through Business Discovery (via Facebook Login) when the target is a professional account.

Source: relevant section of the terms of service

Usage

How to connect

  1. 対象アカウントをビジネスまたはクリエイター(プロアカウント)に切り替える。個人アカウントでは公式 API は使えない
  2. developers.facebook.com でアプリを作り、Instagram のユースケースを追加する
  3. 認証系統を選ぶ。Facebook ページと連携できるなら Facebook ログイン(Business Discovery やハッシュタグ検索も使える)、ページなしで始めるなら Instagram ログイン
  4. 必要な権限だけを申請する(読み取りなら instagram_business_basic、投稿には instagram_business_content_publish など)。自分のアカウントだけなら標準アクセスで試せる
  5. エージェントからは Graph API(graph.instagram.com または graph.facebook.com)を直接呼ぶ。MCP 形式なら非公式サーバーか Composio・Zapier を挟む。広告だけなら公式の Meta Ads MCP が使える

Setup examples

Paste these as they are. Replace the API key, domain and similar values with your own.

Claude Code(Meta Ads MCP・広告用)
claude mcp add --transport http --client-id <META_APP_ID> meta-ads https://mcp.facebook.com/ads

<META_APP_ID> には自分の Meta アプリの ID を入れる。広告用途専用の公式 MCP で、Instagram のオーガニック投稿は扱わない。Claude(チャット)ではカスタムコネクタとして URL を追加し、Facebook ログインで認可する形が案内されている

Official page checked: https://walma.ai/en/guides/mcp/meta-ads-mcp

Limiting the features

広告の読み取りだけなら ads_read に絞る
ads_mcp_management + ads_read(読み取りのみ)

Meta Ads MCP の接続には ads_mcp_management に加えて ads_read か ads_management のどちらかが要る。レポート確認だけなら ads_read に絞ると、キャンペーンの作成・変更はできなくなる

Official page checked: https://walma.ai/en/guides/mcp/meta-ads-mcp

読み取り用途では instagram_business_basic のみに絞る
scope=instagram_business_basic

自分のプロアカウントの読み取りだけなら、基本権限(instagram_business_basic)のみにする。投稿には instagram_business_content_publish、コメントや DM の管理にはそれぞれ manage_comments/manage_messages が別途要るので、用途がないものは付けない

Official page checked: https://taskwind.ai/blog/instagram-api

Seeing your own posts and insights

Instruction to the agent

List my recent posts with their insights (views, likes, saves)

For your own professional account this is available through the official API's insights. Personal accounts cannot use the API at all.

Publishing a post

Instruction to the agent

Post this image with this caption to my feed

Uses the two-step API: create a media container, then publish it. Business and Creator accounts only, and API publishing is capped at 100 posts per rolling 24 hours (50 for some accounts; the actual limit can be checked via content_publishing_limit).

Researching another professional account

Instruction to the agent

Look up this competitor account's recent posts and follower count

Through Business Discovery via Facebook Login, you can fetch the public profile and posts of another professional account. Personal accounts are out of scope.

Pitfalls and tips

Pitfalls

  • Personal accounts have no official API route. The old Basic Display API ended on 2024-12-04. To read and write a personal account, Meta's official integration through the Accounts Center (such as Muse's official connector) is one of the few legitimate routes
  • The official API is for Business and Creator accounts only. Serving third parties requires Meta's App Review and business verification (with Standard Access you can start with accounts you own)
  • There are two authentication paths: Instagram Login (graph.instagram.com, no Facebook Page required) and Facebook Login (graph.facebook.com, Page link required). Business Discovery and hashtag search, for researching other professional accounts, exist only on the Facebook Login side
  • The official MCP is for ads only. There is no official MCP for posts, comments or DMs; every server claiming to be one is unofficial
  • Unofficial tools that log in with your password (such as instagrapi-based ones) conflict with the terms' ban on automated access and risk account suspension. Token-based tools that hit unofficial APIs carry the same risk
  • API publishing is capped at 100 posts per rolling 24 hours (50 for some accounts). Long-lived tokens last 60 days and need refreshing

Tips

  • For operating your own professional account, calling the official API directly is the baseline. If you need the MCP form, use Composio (fast connection through its managed OAuth) or an unofficial server (local, with your own app and token)
  • A personal account cannot be read or written through the official API. Use Meta's official integration through the Accounts Center (Muse's official connector)
  • For checking and creating ads only, the official Meta Ads MCP works. For read-only use, limit permissions to ads_read
  • Never use automation tools that ask for your password. They violate the terms and can get the account suspended

Test environment and change history

How it was checkedConnected with a real client
Clients triedMuse(Meta 公式コネクタ) 未確認

実機確認済み: Meta アカウントセンター経由の公式コネクタ(Muse)で、自分の個人アカウントのプロフィール取得(2026-12-05)。ドキュメント確認: 公式 API の対象アカウント・認証系統・アプリ審査、Meta Ads MCP の提供範囲、Basic Display API の終了(2024-12-04)。実機未確認: Graph API 自体の接続、Meta Ads MCP、各 iPaaS の接続

Change history

  • 初版

Sources

Other sources

Related articles

How to connect Spotify to AI agents

Official, individuals OK

How to connect YouTube to AI agents

Official, individuals OK

How to connect kintone to AI agents

Official, individuals OK

How to connect Amazon to AI agents

Business or paid only