← Back to Instagram MCP

Install Instagram MCP

Pick your client, copy the command, done.

1

Add it to Claude Code

claude mcp add -e "INSTAGRAM_ACCESS_TOKEN=${INSTAGRAM_ACCESS_TOKEN}" instagram-mcp -- npx -y @mcpware/instagram-mcp
Required:INSTAGRAM_ACCESS_TOKEN

Environment Variables

Set these before running Instagram MCP.

VariableDescriptionRequired
INSTAGRAM_ACCESS_TOKENLong-lived access token with appropriate permissionsYes

Available Tools (8)

Once configured, Instagram MCP 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
publish_mediaUpload and publish images/videos to Instagram
get_account_pagesList Facebook pages connected to the account
get_conversationsList Instagram DM conversations
get_conversation_messagesRead messages from specific conversations
send_dmReply to Instagram direct messages

Try It Out

After setup, try these prompts with your AI agent:

Get my latest Instagram profile metrics and follower count.
Fetch the engagement insights for my most recent post.
List my current Instagram DM conversations.
Analyze the performance of my last 5 posts and suggest content improvements.
Prerequisites & system requirements
  • An MCP-compatible client (Claude Code, Cursor, Windsurf, Claude Desktop, or Codex)
  • Node.js 18+ with npm/npx 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 in Conare so Claude Code, Codex, and Cursor remember it next time.

Remember this setup