Skip to main content
MCP server CX Codex

CommentKeyword — Claude Code MCP server: setup and overview

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

MIT ★ 1 updated 2026-10-27

Open on GitHub

What CommentKeyword 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.

What it helps with

  • 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 for the agent

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

How to install CommentKeyword

Install

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

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about CommentKeyword

How do I install CommentKeyword in Claude Code?

Register the server by running claude mcp add --transport stdio --env COMMENTKEYWORD_API_TOKEN=YOUR_TOKEN commentkeyword -- npx -y github:commentkeyword/instagram-mcp-server#v0.2.0 with your API key. Alternatively, add the marketplace entry with /plugin marketplace add commentkeyword/instagram-mcp-server and install via /plugin install commentkeyword@commentkeyword.

What does CommentKeyword do?

It lets assistants manage comment-to-DM triggers on Instagram posts and Reels. When someone writes a chosen keyword, the service replies publicly and sends an automated direct message.

Does this server need Instagram account credentials?

No, account passwords or session cookies are never needed. The server communicates through the CommentKeyword API, which hooks into official Meta endpoints for Business or Creator profiles.

Similar MCP servers

All MCP servers for Marketing and content →

Project sponsors

Companies that keep this analytics open