A professional Model Context Protocol (MCP) server that provides a comprehensive toolkit for interacting with Instagram. This server enables LLMs (like Claude or Gemini) to manage accounts, analyze social graphs, discover content, and engage with the Instagram community directly from their interface. - Full Account Control: Edit profile, manage privacy, and track activity. - Advanced Messaging: Re
Add this skill
npx mdskills install arjun1194/insta-mcpComprehensive Instagram automation toolkit with extensive features but overly broad permissions
A professional Model Context Protocol (MCP) server that provides a comprehensive toolkit for interacting with Instagram. This server enables LLMs (like Claude or Gemini) to manage accounts, analyze social graphs, discover content, and engage with the Instagram community directly from their interface.
git clone https://github.com/your-repo/insta-mcp.git
cd insta-mcp
npm install
npm run build
The server supports flexible configuration via environment variables or a local JSON file.
| Variable | Description | Default |
|---|---|---|
INSTAGRAM_USERNAME | Your Instagram username | - |
INSTAGRAM_PASSWORD | Your Instagram password | - |
INSTA_DATA_DIR | Path to store sessions/credentials | ./data |
.env File (Local Dev)Create a .env in the root:
INSTAGRAM_USERNAME=your_user
INSTAGRAM_PASSWORD=your_pass
credentials.jsonCopy the example and fill in your details:
cp config/credentials.example.json data/credentials.json
get_account_overview: Get profile stats (followers, following, bio).get_activity: See notifications (likes, follows, etc.).edit_profile: Update name, bio, website, and email.block_user: Block a specific user.set_privacy: Toggle between Private and Public account.get_followers: List a user's followers.get_following: List who a user follows.compare_follow_lists: Detect "Unfollowers" or "Fans".follow_user / unfollow_user: Manage friendships.get_recent_posts: View latest posts for any user.get_post_insights: Detailed stats (likes, comments, viewers).upload_photo / upload_video / upload_reel: Post content.upload_album: Post carousels with multiple items.search_locations: Find locations for tagging.like_post / add_comment / reply_to_comment: Engage with posts.get_inbox: View recent message threads.get_direct_messages: Fetch history for a specific thread.send_direct_message: Send text to users or groups.react_to_message: Add heart reactions to messages.get_pending_requests: Manage DM requests.mute_thread / leave_thread: Thread management.search_instagram: Search for users, tags, or places.get_timeline: Your main home feed.get_discover: The explore page feed.get_saved_posts: Your bookmarked collections.get_liked_posts: History of your likes.get_tag_feed: Recent posts for a hashtag.get_stories: View active stories from your tray or a user.get_highlights: Access a user's story highlights.Add the following to your claude_desktop_config.json:
{
"mcpServers": {
"instagram": {
"command": "node",
"args": ["/ABSOLUTE/PATH/TO/insta-mcp/dist/index.js"],
"env": {
"INSTAGRAM_USERNAME": "your_username",
"INSTAGRAM_PASSWORD": "your_password"
}
}
}
}
To run in development mode with auto-reload:
npm run format # Format code
npm run dev # Build and start
This project uses the instagram-private-api.
MIT
Install via CLI
npx mdskills install arjun1194/insta-mcpInstagram MCP Server is a free, open-source AI agent skill. A professional Model Context Protocol (MCP) server that provides a comprehensive toolkit for interacting with Instagram. This server enables LLMs (like Claude or Gemini) to manage accounts, analyze social graphs, discover content, and engage with the Instagram community directly from their interface. - Full Account Control: Edit profile, manage privacy, and track activity. - Advanced Messaging: Re
Install Instagram MCP Server with a single command:
npx mdskills install arjun1194/insta-mcpThis downloads the skill files into your project and your AI agent picks them up automatically.
Instagram MCP Server works with Claude Code, Claude Desktop, Cursor, Vscode Copilot, Windsurf, Continue Dev, Gemini Cli, Amp, Roo Code, Goose. Skills use the open SKILL.md format which is compatible with any AI coding agent that reads markdown instructions.