# Instagram

This MCP server links an Instagram account to AI clients for publishing, comment and DM handling, and account or media insights.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 5
- Author: mcp-dir
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/mcp-dir/instagram-mcp
- Updated: 2026-08-30
- HTML: https://affpapa.org/en/nevibecode/mcp/instagram

## What it does

Instagram connects an account to Claude Code and other MCP clients. It uses the official API to publish photos, videos, carousels, Reels, and Stories, retrieve comments and direct messages, send replies, and read profile or media metrics.

The server exposes 27 tools for media, comments, conversations, and insights. Engagement requests run asynchronously: each returns a `job_id`, which can be checked with `instagram_actions_get_job_status` or `instagram_actions_list_jobs`. The Advanced plan adds likes, follows, story viewing, and starting a new DM conversation.

Connection is available through a Business or Creator account, or through a username and password with 2FA support. Engagement jobs run one at a time and take about `~40 s` to `~2 min`, so the queue is a constraint for account actions at higher volume.

## Requirements
- Remote server: `https://api.mcp.ai/p_instagram`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http instagram-mcp https://api.mcp.ai/p_instagram
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add instagram --url https://api.mcp.ai/p_instagram
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "instagram": {
            "url": "https://api.mcp.ai/p_instagram"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "instagram": {
            "type": "http",
            "url": "https://api.mcp.ai/p_instagram"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http instagram https://api.mcp.ai/p_instagram
```

## When to use it
- publish photos, videos, or Reels to Instagram
- check new comments on recent posts
- reply to a comment or an existing DM
- read reach and engagement metrics
- track an account action by `job_id`

## Example prompts
- Publish `launch.jpg` to my Instagram with the caption “Today’s launch.”
- Find new comments on my recent posts and reply to them.
- Show the reach and engagement for my Reels, then check the job status.

## Similar
- [REA](https://affpapa.org/en/nevibecode/mcp/rea.md) — MCP server · ★ 392262
- [GitHub](https://affpapa.org/en/nevibecode/mcp/github.md) — MCP server · ★ 33989
- [Netdata](https://affpapa.org/en/nevibecode/mcp/netdata.md) — MCP server · ★ 81163
- [browser-use](https://affpapa.org/en/nevibecode/mcp/browser-use.md) — MCP server · ★ 119231
- [Codebase Memory](https://affpapa.org/en/nevibecode/mcp/codebase-memory.md) — MCP server · ★ 47577
- [mcp-server](https://affpapa.org/en/nevibecode/mcp/mcp-server.md) — MCP server · ★ 43902

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
