thenavidm-instagram-mcp

v0.2.0
thenavidm-instagram-mcp Checked 4 days ago Published 3 months ago

Instagram for AI agents.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_accounts

Every connected Instagram account with live follower counts, post counts and account type, and which tier each one can reach. Start here rather than calling whoami once per account.

ParameterTypeDescription
fastboolean

whoami

Verify one account's token and return its live profile.

ParameterTypeDescription
account

token_status

When each connected token expires, and whether it can be refreshed. Instagram Login tokens die after 60 days of no refresh, which is how most Instagram integrations break.

get_media

Recent posts with permalinks and engagement.

ParameterTypeDescription
account
limitinteger

list_all_media

Every post, paging until the account history is exhausted or max is reached. Use this for analysis over a whole account, not get_media in a loop.

ParameterTypeDescription
account
maxinteger

get_media_by_id

One post by its media id, with full fields.

ParameterTypeDescription
media_id *string
account

list_tagged_media

Posts by other accounts that tagged you.

ParameterTypeDescription
account
limitinteger

list_stories

Stories currently live on the account. Stories vanish after 24 hours, so this is empty most of the time and that is not an error.

ParameterTypeDescription
account

get_media_insights

Reach, saves, shares and interactions for one post. Pass metrics to override the defaults if Meta has retired one in your Graph version.

ParameterTypeDescription
media_id *string
account
metrics

get_account_insights

Account-level reach, follower count and profile views over a period. Pass metrics to override the defaults.

ParameterTypeDescription
account
metrics
periodstring

get_publishing_limit

How many of the 100 API-published posts per rolling 24 hours this account has used. Check before a batch publish.

ParameterTypeDescription
account

growth_history

Follower and post counts over time, from readings this server has already taken. Answers 'how much did I grow this week', which no live Instagram call can. Empty until list_accounts or whoami has run at least twice on different days.

ParameterTypeDescription
account
limitinteger

post_movement

Which posts gained the most likes and comments between the earliest and latest readings this server holds. This is the 'what is still growing' question that a single live call cannot answer.

ParameterTypeDescription
account
limitinteger

create_container

Stage media without posting it. Nothing appears in the app and the container expires unused after 24 hours. This is the only draft-like state Instagram has, so use it when a human should see something before it goes live.

ParameterTypeDescription
account
caption
cover_url
image_url
is_carousel_itemboolean
location_id
media_typestring
video_url

publish_container

Publish a staged container. This makes it live and cannot be undone.

ParameterTypeDescription
container_id *string
account
confirmboolean

post

Publish in one step: stage, wait for processing, publish. Use create_container instead when a person should approve the post first.

ParameterTypeDescription
account
caption
confirmboolean
image_url
media_typestring
video_url

post_carousel

Publish a carousel of 2 to 10 images.

ParameterTypeDescription
image_urls *array
account
caption
confirmboolean

publish_reel

Publish a reel from a public video URL, with an optional cover frame.

ParameterTypeDescription
video_url *string
account
caption
confirmboolean
cover_url
share_to_feedboolean

publish_story

Publish an image or video story. It disappears after 24 hours.

ParameterTypeDescription
account
confirmboolean
image_url
video_url

get_comments

Comments on one of your posts.

ParameterTypeDescription
media_id *string
account
limitinteger

get_comment_replies

Replies nested under one comment.

ParameterTypeDescription
comment_id *string
account

read_all_comments

Comments across the most recent posts on an account, in one call. This is what sentiment analysis, reply triage and 'what do people keep asking' actually need. Each comment carries the post it came from.

ParameterTypeDescription
account
per_postinteger
postsinteger

reply_to_comment

Reply publicly to a comment.

ParameterTypeDescription
comment_id *string
message *string
account

hide_comment

Hide or unhide a comment. A hidden comment stays visible to whoever wrote it, which is why this is gentler than deleting and usually the right choice.

ParameterTypeDescription
comment_id *string
account
hideboolean

