instagram-mcp
Provides tools for Instagram creators to publish and schedule posts, reels, stories and carousels; triage comments and DMs; read insights and audience data; manage conversations; and generate reports and benchmarks via Meta's official Instagram API.
instagram-mcp
MCP server for Instagram creators: publish, schedule, triage comments and DMs, and read insights with an AI agent, using only Meta's official Instagram API. Self-hosted; every write needs your approval.
Status: 1.0.0. Behaviour is specified in docs/CONTRACT.md and covered by a separate, code-blind test suite. It has been run end to end against real Meta on a test account (Facebook Login path, 2026-11-01): publishing, scheduling, comments, DMs, insights, webhooks and cleanup. Unified Login (the default for new apps) was also run end to end on 2026-11-01 with the app Live at Standard Access: setup, token, reads, publishing (URL and local files), scheduling, delete, comment writes, conversations, sending a DM to an Instagram Tester and the messaging profile. Not confirmed: real webhook events on the Unified path (Meta's Test event arrives, live comments and DMs did not; probably needs App Review); the Instagram Login path; collaboration invites and branded content; and actions that need another account's comment or @mention (hiding it, private replies, mention replies). Meta behaviours that are not well documented are listed in docs/TESTING-LIVE.md, and the server tolerates either answer.
Install
git clone https://github.com/pratikgh0se/instagram-mcp.git && cd instagram-mcp && npm ci && npm run buildThen follow Quick start, or docs/SETUP.md if you don't have a Meta app yet.
Related MCP server: instagram-mcp
What it is
Self-hosted. It runs on your machine (or your own server). Nothing is relayed through a third party. Tokens stay in your keychain or an encrypted file.
Official Meta API only. No scraping, no private API, no password login, no browser automation.
Secure by default. Local transport, bearer-protected HTTP, redacted logs, account allowlist, approval before every write. See Security model.
Built for a creator workflow: 42 tools covering publishing and scheduling, comment triage, DMs, insights, reports, a media kit and competitor benchmarks.
Features
Area | Tools | What you get |
Account, auth, ops | 6 | Configured accounts and resolved capabilities, profile, publishing quota and rate usage, operation ledger and audit log, |
Media and archive | 5 | List and read own posts and stories, download media with metadata sidecars, incremental account backup |
Publishing | 6 | Preflight and publish image, reel, story, carousel (local files or URLs), scheduling, schedule list and cancel, delete media, comments on/off, publish status |
Comments, mentions, inbox | 7 | List comments, unified triage inbox (unanswered, handled), batch reply, hide, unhide, delete, private reply, mentions and tagged media, reply to mentions |
Direct messages | 4 | Conversations with 24-hour window state, read messages, send (text, media, reaction, quick replies), ice breakers and persistent menu |
Insights and reports | 8 | Account and media insights, audience demographics, stored daily snapshots and growth, performance report, best time to post, media kit |
Discovery and partnerships | 6 | Business discovery lookup, benchmark against up to 10 accounts, hashtag search and media, collaboration invites (Facebook Login path) |
Full per-tool reference: docs/TOOLS.md (generated from the live registry).
What this cannot do (and why)
The official API does not offer these, so this server does not either.
Follow or unfollow accounts.
List your followers or who you follow.
Like posts or comments, or save posts.
Archive posts in the app (hide from profile).
Pin posts or comments.
Edit a caption after publishing.
Read other people's private content, or download media from accounts that are not business or creator accounts you own.
Run partnership ads (that is the Marketing API).
Use Creator Marketplace (brand-side and requires App Review).
Known limitations
Direct messages in Development mode (facebook login path):
instagram_list_conversationsreturns an empty list until the other participant has a role on the app (the Instagram Tester role; see docs/SETUP.md section F). Confirmed 2026-11-01; see docs/CONTRACT.md U29.DM sending: in Development mode a send to an Instagram Tester failed with
MESSAGING_WINDOW_CLOSED(Meta(#10), subcode 2534022) even inside the 24 h window; once the app was Live (still Standard Access) the same send succeeded (confirmed 2026-11-01, facebook path). Sending to people with no role on the app needs Advanced Access forinstagram_manage_messagesper Meta (App Review; not tested). Private replies to comments work.On the facebook path, real webhooks (comments and DMs) arrive only once the app is Live and subscribed to the Page (
webhooks subscribe-page, default fieldfeed, needspages_manage_metadata; DMs need no extra permission). Going Live needs a public privacy policy page and data deletion page; templates and free hosting steps are in docs/legal/ and docs/SETUP.md section O.Unified Login: live-tested 2026-11-01 (app Live, Standard Access) for setup, token, reads, publishing, scheduling, delete, comment writes, conversations, DMs to an Instagram Tester and the messaging profile; hiding others' comments, private replies and @mention replies were confirmed 2026-11-02. Real webhook events were not delivered to a Unified app (Test event only; see Webhooks). Hashtag search needs App Review (Meta code 10).
Instagram Login: Meta no longer offers the dashboard Instagram-login token to apps (confirmed 2026-11-01). The path remains for apps that already have it, and is not live-tested by the maintainer.
instagram_get_profilereturnsaccount_type: nullon the facebook and unified login paths (the Graph API does not provide it there); a warning says so.Mention replies work only for caption or comment @mentions, not photo tags.
Which login path
Each account is configured with one of three login paths. All use only official endpoints. Unified Login is the one to use for a new app without a Facebook Page; Meta no longer offers Instagram Login to apps.
Feature | Unified Login (new apps) | Facebook Login (for Business) | Instagram Login (legacy) |
Needs a Facebook Page | No (needs a business portfolio) | Yes | No |
Publish by URL (image, reel, story, carousel) | Yes (confirmed 2026-11-01) | Yes | Yes |
Publish local files | Video by resumable upload (no tunnel); images through the media host | Video by resumable upload (no tunnel); images still through the media host | Images and video through the media host (needs a tunnel) |
Comments, mentions, insights, scheduling | Insights, scheduling and own-comment writes (comment, reply, hide/unhide own, delete, comments off/on): confirmed. Hide or private reply on others' comments and mentions: not tested | Yes | Yes |
Direct messages | Read and send (to an Instagram Tester inside 24 h, app Live): confirmed 2026-11-01; ice breakers set/clear confirmed | Read: yes (role users in Development mode). Send: needs Advanced Access | Probed (unverified) |
Delete media | Yes (confirmed 2026-11-01) | Yes | Probed (unverified) |
Business discovery (competitor lookup, benchmarks) | Yes (read confirmed) | Yes | No |
Hashtag search | Probed; needs App Review (code 10) | Yes | No |
Branded content and paid partnership flags | Probed (needs a real sponsor to test) | Yes | Probed (unverified) |
Collaboration invites | Probed (no invite to respond to) | Yes | Probed (unverified) |
| Unverified (real webhook events did not arrive on Unified) | Yes | No |
Token | System-user token, never expires | Long-lived Page token | 60 days, refreshable by the server |
"Probed" means the server tries the call and, if Meta refuses it, remembers that for the account and returns CAPABILITY_UNAVAILABLE naming the other path. Recommendation: Unified Login for a new app without a Page (needs a business portfolio), Facebook Login for the path verified end to end. docs/SETUP.md section B helps you choose.
Quick start
Requires Node.js 22.13 or newer. Installation is from source (the package is not published to npm yet).
git clone https://github.com/pratikgh0se/instagram-mcp.git
cd instagram-mcp
npm ci
npm run build
# Optional: put the CLI on your PATH. Otherwise use `node dist/cli.js` wherever this README says `instagram-mcp`.
npm link
instagram-mcp accounts add --alias main --login unified # facebook path: --login facebook --page-id <PAGE_ID> --app-id <APP_ID>
instagram-mcp auth set-token --account main # hidden prompt, or pipe it on stdin; ig_user_id is found automatically
# facebook path only: instagram-mcp auth set-app-secret (hidden prompt; the token exchange needs it)
# optional on unified: instagram-mcp auth set-app-secret --account main (per-account secret, useful with accounts from more than one Meta app)
instagram-mcp doctorThe unified path needs the token from the dashboard's "API setup with Unified login" (see docs/SETUP.md section H2); the app ID and Page ID are not needed. The facebook path needs three things: the Page ID, the app ID and the app secret. A Graph API Explorer token lasts about 1 hour, so run auth set-token right after generating it; without the app secret the long-lived exchange fails and the token expires within the hour.
Before this works you need a Professional Instagram account, a Meta app and a token. docs/SETUP.md walks through that from "no Meta developer account", step by step. doctor prints PASS, WARN or FAIL per check with a fix for each. If a feature wrongly reports CAPABILITY_UNAVAILABLE (a cached "no"), clear it with instagram-mcp capabilities reset --account <alias>.
Connect an MCP client
Use absolute paths. Replace /ABSOLUTE/PATH/TO/instagram-mcp with your clone. For Claude Desktop also use the absolute node path from command -v node (Desktop does not read your shell PATH, so an nvm-installed node is not found by a bare node).
Claude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"instagram": {
"command": "/ABSOLUTE/PATH/TO/node",
"args": ["/ABSOLUTE/PATH/TO/instagram-mcp/dist/cli.js", "serve"]
}
}
}Claude Code (stdio):
claude mcp add instagram -- node /ABSOLUTE/PATH/TO/instagram-mcp/dist/cli.js serveHTTP mode (Streamable HTTP at /mcp, bearer required, loopback by default):
instagram-mcp http-token rotate # prints a new bearer once; stores it in your secrets backend
instagram-mcp serve --http --port 8765claude mcp add --transport http instagram http://127.0.0.1:8765/mcp --header "Authorization: Bearer <TOKEN>"The server refuses to start in HTTP mode without a stored bearer, and refuses a non-loopback bind unless http.allow_remote is true. INSTAGRAM_MCP_HTTP_HOST overrides http.host (the --host flag wins over both); the allow_remote rule applies to the effective host.
Tip: set your client to ask before running instagram_approve and let everything else run. That one tool is the only one that changes Instagram.
Long approves: publishing a large carousel (up to 20 items) can take several minutes while Instagram processes each container. instagram_approve sends MCP progress notifications whenever the client supplies a progress token, so if your client has a request timeout (many default to 60 s), enable reset-on-progress (resetTimeoutOnProgress in the MCP SDK) or raise the timeout for that tool. If a client kills the server mid-approve, the operation is marked unknown the next time the server starts or any operation is looked up; use instagram_get_operation to reconcile it. On shutdown (stdin closed, SIGTERM, SIGINT) the server waits up to INSTAGRAM_MCP_DRAIN_MS (default 5 minutes) for in-flight approves; a second signal exits immediately.
How writes work
Every Instagram-side write goes through two steps.
instagram_preflight_<action>is read-only. It validates input, policy, capability, quota and media specs, reads the current target state, and returns a preview, warnings and anapproval_idthat expires (default 10 minutes).instagram_approvewithconfirm: trueexecutes exactly what was previewed. It is single-use, re-checks the target still exists, and records an audit row. Repeating it returns the stored outcome without re-executing.
Controls in config.json under policy:
read_only: truemakes every preflight and approve fail withPOLICY_DENIED.dry_run: truemakesinstagram_approvevalidate and return the planned Graph calls without sending anything. Good for a first trial.disabled_actions: ["delete_media", "send_message"]blocks named actions.approval_ttl_secondssets the approval lifetime.verify_remote_media(defaultfalse): when true, preflights resolve remote media hosts (pinned DNS) and send one HEAD each; when false no non-Meta request is made and aMEDIA_UNVERIFIEDwarning is returned.confirm_via_elicitation(defaulttrue):instagram_approveasks you to confirm through MCP elicitation when the client supports it; declining returnsPOLICY_DENIED.
Other keys: local_media_dirs (array, default ["<home>/media"]) lists the only directories local publish media may come from; media_host.bind (default 127.0.0.1) and media_host.allow_remote (default false, required for a non-loopback bind, e.g. in Docker).
Publishing never double-posts: an ambiguous media_publish failure is recorded as outcome unknown with the creation id, and instagram_get_operation reconciles it instead of retrying.
Scheduling and the daemon
Giving instagram_preflight_publish a publish_at creates a scheduled job on approval. The job is executed by the daemon (or instagram-mcp scheduler run-once from cron): containers are created shortly before the time and published at the time. A job missed by more than missed_grace_minutes (default 60) is marked missed and never posted late.
instagram-mcp daemon # scheduler, webhooks (if enabled), daily snapshots, token refresh
instagram-mcp daemon --http # also serves the MCP endpoint over HTTPOne daemon runs per state directory. Ready-made launchd and systemd files and a Dockerfile are included. See docs/SETUP.md section N.
Webhooks
The daemon can receive Instagram webhooks (comments, mentions, messages and more) on POST /webhooks/instagram, verifying X-Hub-Signature-256 with your app secret. It needs a stable public HTTPS URL (a named Cloudflare Tunnel works; see examples/cloudflared-config.yml). Without webhooks, the inbox polls the API instead. On the Unified Login path use the dashboard's "3. Configure webhooks" and the per-account Webhook Subscription toggle (no Page subscription). Observed 2026-11-01: the dashboard's Test event reaches the daemon signed and attributed to the Unified account, but real comments and DMs were not delivered to the Unified app (probably needs App Review / Advanced Access; unconfirmed), so the inbox relies on polling there. On the Facebook Login path, run instagram-mcp webhooks subscribe-page --account <alias> once so Meta delivers real events (webhooks page-subscription shows the state). Setup: docs/SETUP.md sections O and P.
Security model
Secrets live in the macOS keychain, an AES-256-GCM encrypted file, or read-only environment variables. They never appear in tool output, errors, logs, audit rows or the SQLite database.
State directory is mode 0700 and files 0600; a config file that is group/world-writable, foreign-owned or a symlink is refused. Cleartext (http) API URL overrides and media host URLs are rejected outside test mode.
Keychain items can be read by any process running as your user; use the encrypted-file backend with a passphrase if that matters (see docs/SECURITY-MODEL.md).
HTTP transport: loopback default, mandatory bearer (constant-time compare), Host and Origin checks, 1 MB body limit, rate-limited failures, session idle expiry and server timeouts.
Webhooks are accepted only with a valid HMAC signature. The media host serves only unguessable, expiring tokens for staged files.
User-supplied URLs are fetched over HTTPS only with an SSRF guard; downloads only come from Meta CDN hosts.
Only configured accounts are reachable from any tool.
Details and the threat model: docs/SECURITY-MODEL.md. Reporting: SECURITY.md.
Documentation
Document | Contents |
Step-by-step from a new Meta developer account: app, token, install, tunnel, daemon, Go Live and webhooks | |
Privacy policy and data deletion templates for going Live | |
Generated tool reference | |
Behaviour contract | |
Live end-to-end checklist and unverified upstream facts | |
Threat model | |
Playbook for AI agents installing and operating this server | |
Release notes | |
docs/superpowers/specs/2026-10-29-instagram-mcp-v1-design.md | v1 design spec |
License
MIT. Copyright (c) 2026 Pratik Ghose. See LICENSE.
Available Tools
42 toolsinstagram_approveApprove and executeADestructive
Execute a pending approval created by an instagram_preflight_* tool. This is the only tool that changes Instagram. Requires confirm: true. Single-use; repeating it returns the stored outcome without re-executing.
Inputs: confirm (required), approval_id (required).
instagram_backup_accountBack up accountAIdempotent
Incrementally download all of the account's media into the local downloads directory (skipping items already downloaded) and write insights-latest.json. max_items caps how many recent items are considered (default 500). Per-item failures do not abort the run.
Inputs: account, max_items.
instagram_best_time_to_postBest time to postARead-onlyIdempotent
Best posting slots (UTC) from online_followers when Meta provides it and from your own post history (likes + comments by weekday and hour). States which data was used; missing online_followers is not an error.
Inputs: days, account.
instagram_cancel_scheduledCancel scheduled postADestructive
Cancel a scheduled publish job that has not started (status "scheduled"). Deletes its staged media copies. Local only; no approval needed. Requires confirm: true.
Inputs: job_id (required), confirm (required).
instagram_compare_accountsCompare accountsARead-onlyIdempotent
Compare your account with up to 10 other public business/creator accounts: followers, posting cadence, average likes/comments and format mix over a recent sample. Facebook login path only.
Inputs: usernames (required), account, media_limit.
instagram_download_mediaDownload mediaAIdempotent
Save one of your media items (and carousel children, video thumbnails) to the local downloads directory with a JSON sidecar. Only Instagram CDN hosts are fetched, no credentials are sent, and existing files are skipped. Writes local files only.
Inputs: media_id (required), account, include_children, include_thumbnail.
instagram_get_account_insightsGet account insightsARead-onlyIdempotent
Account-level insights (reach, views, accounts_engaged, total_interactions, likes, comments, shares, saves, follows_and_unfollows, profile_links_taps, demographics, ...). Validates metrics against the current Meta list and rejects deprecated names (impressions, plays, profile_views ...) naming the replacement ("views"). All metrics in one call must share one period.
Inputs: since, until, period, account, +4 more.
instagram_get_audienceGet audienceARead-onlyIdempotent
Follower and engaged-audience demographics (age, gender, city, country) plus online followers by hour when Meta provides them. Engaged and online sections are best-effort: failures are listed in "unavailable", never fatal.
Inputs: account, timeframe, breakdowns, include_engaged, +1 more.
instagram_get_commentGet commentBRead-onlyIdempotent
One comment with its parent id, media id and replies.
Inputs: comment_id (required), account.
instagram_get_conversationGet conversationARead-onlyIdempotent
Messages of one conversation (newest first, max 20) with participants and the 24 h window state. senders is api, webhooks or unavailable (Meta withheld sender fields).
Inputs: conversation_id (required), limit, account.
instagram_get_growthGet growthARead-onlyIdempotent
Growth time series from locally stored snapshots (followers, media count, reach, views, engagement) with deltas between consecutive snapshots. Makes no Instagram request.
Inputs: days, since, until, account.
instagram_get_hashtag_mediaGet hashtag mediaARead-onlyIdempotent
Top or recent public media for a hashtag id from instagram_search_hashtag. Does not use the hashtag search budget. Facebook login path only.
Inputs: hashtag_id (required), type, limit, cursor, +1 more.
instagram_get_inboxGet inboxARead-onlyIdempotent
Unified triage feed: recent top-level comments on your latest media, tags, and stored webhook events, with unanswered (no reply from you) and handled flags. Window = since or last days days. Offset-paginated over the merged list.
Inputs: days, limit, since, cursor, +3 more.
instagram_get_mediaGet mediaARead-onlyIdempotent
Details of one media item: caption, type, permalink, counts, URLs, shortcode, alt text, username and carousel children. Works for Stories too (comment-related fields are null there).
Inputs: media_id (required), account.
instagram_get_media_insightsGet media insightsARead-onlyIdempotent
Insights for one media item. Picks the valid metric set for its product type (FEED incl. carousels, REELS, STORY) when metrics is omitted; an explicit list is validated against that product type. Optional breakdown only for navigation or profile_activity.
Inputs: media_id (required), account, metrics, breakdown.
instagram_get_operationGet operationARead-onlyIdempotent
Look up one operation or approval by id (op_... or appr_...): status, preview, result or error. For unknown publish outcomes it reconciles against Instagram (one attempt per call) unless reconcile is false.
Inputs: id (required), reconcile.
instagram_get_profileGet profileARead-onlyIdempotent
Profile of the connected account: username, name, bio, website, counts, profile picture URL and account type. On the facebook and unified login paths account_type is always null and warnings says so (the Graph API does not provide it there).
Inputs: account.
instagram_get_publish_statusGet publish statusARead-onlyIdempotent
Status of a media container (creation_id): FINISHED, IN_PROGRESS, ERROR, EXPIRED or PUBLISHED, with Meta's status text.
Inputs: creation_id (required), account.
instagram_get_rate_limitsGet rate limitsCRead-onlyIdempotent
Publishing quota (content_publishing_limit), the most recent business-use-case and app usage reported by Meta response headers, and the remaining hashtag-search budget (facebook and unified login paths only).
Inputs: account.
instagram_list_accountsList accountsARead-onlyIdempotent
List configured Instagram accounts with login path, default flag, token presence/expiry and the resolved capability matrix (yes/no/probe per feature). Makes no Instagram request.
Inputs: no named parameters.
instagram_list_collab_invitesList collaboration invitesARead-onlyIdempotent
Pending collaboration (collab post) invites for the account. May be unavailable on the instagram login path (CAPABILITY_UNAVAILABLE once Meta rejects it).
Inputs: limit, cursor, account.
instagram_list_commentsList commentsARead-onlyIdempotent
Top-level comments on one of your media (id, text, username, timestamp, like_count, hidden), optionally with their replies. Paginated (limit max 50).
Inputs: media_id (required), limit, cursor, account, +1 more.
instagram_list_conversationsList conversationsBRead-onlyIdempotent
Recent DM conversations with participants, last message, last user message time and whether the 24 h messaging window is open. senders is api, webhooks (Meta withheld senders; time from stored webhook events) or unavailable.
Inputs: limit, cursor, account, user_id.
instagram_list_mediaList mediaARead-onlyIdempotent
List the account's own media (newest first) with caption, type, permalink, counts and URLs. Optional media_product_type filter (FEED|REELS|STORY|AD) is applied after each page is fetched, so a page may hold fewer than limit items while next_cursor is set. since/until are ISO 8601 or YYYY-MM-DD.
Inputs: limit, since, until, cursor, +2 more.
instagram_list_mentionsList mentionsARead-onlyIdempotent
Media you are tagged in (mode tags, paginated), or look up a specific mentioning media (mentioned_media + media_id) or comment (mentioned_comment + comment_id).
Inputs: mode, limit, cursor, account, +5 more.
instagram_list_operationsList operationsARead-onlyIdempotent
Recent operations (approved executions, including dry runs and scheduler-originated), newest first. Filter by action, status, account and created_at range.
Inputs: limit, since, until, action, +3 more.
instagram_list_scheduledList scheduled postsARead-onlyIdempotent
List scheduled publish jobs ordered by publish_at (earliest first). Filter by status and account. Local only.
Inputs: limit, cursor, status, account.
instagram_list_storiesList storiesARead-onlyIdempotent
List the account's currently live stories (last 24 hours).
Inputs: limit, cursor, account.
instagram_lookup_accountLook up public accountARead-onlyIdempotent
Business discovery: public profile stats and recent media of another Instagram business/creator account by username. Facebook login path only (instagram login path returns CAPABILITY_UNAVAILABLE).
Inputs: username (required), account, media_limit.
instagram_mark_handledMark inbox items handledAIdempotent
Local bookkeeping: mark (or unmark) inbox item ids as handled so instagram_get_inbox hides them. No Instagram request.
Inputs: item_ids (required), account, handled.
instagram_media_kitMedia kitARead-onlyIdempotent
Partnership media kit: profile, follower demographics, average reach/views/engagement per format over 30 and 90 days, top posts. Returns JSON plus markdown. Demographic or insight failures only add warnings.
Inputs: account.
instagram_performance_reportPerformance reportARead-onlyIdempotent
Performance report for 7d, 30d, 90d or a custom range: totals vs the previous period, engagement rate (total_interactions / reach), top and bottom posts, format breakdown, posting cadence. Returns JSON plus a markdown summary. Single failed post-insight requests only add warnings.
Inputs: since, until, period, account, +1 more.
instagram_preflight_comment_actionsPreflight comment actionsARead-onlyIdempotent
Plan a batch (1..50) of comment operations: reply, comment, hide, unhide, delete, private_reply. Reads each target, returns a preview, the exact planned calls and an approval_id; nothing is written until instagram_approve. Per-item outcomes are reported on approve; one failing item never stops the batch. private_reply needs the messaging capability and a comment younger than 7 days.
Inputs: ops (required), account.
instagram_preflight_delete_mediaPreflight delete mediaARead-onlyIdempotent
Preview deleting one of your own posts, reels or stories (a carousel is deleted as a whole). Returns an approval_id; the post is deleted only after instagram_approve. Not available on every login path.
Inputs: media_id (required), account.
instagram_preflight_publishPreflight publishARead-onlyIdempotent
Validate and preview publishing an image, reel, story or carousel (public URLs or local files), optionally scheduled with publish_at. Checks media rules and the 24 h publishing quota, then returns an approval_id and the exact planned Graph calls. Nothing is posted until instagram_approve.
Inputs: kind (required), media (required), cover, account, +12 more.
instagram_preflight_reply_mentionPreflight reply to mentionARead-onlyIdempotent
Plan a reply to a media mention (media_id) or a comment mention (media_id + comment_id) via POST /{ig}/mentions. Returns an approval_id for instagram_approve.
Inputs: message (required), media_id (required), account, comment_id.
instagram_preflight_respond_collab_invitePreflight: respond to collab inviteARead-onlyIdempotent
Preview accepting or declining a pending collaboration invite (reads the invite list only). Returns an approval_id; nothing changes until instagram_approve is called with it.
Inputs: accept (required), media_id (required), account.
instagram_preflight_send_messagePreflight send messageARead-onlyIdempotent
Plan a DM (text, media URL, or reaction; optional quick replies) to an IGSID or conversation. Checks the 24 h messaging window from the last 20 messages, or from stored webhook events when Meta withholds senders (WINDOW_UNVERIFIED warning when neither is available) (HUMAN_AGENT tag only if policy allows and within 7 days) and returns an approval_id for instagram_approve.
Inputs: text, media, account, reaction, +5 more.
instagram_preflight_set_comments_enabledPreflight comments toggleARead-onlyIdempotent
Preview turning comments on or off for one of your posts. Returns an approval_id; applied only after instagram_approve.
Inputs: enabled (required), media_id (required), account.
instagram_preflight_set_messaging_profilePreflight set messaging profileARead-onlyIdempotent
Plan changes to the DM profile: ice breakers (max 4), persistent menu, and/or clearing either. Shows the current profile and returns an approval_id for instagram_approve.
Inputs: clear, account, ice_breakers, persistent_menu.
instagram_search_hashtagSearch hashtagARead-onlyIdempotent
Resolve a hashtag to its id. Meta allows 30 distinct hashtags per account per rolling 7 days; repeats within the window are free, a 31st new hashtag returns HASHTAG_BUDGET_EXHAUSTED. Facebook login path only.
Inputs: query (required), account.
instagram_snapshot_insightsSnapshot insightsA
Fetch current counts and last-24h account insights and store them as a local snapshot (the daemon also does this daily). Feeds instagram_get_growth. Allowed under read_only.
Inputs: account.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 42 tools
Most tools have clearly distinct purposes, helped by the preflight/approve split and explicit capability notes. Some overlap remains among analytics/report tools such as performance_report, media_kit, account_insights, audience, growth, and best_time_to_post, which could still require careful selection.
All tools use the instagram_ prefix and snake_case, and most follow a predictable verb_noun pattern such as get_media, list_comments, and preflight_publish. Minor deviations are noun- or phrase-based names like media_kit, performance_report, and best_time_to_post.
The server exposes 42 tools, well above the typical 3-15 range, even for a broad Instagram management surface. Many analytics, inbox, and preflight operations could likely be consolidated or grouped to reduce agent selection burden.
Coverage is broad: media, publishing/scheduling, approval flow, comments, DMs, mentions, collabs, insights, hashtags, backup, and account discovery are all represented. Minor gaps remain, such as direct media caption editing or richer mention moderation, but core lifecycles are largely covered.
Maintenance
Related MCP Connectors
Instagram MCP for DM and comment automation, AI Agent and content publishing via Meta's official API
Hosted MCP for Instagram, Facebook, X, LinkedIn, Pinterest, and Ghost. OAuth 2.1, 38 tools.
Agent-first social media publishing, scheduling, analytics, and unified inbox API + 16-tool MCP server across 18 social platforms (X, LinkedIn, Instagram, YouTube, TikTok, Threads, Bluesky, Reddit, Telegram, Discord, Mastodon, Facebook, Pinterest).
Schedule posts on 11 social networks, answer comments and read analytics, hosted or local
Related MCP Servers
- AlicenseBqualityCmaintenanceMCP server for Instagram Graph API, Threads API & Meta platform — posting, insights, comments, messaging66302 npm36MIT
- AlicenseAqualityBmaintenanceA planned MCP server that exposes Instagram professional account operations (content publishing, media management, comment moderation, insights, and discovery) through safe, well-annotated tools via the official Meta Graph API.2571 npm7MIT
- AlicenseNot gradedqualityCmaintenanceMCP server for Instagram Graph API integration, enabling AI applications to manage Instagram Business accounts: fetch profiles, media, insights, publish content, and handle DMs.MIT
- FlicenseNot gradedqualityDmaintenanceA production-ready MCP server for interacting with Instagram/Meta APIs, enabling AI agents to manage content, analyze performance, research competitors, and handle publishing workflows.-