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.

Run in terminal
git clone https://github.com/jlbadano/ig-mcp
cd ig-mcp
pip install -r requirements.txt
2

Register it in Claude Code

After the local setup is done, run this command to point Claude Code at the built server.

Run in terminal
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_TOKEN

Environment Variables

Set these before running Instagram MCP Server.

VariableDescriptionRequired
INSTAGRAM_ACCESS_TOKENLong-lived access token with appropriate permissionsYes

Available Tools (8)

Once configured, Instagram MCP Server gives your AI agent access to:

get_profile_infoRetrieve Instagram business profile details
get_media_postsFetch recent posts from an Instagram account
get_media_insightsRetrieve engagement metrics for specific posts
post_id
publish_mediaUpload and publish images/videos to Instagram
image_urlcaption
get_account_pagesList Facebook pages connected to the account
get_conversationsList Instagram DM conversations
get_conversation_messagesRead messages from specific conversations
conversation_id
send_dmReply to Instagram direct messages
conversation_idmessage

Try 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.
Remember this setup