delete_comment

Permanently delete a comment. Only works on comments on your own media, and it cannot be undone. Prefer hide_comment.

ParameterTypeDescription
comment_id *string
account
confirmboolean

list_conversations

Instagram DM threads. Empty unless somebody has messaged the account. Reading DMs needs Advanced Access from Meta App Review on most apps.

ParameterTypeDescription
account
limitinteger

get_conversation

Messages inside one DM thread.

ParameterTypeDescription
conversation_id *string
account
limitinteger

send_dm

Send a direct message. Instagram only allows this inside a 24-hour window opened by the recipient messaging you first, or as one private reply to a comment. There is no way to message somebody cold, and any tool that claims otherwise is using the private API.

ParameterTypeDescription
message *string
recipient_id *string
account
confirmboolean

private_reply_to_comment

Send a DM in reply to a comment. This is the comment-to-DM mechanic: the comment is the consent, and it is the only official way to open a conversation with somebody who has not messaged you. One reply per comment.

ParameterTypeDescription
comment_id *string
message *string
account
confirmboolean

discover_account

Public profile and recent posts with engagement for any Instagram Business or Creator account, by username. Official, free, and no risk to your account. Personal and private accounts are not reachable this way and never will be.

ParameterTypeDescription
username *string
account
postsinteger

compare_accounts

Several Business or Creator accounts side by side: followers, post count, and median engagement across their recent posts. This is the competitor question in one call rather than one call per account.

ParameterTypeDescription
usernames *array
account
postsinteger

search_hashtag

Resolve a hashtag name to its id. Instagram caps you at 30 unique hashtags per rolling 7 days per account, so ids resolved before are reused from disk and do not spend another one.

ParameterTypeDescription
name *string
account

hashtag_top_media

The top performing recent posts on a hashtag. What is working right now.

ParameterTypeDescription
hashtag *string
account
limitinteger

hashtag_recent_media

The most recent posts on a hashtag, in time order. What is being posted now.

ParameterTypeDescription
hashtag *string
account
limitinteger

unofficial_status

Whether the unofficial tier is on, whether a session is loaded, how much of the local hourly ceiling is used, and which tools this server deliberately does not implement. Call this first if an unofficial tool fails.

unofficial_profile

Full public profile for ANY Instagram account by username, including personal accounts that business_discovery cannot see. Prefer discover_account when the target is a Business or Creator account: it is official and carries no risk.

ParameterTypeDescription
username *string

unofficial_posts

Recent posts by ANY public account, with engagement. This reaches accounts and history depth no official endpoint returns.

ParameterTypeDescription
username *string
amountinteger

unofficial_stories

Stories currently live on ANY public account. There is no official way to read somebody else's stories.

ParameterTypeDescription
username *string
amountinteger

unofficial_followers

Followers of an account, newest first, capped at 200. Each page is a separate private-API call, so a large request is both slow and the fastest way to get restricted. Ask for the smallest number that answers the question.

ParameterTypeDescription
username *string
amountinteger

unofficial_following

Accounts an account follows, capped at 200. Same cost warning as followers.

ParameterTypeDescription
username *string
amountinteger

unofficial_search_accounts

Search Instagram accounts by name or keyword. There is no official account search.

ParameterTypeDescription
query *string

unofficial_post_comments

Comments on ANY public post, by its URL or shortcode. The official API only returns comments on your own posts.

ParameterTypeDescription
url *string
amountinteger

unofficial_inbox

Your real Instagram inbox, including message requests and threads older than the 24-hour window the official API confines you to.

ParameterTypeDescription
amountinteger

unofficial_thread

Messages inside one inbox thread.

ParameterTypeDescription
thread_id *string
amountinteger

unofficial_send_dm

Send a direct message with no 24-hour window and no prior contact. This is the thing the official API cannot do, and it is also the thing most likely to get an account restricted. Needs the unofficial tier on, and confirm=true.

ParameterTypeDescription
message *string
username *string
confirmboolean