Instagram Dm MCP Server
Read, send, search, and manage Instagram Direct Messages through natural language with any MCP-compatible AI assistant. It runs locally over stdio via the published package.
People who work with Instagram and want it reachable from Claude, Cursor, VS Code, or another MCP client. The project is written in JavaScript.
VERIFIED ACTIVE
LAST COMMIT 2026-04-08 · ★ 4 · #141 OF 216 MAINTAINED SECURITY · VERIFIED 2026-09-30
MIT · JavaScript servers · how we verify → /methodology
01 · Install Instagram Dm
before you install - you'll need
Set INSTAGRAM_SESSION_ID, INSTAGRAM_CSRF_TOKEN, INSTAGRAM_DS_USER_ID before connecting.
Claude Code
claude mcp add kynuxdev-mcp-instagram-dm -- npx -y mcp-instagram-dm Claude Desktop / Cursor / VS Code - add to config
{
"mcpServers": {
"kynuxdev-mcp-instagram-dm": {
"command": "npx",
"args": [
"-y",
"mcp-instagram-dm"
]
}
}
} Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.
Using another client? Same JSON, different key
Claude Desktop · mcpServers
Cursor · mcpServers
VS Code · servers
Windsurf · mcpServers
Zed · context_servers
Cline · mcpServers
Roo Code · mcpServers
Continue · mcpServers
LibreChat · mcpServers
Gemini CLI · mcpServers
Codex CLI · mcp_servers
Full setup guides: every client.
02 · Evidence
Security posture
What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.
runs as local process (stdio) - runs on your machine with your user's permissions
license MIT - declared in the repository
npm package mcp-instagram-dm - unscoped; check the name against the project README before installing
registry namespace io.github.KynuxDev is GitHub-verified and matches the repo owner
03 · Who maintains Instagram Dm
mcp-instagram-dm is maintained by kynuxdev. It's the only MCP server we track from this author; the repo dates to Mar 2026.
04 · Facts
- repository
- github.com/kynuxdev/mcp-instagram-dm
- category
- security - ranked #141 of 216 actively-maintained security servers as of 2026-09-30.
- registry
- io.github.KynuxDev/mcp-instagram-dm (active, first published 2026-04-04)
- packages
- npm:mcp-instagram-dm
05 · Instagram Dm FAQ
What is Instagram Dm?
Read, send, search, and manage Instagram Direct Messages through natural language with any MCP-compatible AI assistant. It runs locally over stdio via the published package.
Is Instagram Dm still maintained?
Yes - as of 2026-09-30, its last commit was 2026-04-08. We re-verify nightly.
How do I install Instagram Dm?
Run `npx -y mcp-instagram-dm`. The README documents 3 environment variables (INSTAGRAM_SESSION_ID, INSTAGRAM_CSRF_TOKEN, INSTAGRAM_DS_USER_ID) to set first. Set INSTAGRAM_SESSION_ID, INSTAGRAM_CSRF_TOKEN, INSTAGRAM_DS_USER_ID before connecting. You can also paste the ready-made client config above.
Does Instagram Dm run locally?
Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.
06 · Alternatives to Instagram Dm
Alternatives to Instagram Dm
Maintained security servers if Instagram Dm isn't the fit.
- OpenWork MCP Gateway Your OpenWork org's skills, plugins, workflows, and connections through one OAuth MCP URL. ★ 23,783 · 2026-09-29
- Treg To OpenRouter for tools and data. Compare catalog providers and call them from one hosted MCP endpoint. ★ 3,881 · 2026-09-30
- SafeDep Vet MCP Protect your AI agents and IDEs from malicious open-source packages. ★ 1,109 · 2026-09-23
- HOL Guard Local-first AI agent security evidence and approval workflows through HOL Guard's stdio MCP server. ★ 680 · 2026-09-30
- SonarQube MCP Server Analyze code quality and security with SonarQube Server or Cloud directly in AI assistants. ★ 655 · 2026-09-29
- Decionis CommerceGate MCP Commerce preflights, D365 authorization, signed evidence, and reports; no marketplace or ERP writes. ★ 589 · 2026-09-28
Pairs well with
Servers that cover what Instagram Dm doesn't - only shown when the pairing reason fits the companion.
More security MCP servers · Leakferret · AIShield Security Scanner · Lovable · Ntobjmanager MCP · Lusha Oss MCP Server
More JavaScript MCP servers · Vorim MCP Server · Tijori Finance · Leghis Smart Thinking · Livewire Flux MCP · Tap · see all