Unofficial Instagram MCP
v0.3.0Instagram for AI agents via signed-in Chrome: DMs, profiles, posts and stories.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
ig_status
Cek koneksi browser & akun Instagram yang sedang login. Panggil ini pertama kali.
dm_list_threads
Daftar thread DM teratas (klik-scan, karena daftar IG menyusut jadi avatar). EFEK SAMPING: membuka thread dapat menandainya terbaca.
| Parameter | Type | Description |
|---|---|---|
limit | number |
dm_check
Cek thread mana yang pesan terakhirnya dari lawan bicara (perlu dibalas). Baca saja, tidak membalas apa pun.
| Parameter | Type | Description |
|---|---|---|
limit | number |
dm_read_thread
Baca isi 1 thread DM: username, nama, dan pesan-pesan terakhir dengan arahnya (fromMe true = pesan akun sendiri).
| Parameter | Type | Description |
|---|---|---|
threadId * | string | |
limit | number |
dm_send
Kirim / balas pesan di thread DM yang sudah ada (berdasarkan threadId). AKSI TULIS: benar-benar terkirim kecuali IG_DRY_RUN=true.
| Parameter | Type | Description |
|---|---|---|
text * | string | |
threadId * | string |
dm_send_to_user
Kirim DM ke username tertentu (buka profil, klik Message, lalu kirim). AKSI TULIS seperti dm_send.
| Parameter | Type | Description |
|---|---|---|
text * | string | |
username * | string |
dm_watch
Kontrol watcher DM: action "start" mulai memantau inbox di latar belakang (snapshot murah berkala; perubahan diverifikasi dmCheck), "stop" berhenti, "status" (default) laporkan keadaan. Saat pesan baru terverifikasi, server mengirim notifikasi MCP (notifications/message, logger "dm-watch") dan event-nya bisa diambil dengan dm_events. Pesan lama saat start TIDAK dilaporkan (baseline).
| Parameter | Type | Description |
|---|---|---|
action | string | |
intervalSec | number |
dm_events
Ambil event watcher DM sejak cursor terakhir: pesan baru terverifikasi (dm_new_message, lengkap dengan threadId, username, teks, dan flag spam) dan perubahan state watcher. Kembalikan cursor dari hasil ini sebagai "since" pada panggilan berikutnya. Baca saja; tidak membuka thread.
| Parameter | Type | Description |
|---|---|---|
limit | number | |
since | number |
profile_get
Ambil info profil Instagram (bio, jumlah post/followers/following). Tanpa username = profil akun yang login.
| Parameter | Type | Description |
|---|---|---|
username | string |
search
Cari user & hashtag di Instagram dari kata kunci.
| Parameter | Type | Description |
|---|---|---|
query * | string | |
limit | number |
post_like
Like sebuah post/reel dari URL-nya. Idempotent: kalau sudah di-like, dilaporkan alreadyLiked. AKSI TULIS kecuali IG_DRY_RUN=true.
| Parameter | Type | Description |
|---|---|---|
url * | string |
post_comment
Komentar baru di post/reel dari URL-nya. AKSI TULIS kecuali IG_DRY_RUN=true.
| Parameter | Type | Description |
|---|---|---|
text * | string | |
url * | string |
post_reply_to_comment
Balas SATU komentar spesifik di sebuah post: cari komentar yang memuat teks `match`, klik Reply, lalu kirim balasan. AKSI TULIS kecuali IG_DRY_RUN=true.
| Parameter | Type | Description |
|---|---|---|
match * | string | |
text * | string | |
url * | string |
post_create
Buat post baru dari file gambar lokal + caption. Dengan IG_DRY_RUN=true berhenti tepat sebelum tombol Share.
| Parameter | Type | Description |
|---|---|---|
files * | array | |
caption | string |
user_posts
Daftar post/reel terbaru dari profil seorang user (URL saja). Berguna untuk riset konten & monitoring kompetitor.
| Parameter | Type | Description |
|---|---|---|
username * | string | |
limit | number |
post_get
Detail sebuah post/reel: penulis, waktu, jenis media, dan teks halaman (caption, jumlah like/komen bila tampil).
| Parameter | Type | Description |
|---|---|---|
url * | string |
post_comments
Baca komentar-komentar sebuah post. Pasangan baca dari post_reply_to_comment: baca dulu, putuskan, baru balas.
| Parameter | Type | Description |
|---|---|---|
url * | string | |
limit | number |
feed_home
Intip timeline beranda akun yang login (postingan terbaru + penulisnya).
| Parameter | Type | Description |
|---|---|---|
limit | number |
explore_posts
Daftar post dari halaman Explore saat ini.
| Parameter | Type | Description |
|---|---|---|
limit | number |
hashtag_posts
Daftar post di halaman sebuah hashtag. Berguna untuk riset topik/niche.
| Parameter | Type | Description |
|---|---|---|
tag * | string | |
limit | number |
media_urls
Ambil URL file gambar/video dari sebuah post (untuk diunduh/diolah agent).
| Parameter | Type | Description |
|---|---|---|
url * | string |
user_follow
Follow seorang user. Idempotent: state Following/Requested dilaporkan apa adanya. AKSI TULIS kecuali IG_DRY_RUN=true.
| Parameter | Type | Description |
|---|---|---|
username * | string |
user_unfollow
Unfollow seorang user (dengan dialog konfirmasi IG). AKSI TULIS kecuali IG_DRY_RUN=true.
| Parameter | Type | Description |
|---|---|---|
username * | string |
followers_list
Daftar username followers seorang user (dari dialog followers). Batas hasil mengikuti yang dimuat IG.
| Parameter | Type | Description |
|---|---|---|
username * | string | |
limit | number |
following_list
Daftar username yang di-follow seorang user (dari dialog following).
| Parameter | Type | Description |
|---|---|---|
username * | string | |
limit | number |
comment_like
Like satu komentar spesifik (cari yang memuat teks `match`). AKSI TULIS kecuali IG_DRY_RUN=true.
| Parameter | Type | Description |
|---|---|---|
match * | string | |
url * | string |
post_save
Simpan (bookmark) sebuah post. Idempotent. AKSI TULIS kecuali IG_DRY_RUN=true.
| Parameter | Type | Description |
|---|---|---|
url * | string |
notifications_list
Baca panel notifikasi: like/komen/follow/mention terbaru ke akun yang login. Kunci untuk engagement: dari sini agent tahu siapa yang harus dibalas.
| Parameter | Type | Description |
|---|---|---|
limit | number |
story_view
Buka story seorang user dan laporkan isinya secara ringkas. EFEK: story tertanda sudah dilihat.
| Parameter | Type | Description |
|---|---|---|
username * | string |
story_reply
Balas story seorang user dengan teks (masuk sebagai DM). AKSI TULIS kecuali IG_DRY_RUN=true.
| Parameter | Type | Description |
|---|---|---|
text * | string | |
username * | string |
post_delete
Hapus post MILIK SENDIRI dari URL-nya. Menolak bila penulisnya bukan akun yang login. AKSI TULIS kecuali IG_DRY_RUN=true.
| Parameter | Type | Description |
|---|---|---|
url * | string |
stories_tray
Daftar akun dengan story aktif di tray beranda saat ini (untuk memilih story mana yang dilihat).
| Parameter | Type | Description |
|---|---|---|
limit | number |
story_create
Buat story baru: dari file gambar, atau story teks (text) bila editor teks IG web tersedia untuk akun ini. BATASAN PLATFORM: Instagram Web tidak selalu menyediakan pintu pembuatan story (terverifikasi 16 Nov 2026: akun uji tidak punya entry point story sama sekali di web); tool melaporkan itu dengan jelas bila tidak tersedia. AKSI TULIS kecuali IG_DRY_RUN=true.
| Parameter | Type | Description |
|---|---|---|
file | string | |
text | string |
story_create_poll
Buat story dengan stiker POLLING: question + 2 options (bawaan IG) di atas file gambar. Gagal dengan alasan jelas bila pembuatan story / stiker tidak tersedia di IG web akun ini; story tidak dibagikan bila polling gagal terpasang. AKSI TULIS kecuali IG_DRY_RUN=true.
| Parameter | Type | Description |
|---|---|---|
question * | string | |
file | string | |
options | array |
story_delete
Hapus story aktif MILIK SENDIRI yang sedang tayang. AKSI TULIS kecuali IG_DRY_RUN=true.
ig_selftest
Jalankan self-test resmi. Level "safe" (default): hanya tool baca, aman di akun mana pun. Level "full": menguji SEMUA tool tulis pada konten buatan sendiri lalu MENGHAPUS semuanya di akhir; gerbang keras IG_SELFTEST_FULL=true + IG_DRY_RUN=false + IG_SELFTEST_ACCOUNT harus sama dengan akun login. PERINGATAN: level full hanya di akun kedua, jangan akun utama.
| Parameter | Type | Description |
|---|---|---|
level | string |