CommentKeyword

com.commentkeyword由 commentkeyword.com 發布v0.2.0更新於 Oct 29, 2026

Create and manage Instagram comment-to-DM keyword automations in CommentKeyword.

已驗證STDIO僅桌面溝通與協作商業與電商

概覽

AI 產生的概覽

讓 AI 助理透過 Meta 官方 Instagram API,在 CommentKeyword 帳號中建立、修改、暫停與刪除 Instagram 留言轉私訊關鍵字自動化。

可以做什麼
  • 建立留言轉私訊自動化:關鍵字、私訊與公開回覆文案變體、連結追蹤,目標可選下一篇貼文、全部貼文或指定貼文
  • 修改既有自動化:更換文案、為下次發佈重新啟用,或將其暫停
  • 列出並檢視自動化,檢查關鍵字衝突以及下一篇貼文是否已被捕捉
  • 刪除自動化,若已掛上 AI 代理則會先要求確認
  • 列出儀表板中已設定的 AI 代理,以便掛到關鍵字上延續對話
適用情境
適合經營 Instagram 留言轉私訊活動、想透過與助理對話來建立、調整或暫停自動化的人,包括在 Reel 還在剪輯時就先為下一篇發佈做好準備。不適合發佈貼文、查看分析資料或管理收件匣。
執行需求
本機 stdio 伺服器,以 npx 執行,需要 Node 18 或更新版本。需要 CommentKeyword 帳號並已連結 Instagram 專業(商業或創作者)帳號,以及在 COMMENTKEYWORD_API_TOKEN 環境變數中提供的 API 權杖,需具備 keywords:read、keywords:write 與 agents:read 權限。需要連線至 CommentKeyword API 的網路;可用 COMMENTKEYWORD_API_URL 覆寫基礎位址。
安裝前請注意
此權杖是僅限單一工作區的個人憑證,會以 Bearer 標頭送往 CommentKeyword API;請妥善保管,外洩時立即撤銷。建立或啟用自動化會讓服務向留言者發送真實的 Instagram 私訊,操作前請確認關鍵字、文案與目標。若權杖含 keywords:delete 權限則可刪除自動化。AI 代理與更高額度需要付費方案。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 CommentKeyword,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

Instagram MCP Server (Comment-to-DM)

