Unofficial Instagram MCP
v0.3.0Instagram for AI agents via signed-in Chrome: DMs, profiles, posts and stories.
Values you need
| Variable | What it is | |
|---|---|---|
CDP_URL | optional | Chrome DevTools Protocol URL of a Chrome window already signed in to Instagram. Default: http://127.0.0.1:9222 |
IG_DRY_RUN | optional | When true, write tools simulate the action without completing it. Keep true while testing. Default: true |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add unofficial-instagram-mcp -- npx -y unofficial-instagram-mcp@0.3.0Add to
claude_desktop_config.json{
"mcpServers": {
"unofficial-instagram-mcp": {
"args": [
"-y",
"unofficial-instagram-mcp@0.3.0"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"unofficial-instagram-mcp": {
"args": [
"-y",
"unofficial-instagram-mcp@0.3.0"
],
"command": "npx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"unofficial-instagram-mcp": {
"args": [
"-y",
"unofficial-instagram-mcp@0.3.0"
],
"command": "npx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.unofficial-instagram-mcp]
command = "npx"
args = ["-y", "unofficial-instagram-mcp@0.3.0"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: ig_status, dm_list_threads, dm_check, dm_read_thread, dm_send, dm_send_to_user, dm_watch, dm_events, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json