# Instagram — MCP server on mcp.ai > Publica fotos, vídeos, carrosséis, Reels e Stories, gerencia comentários e mensagens diretas, e lê insights de perfil e mídia pela API oficial. Com o plano Avançado, também curte posts, segue e deixa de seguir, lista e vê stories de outros perfis. Conecte em 2 cliques (conta Business ou Criador) ou com usuário e senha, que suporta 2FA. By: mcp.ai · official Page: https://new.mcp.ai/instagram ## Connect (MCP protocol) Remote MCP endpoint (HTTP, streamable): https://api.mcp.ai/p_instagram?ms=1796396580000 Add it as a custom/remote MCP connector, then authenticate when prompted. ## Install in your AI client (step by step) Link to paste in any client: https://api.mcp.ai/p_instagram ### Claude 1. Copy the Instagram link above (Copy button). 2. In Claude, Plugins → Add → Add custom connector: name Instagram, paste the link and click Continue. Under Authentication, choose Sign in now and click Add. 3. The first time, Claude opens the mcp.ai sign-in: sign in with Google or email and click Allow. 4. When Instagram needs your account, the AI sends you a link: click Conectar Instagram and authorize. 5. Done: just ask in the chat. Open: https://claude.ai/plugins ### ChatGPT 1. Copy the Instagram link above (Copy button). 2. In ChatGPT (web), Plugins → Add → Add custom MCP server: name Instagram, paste the link, under Authentication choose OAuth or no authentication, check I understand, click Create as a plugin, then Sign in with Instagram. 3. The first time, ChatGPT opens the mcp.ai sign-in: sign in with Google or email and click Allow. 4. When Instagram needs your account, the AI sends you a link: click Conectar Instagram and authorize. 5. Done: just ask in the chat. Open: https://chatgpt.com/plugins ### Cursor 1. Copy the Instagram link above (Copy button). 2. In Cursor, Settings → MCP → "Add new MCP server", paste the link and save. 3. The first time, Cursor opens the mcp.ai sign-in: sign in with Google or email and click Allow. 4. When Instagram needs your account, the AI sends you a link: click Conectar Instagram and authorize. 5. Done: just ask in the chat. ### Claude Desktop 1. Copy the Instagram link above (Copy button). 2. Added it in Claude? The connector lives in your account and shows up on Desktop. If not, Plugins → Add → Add custom connector, paste the link and choose Sign in now. 3. The first time, Claude opens the mcp.ai sign-in: sign in with Google or email and click Allow. 4. When Instagram needs your account, the AI sends you a link: click Conectar Instagram and authorize. 5. Done: just ask in the chat. ### Manus 1. Copy the Instagram link above (Copy button). 2. Paste the link into a Manus chat and ask it to connect the MCP server. 3. The first time, Manus opens the mcp.ai sign-in: sign in with Google or email and click Allow. 4. When Instagram needs your account, the AI sends you a link: click Conectar Instagram and authorize. 5. Done: just ask in the chat. ### Agents 1. Copy the Instagram link above (Copy button). 2. Paste the link into your MCP-compatible agent (remote HTTP server). 3. The first time, agent opens the mcp.ai sign-in: sign in with Google or email and click Allow. 4. When Instagram needs your account, the AI sends you a link: click Conectar Instagram and authorize. 5. Done: just ask in the chat. ## REST API (no MCP client required) Every tool is also a REST endpoint, authed with a workspace API key. Discover: GET https://api.mcp.ai/api/instagram/_endpoints # public; lists every endpoint Call: POST https://api.mcp.ai/api/instagram/ Authorization: Bearer sk_live_… # create one at https://new.mcp.ai/settings/api-keys Content-Type: application/json Body: { …args } → { "ok": true, "tool": "", "result": { … } } ## Developer docs Install guide (prompt + clients + REST), markdown: https://new.mcp.ai/instagram/index.md How to use (MCP or REST), markdown: https://new.mcp.ai/instagram/skill.md Postman collection (v2.1): https://new.mcp.ai/instagram/postman.json ## Tools - instagram_actions_follow(targets: string[], account?: string) — Follow one or more Instagram users by @username. Returns a job_id. - instagram_actions_get_job_status(job_id: string, account?: string, job_ids?: string[]) — Get the status/progress/result of a previously started action by its job_id. - instagram_actions_like(posts: string[], account?: string) — Like one or more Instagram posts, addressed by post URL or shortcode (NOT the numeric media id the official API returns). Returns a job_id; poll instagram_actions_get_job_status. - instagram_actions_like_comment(comment_ids: string[], account?: string) — Like one or more comments. Each comment_id MUST come from instagram_actions_list_comments. The id returned by the official instagram_get_ig_media_comments belongs to a different namespace and is rejec - instagram_actions_list_accounts(account?: string) — List the Instagram accounts connected to this install — id, username, label. - instagram_actions_list_comments(posts: string[], account?: string) — List the comments on a post, addressed by URL or shortcode. Returns each comment_id in the form that instagram_actions_like_comment accepts. The official API returns a DIFFERENT id that is not accepte - instagram_actions_list_jobs(status?: string, account?: string) — List recent action jobs for the connected account, optionally filtered by status. - instagram_actions_list_stories(target: string, wait?: boolean, account?: string) — List a specific user's currently available stories (read-only, does not mark as seen). Returns a job_id (or the result inline when wait=true). - instagram_actions_send_message(target: string, text: string, dry_run?: boolean, account?: string) — Send the FIRST direct message to someone who has never messaged this account (the official API cannot do this). One recipient per call, low daily cap. Returns a job_id. - instagram_actions_unfollow(targets: string[], account?: string) — Unfollow one or more Instagram users by @username. Returns a job_id. - instagram_actions_view_story(targets?: string[], account?: string) — Watch (mark as seen) the stories of one or more profiles. Omit `targets` to watch the home tray. Returns a job_id. - instagram_create_carousel_container(caption?: string, children?: string[], ig_user_id?: string, location_id?: string, share_to_feed?: boolean, child_image_urls?: string[], child_video_urls?: string[], child_image_files?: object[], child_video_files?: object[], graph_api_version?: string) — Create a draft carousel post with multiple images/videos before publishing. Instagram requires carousels to have between 2 and 10 media items. Container creation_ids expire in under 24 hours, so publi - instagram_get_conversation(conversation_id: string, graph_api_version?: string) — Get details about a specific Instagram DM conversation (participants, etc). Requires a Business or Creator account with Instagram messaging permissions; personal accounts will return permission errors - instagram_get_ig_media(fields?: string, ig_media_id: string, graph_api_version?: string) — Get a published Instagram Media object (photo, video, story, reel, or carousel). Use when you need to retrieve detailed information about a specific Instagram post including engagement metrics, captio - instagram_get_ig_media_comments(after?: string, limit?: integer, before?: string, fields?: string, ig_media_id: string, graph_api_version?: string) — Tool to retrieve comments on an Instagram media object. Use when you need to fetch comments from a specific Instagram post, photo, video, or carousel owned by the connected Business/Creator account. S - instagram_get_ig_media_insights(metric: string[], period?: string, breakdown?: string, ig_media_id: string, graph_api_version?: string) — Read media insights. REST response: read result.result.data. Request metric=[views,reach,saved,shares] for views, reach, saves and shares; availability depends on the media type and metric. - instagram_get_ig_user_media(after?: string, limit?: integer, since?: integer, until?: integer, before?: string, fields?: string, ig_user_id?: string, graph_api_version?: string, auto_resolve_fb_page_id?: boolean) — List account media. REST response: read result.result.data and result.result.paging (not result.data). Null engagement fields mean unavailable, not zero; use media insights for saved, shares and views - instagram_get_user_info(ig_user_id?: string, graph_api_version?: string) — Get Instagram Business Account info including profile details and statistics. Use "me" to query your own authenticated account, or provide the numeric Business Account ID of an account you manage. NOT - instagram_get_user_insights(since?: integer, until?: integer, metric?: string[], period?: string, breakdown?: string, timeframe?: string, ig_user_id?: string, metric_type?: string, graph_api_version?: string) — Read account insights at result.result.data in REST. An empty data array means insights are unavailable, not zero. It does not by itself establish a follower-count restriction. - instagram_list_all_conversations(after?: string, limit?: integer, user_id?: string, platform?: string, ig_user_id?: string, graph_api_version?: string) — List all Instagram DM conversations for the authenticated user. Requires a Business/Creator account with messaging permissions; personal accounts return empty results. Response conversations are neste - instagram_list_all_messages(after?: string, limit?: integer, conversation_id: string, graph_api_version?: string) — List all messages from a specific Instagram DM conversation. Requires a Business or Creator account with messaging permissions; personal accounts return empty results. Response data is nested under da - instagram_mark_seen(ig_user_id?: string, recipient_id: string, graph_api_version?: string) — Mark Instagram DM messages as read/seen for a specific user. Sends a 'mark_seen' sender action to indicate messages from the specified recipient have been read. Marking as seen is visible to the other - instagram_post_ig_comment_replies(message: string, ig_comment_id: string, graph_api_version?: string) — Tool to create a reply to an Instagram comment. Use when you need to reply to a specific comment on an Instagram post owned by a Business or Creator account. The reply must be 300 characters or less, - instagram_post_ig_user_media(caption?: string, alt_text?: string, children?: string[], cover_url?: string, image_url?: string, user_tags?: object[], video_url?: string, audio_name?: string, ig_user_id?: string, image_file?: object, media_type?: string, video_file?: object, location_id?: string, thumb_offset?: integer, share_to_feed?: boolean, is_carousel_item?: boolean, graph_api_version?: string, trial_params?: object) — Tool to create a media container for Instagram posts. Use this to create a container for images, videos, Reels, or carousels. This is the first step in Instagram's two-step publishing process - after - instagram_post_ig_user_media_publish(ig_user_id?: string, creation_id: string, max_wait_seconds?: integer, graph_api_version?: string, poll_interval_seconds?: number) — Tool to publish a media container to an Instagram Business account. This action automatically waits for the container to finish processing before publishing. Instagram enforces an account-specific con - instagram_send_image(image_url: string, ig_user_id?: string, recipient_id: string, graph_api_version?: string) — Send an image via Instagram DM to a specific user. Each send modifies inbox state; avoid bulk or automated sends without explicit user approval. - instagram_send_text_message(text: string, ig_user_id?: string, recipient_id: string, graph_api_version?: string, reply_to_message_id?: string) — Send a text message to an Instagram user via DM in an existing conversation. Cannot initiate new DM threads — a prior conversation must exist. Requires an Instagram Business or Creator account with me ## Example prompts - "Publique essa foto no meu feed com a legenda 'novidade!'" - "Quantas visualizações meu último Reels teve?" - "Curta os posts 123 e 456 na minha conta" ## Links Docs: https://mcp.ai/docs/mcps/instagram Website: https://mcp.ai/mcps/instagram