[Instagram MCP Server: comment-to-DM automations from Claude, on Meta's official Instagram API]

An open-source Instagram MCP server that lets Claude, Cursor, Codex and other AI agents set up Instagram comment-to-DM automations ("Comment GUIDE and I'll DM you the link") through Meta's official Instagram API. If you were looking for a ManyChat MCP to build comment automations from Claude, this is the alternative that does it: ManyChat's API can't create keyword or comment triggers, so no ManyChat MCP server can either.

Made by CommentKeyword. MIT-licensed. Registry name com.commentkeyword/mcp.

What it doesCreates, re-targets, pauses and deletes Instagram comment-to-DM keyword automations: keyword, public reply, DM, link tracking, optional AI follow-up
How it reaches InstagramMeta's official Instagram API (professional accounts). No password, no session cookies, no scraping
ClientsClaude Code, Claude Desktop, Cursor, Windsurf, Codex and any MCP client that runs a local stdio server
RunsLocally with npx (Node 18+), no dependencies, no build step. A remote server for claude.ai and ChatGPT is planned
Also in this repoAn Agent Skill that plans the "comment X" CTA of a Reel, a Claude Code plugin, a Remotion comment-to-DM CTA for the end of a Reel, an n8n template and a video-toolkit add-on
PriceThe MCP server and the REST API are included on every CommentKeyword plan, Free too (300 automated DMs a month, 3 active keywords)

What it looks like

You:    Edit this into a Reel. CTA: comment GUIDE to get the free checklist.Claude: …edits the video, adds a "Comment GUIDE 👇" overlay inside the safe zone, writes the caption…        Ready to arm the DM:          Keyword: GUIDE (whole word) · Posts: your next post or reel          DM: "Here's the checklist, {{namefirst}} 👉 https://…"          Public reply: "Sent! Check your DMs 📩"        Create it?You:    YesClaude: Done. GUIDE is waiting for your next post. Publish the Reel, then comment GUIDE from        another account to test it.

The next_post target means you don't need the post's ID: the automation attaches itself to the next post or Reel the account publishes, so you can set it up while the video is still in the edit.

More prompts that work:

  • "Anyone who comments PLAN on my next Reel should get https://example.com/plan by DM. Add a public reply."
  • "Re-arm GUIDE for my next upload."
  • "Which of my keywords are waiting for a post? Pause the ones from last month."
  • "Attach my sales agent to the WEBINAR keyword so it answers follow-up questions."

Instagram MCP server vs ManyChat MCP

People often search for a ManyChat MCP when what they want is to tell Claude "set up comment-to-DM for my next Reel". As of October 2026:

JobThird-party ManyChat MCP serversThis server
Find a contact, tag them, set a fieldYesNo (not a CRM)
Send a message or start a flow you already builtYesNo
Create a keyword / comment-trigger automationNo: ManyChat's API has no endpoint for itYes
Point an automation at your next post or ReelNoYes (next_post)
Edit the DM textNo (it lives in ManyChat's flow editor)Yes, up to 10 variants
Official Instagram APIThrough ManyChatYes
Free plan with API accessNo (ManyChat's API is on paid plans)Yes

ManyChat is still the better tool if you need WhatsApp, Messenger, TikTok or email in one place, or large multi-branch visual flows. Details: ManyChat MCP: what exists and ManyChat alternative for comment-to-DM.

Instagram MCP servers: how this one differs

Meta has no official MCP server for organic Instagram (its official MCP covers ads), so every Instagram MCP server is third-party. Many log in with your password or a session cookie, or scrape public pages. This one only talks to the CommentKeyword API, which uses Meta's official Instagram login and permissions, and it does one job well: comment-to-DM. It doesn't publish posts, read analytics or read your inbox; pair it with a scheduler or an analytics connector for those. Comparison: Instagram MCP servers compared.

Before you start

  1. Create a CommentKeyword account at https://commentkeyword.com. API access is included on every plan, including Free.
  2. Connect an Instagram professional account (Business or Creator).
  3. Create an API token under Settings → API (https://commentkeyword.com/settings?tab=api). Give it keywords:read, keywords:write and agents:read. Add keywords:delete only if you want the agent to be able to delete automations.

Install

Claude Code (skill and MCP server)

/plugin marketplace add commentkeyword/instagram-mcp-server/plugin install commentkeyword@commentkeyword

Claude Code asks for your API token when the plugin is enabled. It stores the token in your system keychain.

Claude Code (MCP server only)

bash
claude mcp add --transport stdio --env COMMENTKEYWORD_API_TOKEN=YOUR_TOKEN commentkeyword -- npx -y github:commentkeyword/instagram-mcp-server#v0.2.0

Claude Desktop, Cursor, Windsurf and other MCP clients

Add the server to the client's MCP config. For Claude Desktop that file is claude_desktop_config.json (Settings → Developer → Edit Config).

json
{  "mcpServers": {    "commentkeyword": {      "command": "npx",      "args": ["-y", "github:commentkeyword/instagram-mcp-server#v0.2.0"],      "env": { "COMMENTKEYWORD_API_TOKEN": "YOUR_TOKEN" }    }  }}

Skill only (Claude.ai, Claude Desktop, other agents that read SKILL.md)

With the skills CLI (Claude Code, Cursor, Codex and other agents):

bash
npx skills add commentkeyword/instagram-mcp-server

Or by hand:

  1. Download skills/comment-to-dm-cta as a folder and zip it.
  2. In Claude, upload the zip under Customize → Skills → Upload a skill.

Without the MCP server, the skill still plans the CTA and the DM. It can also call the REST API directly where the agent has network access (see references/api.md).

Add-ons for video toolkits

ToolkitAdd-on
Remotionintegrations/remotion: an animated "comment the keyword, get the DM" box for the end of a Reel. It shows your real public reply, DM, handle and profile picture, read from your automation
claude-code-video-toolkitintegrations/claude-code-video-toolkit: a /comment-dm command that reads the CTA from the project and arms the DM before you publish

n8n

integrations/n8n has an importable n8n workflow that creates the comment-to-DM automation for your next post through the REST API, with Header Auth and no code.

MCP tools

ToolWhat it does
create_keywordCreate an automation. target is next_post, all_posts or specific_posts. Also takes up to 10 DM variants, up to 10 public reply variants, link tracking, and an existing AI agent to attach (aiAgentId, paid plans).
update_keywordChange any field. Re-arm it for the next upload with target: "next_post", or pause it with isActive: false.
list_keywords / get_keywordCheck for conflicts and see whether the next post was caught (nextPostStatus).
delete_keywordDelete an automation. Asks for confirmation when an AI agent is attached.
list_agentsList the AI agents already set up in your dashboard, so one can be attached to a keyword to continue the conversation after the first DM. Agents are created and edited in the dashboard, not through the API.
Environment variable
COMMENTKEYWORD_API_TOKENRequired. Your personal access token.
COMMENTKEYWORD_API_URLOptional. Defaults to https://commentkeyword.com/api.

Network and data

  • One destination. The MCP server and the skill's curl examples only call the CommentKeyword API, at https://commentkeyword.com/api (or COMMENTKEYWORD_API_URL if you set it). No telemetry, no other hosts.
  • What gets sent: your API token (as a Bearer header) and the automation you confirm: keyword, DM and reply text, target posts and options.
  • What comes back: your keyword automations and the names of your AI agents.
  • Nothing on disk. The server stores nothing locally.
  • Privacy policy: https://commentkeyword.com/privacy

Safety

  • Every automation messages real people. The skill and the tool descriptions tell the agent to confirm the keyword, the DM and the target with you before creating or activating anything.
  • Each token works for one workspace and can be revoked at any time in Settings → API.
  • Use the narrowest permissions you need.

Development

bash
npm test   # end-to-end tests: spawns the server over stdio against a mock API

The MCP server has no dependencies and no build step. It is two readable files in server/: core.mjs holds the tools, the validation and the JSON-RPC handling; commentkeyword-mcp.mjs is the stdio entry point. It needs Node 18 or newer.

FAQ

Is there an official Instagram MCP server? No. Meta's official MCP server is for ads. Every MCP server for posts, comments and DMs is third-party, so check whether it uses the official API. This one does.

Does ManyChat have an MCP server? Not an official one, as of October 2026. Third-party wrappers can tag contacts and trigger existing flows, but can't create comment automations, because ManyChat's API doesn't allow it.

Can Claude send Instagram DMs with this? It sets up automations; CommentKeyword then sends the DMs within Instagram's rules: one private reply per comment within 7 days, and more messages within 24 hours after the person writes back.

Is it allowed by Meta? It uses Meta's official Instagram API with permissions you approve, and messages only people who commented your keyword. See Is Instagram DM automation allowed?.

Does it work with ChatGPT or claude.ai in the browser? Not yet: those need a remote MCP server, which is planned. Codex, Claude Code, Claude Desktop, Cursor and Windsurf work today.

What does it cost? The server is free and open source. The CommentKeyword service has a Free plan that includes the API; paid plans add DMs, keywords and AI agents. Pricing.

Links

License

MIT. Maintained by CommentKeyword. Issues and PRs welcome.

來源:README.md,提交 556fba3

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.2.0最新Oct 29, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分