instagram_actions_list_accounts
List the Instagram accounts connected to this install — id, username, label.
account
io.github.mcp-dirPublished by GitHub account mcp-dirv0.1.0Updated Oct 24, 2026
Instagram for AI agents: publish, read comments and DMs, insights, and engage from your account.
Lets an assistant publish to, read comments and DMs from, and pull insights for a connected Instagram account.
Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.
Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.
Read https://sourceweft.com/mcp/io.github.mcp-dir%2Finstagram-mcp/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.Add this to your client's mcpServers config.
{
"mcpServers": {
"instagram": {
"type": "http",
"url": "https://api.mcp.ai/p_instagram"
}
}
}This repository has no README.
List the Instagram accounts connected to this install — id, username, label.
accountLike 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.
postsrequiredaccountList 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 accepted there. Returns a job_id; poll instagram_actions_get_job_status.
postsrequiredaccountLike 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 rejected. Returns a job_id; poll instagram_actions_get_job_status.
accountcomment_idsrequiredFollow one or more Instagram users by @username. Returns a job_id.
accounttargetsrequiredUnfollow one or more Instagram users by @username. Returns a job_id.
accounttargetsrequiredList 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).
waittargetrequiredaccountWatch (mark as seen) the stories of one or more profiles. Omit `targets` to watch the home tray. Returns a job_id.
accounttargetsSend 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.
textrequiredtargetrequiredaccountdry_runGet the status/progress/result of a previously started action by its job_id. Bulk support: accepts job_ids for batched execution.
job_idrequiredaccountjob_idsList recent action jobs for the connected account, optionally filtered by status.
statusaccountGet 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. NOTE: followers_count and follows_count are returned for your own profile (ig_user_id="me"). For other accounts, follower/… Bulk support: accepts ig_user_ids for batched execution.
accountig_user_idig_user_idsgraph_api_versionList 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. Bulk support: accepts ig_user_ids, auto_resolve_fb_page_ids for batched execution.
afterlimitsinceuntilbeforefieldsaccountig_user_idig_user_idsgraph_api_versionauto_resolve_fb_page_idauto_resolve_fb_page_idsGet 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, caption, media URLs, and metadata. NOTE: This action is for published media only. For unpublished container IDs (from INSTAGR… Bulk support: accepts ig_media_ids for batched execution.
fieldsaccountig_media_idrequiredig_media_idsgraph_api_versionTool 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. Supports cursor-based pagination for navigating through large comment lists. An empty data array in the response indicat… Bulk support: accepts ig_media_ids for batched execution.
afterlimitbeforefieldsaccountig_media_idrequiredig_media_idsgraph_api_versionRead 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. Bulk support: accepts ig_media_ids for batched execution.
metricrequiredperiodaccountbreakdownig_media_idrequiredig_media_idsgraph_api_versionRead 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. Bulk support: accepts ig_user_ids for batched execution.
sinceuntilmetricperiodaccountbreakdowntimeframeig_user_idig_user_idsmetric_typegraph_api_versionTool 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 creating the container, use the media_publish endpoint to publish it. Bulk support: accepts ig_user_ids, location_ids for batched execution.
accountcaptionalt_textchildrencover_urlimage_urluser_tagsvideo_urlaudio_nameig_user_idimage_filemedia_type+8 moreCreate 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 publish promptly after creation. Bulk support: accepts ig_user_ids, location_ids for batched execution.
accountcaptionchildrenig_user_idig_user_idslocation_idlocation_idsshare_to_feedchild_image_urlschild_video_urlschild_image_fileschild_video_files+1 moreTool 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 content-publishing rate limit over a 24-hour moving window; the exact cap varies by account and should be read live via IN… Bulk support: accepts ig_user_ids, creation_ids for batched execution.
accountig_user_idcreation_idrequiredig_user_idscreation_idsmax_wait_secondsgraph_api_versionpoll_interval_secondsTool 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, contain at most 4 hashtags and 1 URL, and cannot consist entirely of capital letters. Bulk support: accepts ig_comment_ids for batched execution.
accountmessagerequiredig_comment_idrequiredig_comment_idsgraph_api_versionSend 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 messaging permissions. Fails with error_subcode 2534022 if outside the messaging window; do not retry these failures. Bulk support: accepts ig_user_ids, recipient_ids, reply_to_message_ids for batched execution.
textrequiredaccountig_user_idig_user_idsrecipient_idrequiredrecipient_idsgraph_api_versionreply_to_message_idreply_to_message_idsSend an image via Instagram DM to a specific user. Each send modifies inbox state; avoid bulk or automated sends without explicit user approval. Bulk support: accepts ig_user_ids, recipient_ids for batched execution.
accountimage_urlrequiredig_user_idig_user_idsrecipient_idrequiredrecipient_idsgraph_api_versionMark 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 party and changes inbox read state — use with explicit user approval in automated or bulk flows. IMPORTANT LIMITATIONS… Bulk support: accepts ig_user_ids, recipient_ids for batched execution.
accountig_user_idig_user_idsrecipient_idrequiredrecipient_idsgraph_api_versionGet 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. Newly sent/received messages may take a few seconds to appear in results. Bulk support: accepts conversation_ids for batched execution.
accountconversation_idrequiredconversation_idsgraph_api_versionList all Instagram DM conversations for the authenticated user. Requires a Business/Creator account with messaging permissions; personal accounts return empty results. Response conversations are nested under `data.data` — accessing top-level `data` as the final list returns zero items. An empty `data` list is a valid … Bulk support: accepts user_ids, ig_user_ids for batched execution.
afterlimitaccountuser_idplatformuser_idsig_user_idig_user_idsgraph_api_versionList 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 data.data (double-wrapped); attachment-only messages may have empty text fields. Bulk support: accepts conversation_ids for batched execution.
afterlimitaccountconversation_idrequiredconversation_idsgraph_api_versionShow Version
Show the current MCP platform and adapter versions.
Takes no parameters.
Report Bug
Report a bug, missing feature, or send feedback. Include the conversation array with recent messages for reproduction.
contextmessagerequiredconversationConnection Status
Returns connection status and URLs. When all providers are connected, returns authenticated:true and empty pending[]. When credentials are missing, returns connect_url for the toolkit and per-install URLs.
Takes no parameters.
Toolkit Info
Returns the current toolkit state: installed MCPs, their connection status, the accounts connected to each one, and how many catalog tools each exposes.
Takes no parameters.
Marketplace
The official mcp.ai marketplace — the in-platform catalog of every MCP/tool, AND the way to run them. Covers capability requests like "find an MCP that does X", "consulta um CPF", "is there a tool for Y". Core flow: action=search discovers MCPs by intent → describe returns one MCP's full profile (every tool with its id + params, pricing, auth) so you pick the right tool_id → invoke RUNS that tool. KEY: invoke works even when the MCP is NOT installed — it runs the tool pontualmente (one-off), without adding the MCP to the toolkit and without bloating the tool list. If the MCP needs a credential/login, invoke returns a connect link; if it is paid and the wallet is empty, invoke returns a checkout/top-up link (the user opens it, then you retry). Use install only to make an MCP PERMANENT in the active toolkit (its tools then show up natively in future sessions); prefer invoke for a single/occasional use. list_tools lists what is callable right now. subscribe/cancel handle per-MCP billing; report_bug sends feedback; request_mcp asks us to build a NEW MCP when nothing fits. Search/describe flag installed_in_toolkit vs installed_in_workspace. Writes (install/uninstall/subscribe/cancel and the one-off install behind invoke) require workspace owner/admin. It also carries the mcp.ai PROMPT LIBRARY, which is about ready-made prompt TEXT rather than MCPs: search_prompts finds one, get_prompt returns its full text with {{variables}} filled, and publish_prompt saves a prompt and returns a shareable mcp.ai/p/<slug> link that opens without login.
limitqueryactionmcp_idmessagetool_idargumentsimmediatetier_slugprompt_bodyprompt_slugprompt_tool+11 moreAuthenticate
MCP.AI for IDE agents (Cursor, etc.): log in in the browser, copy the access token. Best: add it to this server's config as a header `Authorization: Bearer <token>` for a permanent, non-expiring connection. Or paste it here for a session-only login: call with { token: "<jwt>" } after the user pastes, or with no args to get the link.
token75% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
Declare a GitHub repository with a README, or serve resource_documentation in the OAuth protected-resource metadata.
Declare a license in the repository or the registry entry.