# CommentKeyword

CommentKeyword enables AI agents to configure Instagram comment-to-DM keyword triggers on upcoming posts or Reels through the official Meta API.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 1 repo stars
- Author: commentkeyword
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/commentkeyword/instagram-mcp-server
- Updated: 2026-10-27
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/commentkeyword

## What it does

This server bridges your AI assistant to Meta's official Instagram API via the CommentKeyword service. The model configures rules where a specified keyword in comments triggers an instant public reply and a direct message. Thanks to the `next_post` target, automations attach to an upcoming Reel before publishing, removing the need for an existing post ID.

Execution relies on a local stdio process via `npx` requiring Node 18+. The integration bypasses browser scraping, passwords, and session cookies. It focuses strictly on comment triggers without scheduling posts or browsing your inbox.

Connecting requires an Instagram professional account (Business or Creator) alongside a CommentKeyword API key. The free tier covers up to 3 active keywords and 300 automated direct messages per month.

## Requirements
- Environment variables: `COMMENTKEYWORD_API_TOKEN`, `COMMENTKEYWORD_API_URL` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Install**
- The MCP registry has no launch command for it: see the repository README

## When to use it
- send direct messages automatically when followers comment a specific keyword
- link DM triggers to an upcoming Reel before it goes live
- pause outdated comment automation rules
- attach an AI agent to handle follow-up questions in direct messages

## Example prompts
- Configure a new trigger sending the guide in DM when viewers comment START on my upcoming Reel, along with a public reply.
- Show pending keywords awaiting a new post and disable last month's inactive rules.
- Connect the support assistant to the DEMO keyword to answer incoming messages.

## Similar
- [instagram-research](https://affpapa.org/en/nevibecode/skills/postplusai-instagram-research.md) — skill · 579 installs
- [insta-master](https://affpapa.org/en/nevibecode/skills/insta-master.md) — skill · 131 installs
- [Buzzfy](https://affpapa.org/en/nevibecode/mcp/buzzfy.md) — MCP server
- [Saypage](https://affpapa.org/en/nevibecode/mcp/saypage.md) — MCP server
- [instagram-skills](https://affpapa.org/en/nevibecode/plugins/instagram-skills.md) — plugin · ★ 897 repo stars
- [outlier-post-finder](https://affpapa.org/en/nevibecode/skills/outlier-post-finder.md) — skill · 2000 installs

---
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
