Updated April 2026
Install Instagram MCP Server
Pick your client, copy the command, done.
Local setup required. This server has to be cloned and prepared on your machine before you register it in Claude Code.
1
Set the server up locally
Run this once to clone and prepare the server before adding it to Claude Code.
git clone https://github.com/jlbadano/ig-mcp
cd ig-mcp
pip install -r requirements.txt2
Register it in Claude Code
After the local setup is done, run this command to point Claude Code at the built server.
claude mcp add -e "INSTAGRAM_ACCESS_TOKEN=${INSTAGRAM_ACCESS_TOKEN}" instagram-mcp-7b6f -- python "<FULL_PATH_TO_IG_MCP>/dist/index.js"Replace <FULL_PATH_TO_IG_MCP>/dist/index.js with the actual folder you prepared in step 1.
Required:
INSTAGRAM_ACCESS_TOKENEnvironment Variables
Set these before running Instagram MCP Server.
VariableDescriptionRequired
INSTAGRAM_ACCESS_TOKENLong-lived access token with appropriate permissionsYesAvailable Tools (8)
Once configured, Instagram MCP Server gives your AI agent access to:
get_profile_infoRetrieve Instagram business profile detailsget_media_postsFetch recent posts from an Instagram accountget_media_insightsRetrieve engagement metrics for specific postspost_idpublish_mediaUpload and publish images/videos to Instagramimage_urlcaptionget_account_pagesList Facebook pages connected to the accountget_conversationsList Instagram DM conversationsget_conversation_messagesRead messages from specific conversationsconversation_idsend_dmReply to Instagram direct messagesconversation_idmessageTry It Out
After setup, try these prompts with your AI agent:
→Analyze the engagement metrics for my most recent Instagram post.
→Draft a new Instagram post about our latest product launch and publish it.
→List my recent Instagram DM conversations and summarize the pending inquiries.
→What is the current follower count and bio for my business profile?
→Find the top performing post from last week based on engagement insights.
Prerequisites & system requirements
- An MCP-compatible client (Claude Code, Cursor, Windsurf, Claude Desktop, or Codex)
- Python 3.8+ with pip installed
INSTAGRAM_ACCESS_TOKEN— Long-lived access token with appropriate permissions
Keep this setup from going cold
Save the docs, env vars, and workflow around Instagram MCP Server in Conare so Claude Code, Codex, and Cursor remember it next time.
Need the legacy visual installer? Open Conare IDE.