MCP YouTube Transcript
An MCP server retrieving transcripts of YouTube videos
作者提供的说明(英文原文)
Read, send, search & manage Instagram DMs through AI assistants. 15 tools, cookie auth.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"instagram-dm": {
"command": "npx",
"args": [
"-y",
"mcp-instagram-dm"
]
}
}
}在终端中运行这条命令
claude mcp add instagram-dm -- npx -y mcp-instagram-dm粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"instagram-dm": {
"command": "npx",
"args": [
"-y",
"mcp-instagram-dm"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"instagram-dm": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-instagram-dm"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 KynuxDev 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(2.1.1)于7个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:MCP YouTube Transcript, Google Analytics MCP, BibiGPT YouTube Video Summarizer
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
An MCP server retrieving transcripts of YouTube videos
GA4 MCP server for AI agents: schema discovery, server-side aggregation, analysis-ready defaults.
AI video summarizer: summarize and transcribe YouTube, Bilibili, TikTok and podcast videos.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Read, send, search, and manage Instagram Direct Messages through natural language with any MCP-compatible AI assistant.
A Model Context Protocol server that bridges Instagram Direct Messages with AI assistants like Claude, Cursor, and any MCP-compatible client.
Cookie-based authentication — no API keys, no OAuth, just works.
Getting Started · Features · Configuration · Tools Reference · Contributing
💡 If you find this useful, please consider giving it a ⭐ — it helps others discover the project!
Get up and running in under 60 seconds:
1. Add to your MCP config (Claude Desktop, Claude Code, or Cursor):
{
"mcpServers": { "instagram": { "command": "npx", "args": ["-y", "mcp-instagram-dm"], "env": { "INSTAGRAM_SESSION_ID": "your_session_id", "INSTAGRAM_CSRF_TOKEN": "your_csrf_token", "INSTAGRAM_DS_USER_ID": "your_user_id" } } } }
2. Talk to your AI assistant:
*"Read my Instagram DMs"*
That's it — you're ready. 🎉
Need help getting your cookies? See Configuration below.
You: "Show me my unread Instagram DMs"
Claude: Fetching your inbox...
📬 Inbox (3 conversations)
[UNREAD] john_doe (thread_id: 340282366841710300...) Last: [2026-03-29 14:23:01] john_doe: Hey, are you free tonight?
[UNREAD] [GROUP] project_team (thread_id: 340282366841710301...) Last: [2026-03-29 13:45:22] alice: Meeting moved to 3pm
jane_smith (thread_id: 340282366841710302...) Last: [2026-03-29 10:12:45] You: Thanks! See you then
You: "Reply to john_doe: Yeah, let's meet at 7!" Claude: ✅ Message sent: "Yeah, let's meet at 7!"
15 tools across three categories — everything you need to manage your Instagram DMs:
| Tool | Description |
|---|---|
instagram_get_inbox | List recent DM conversations with unread/group/muted indicators |
instagram_get_thread | Get messages from a conversation (auto-paginates — fetch 500+ messages at once) |
instagram_get_pending | List pending DM requests waiting for your approval |
instagram_user_info | Get any user's profile: bio, followers, posts, verification |
instagram_thread_info | Thread metadata: participants, group info, mute/archive status |
| Tool | Description |
|---|---|
instagram_send_message | Send a text message in any thread |
instagram_send_link | Share a URL with optional caption |
instagram_create_thread | Start a new DM with one or multiple users |
instagram_like_message | React to any message with any emoji |
instagram_unsend_message | Unsend your own messages |
instagram_mark_seen | Mark a conversation as read |
instagram_approve_pending | Approve a pending DM request |
| Tool | Description |
|---|---|
instagram_search_inbox | Search conversations by username or name (scans all pages) |
instagram_search_messages | Find messages containing specific text within a thread |
instagram_search_users | Search Instagram users to start new conversations |
npx mcp-instagram-dm
npm install -g mcp-instagram-dm
mcp-instagram-dm
git clone https://github.com/KynuxDev/mcp-instagram-dm.git
cd mcp-instagram-dm npm install && npm run build node dist/index.js
F12 → Application tab → Cookies → https://www.instagram.com| Cookie Name | Environment Variable | Description |
|---|---|---|
sessionid | INSTAGRAM_SESSION_ID | Your session token |
csrftoken | INSTAGRAM_CSRF_TOKEN | CSRF protection token |
ds_user_id | INSTAGRAM_DS_USER_ID | Your numeric user ID |
💡 Tip: You can also run
node get-cookies.jsfor a guided walkthrough.
| Variable | Required | Default | Description |
|---|---|---|---|
INSTAGRAM_SESSION_ID | ✅ | — | Your Instagram session cookie |
INSTAGRAM_CSRF_TOKEN | ✅ | — | CSRF token from cookies |
INSTAGRAM_DS_USER_ID | ✅ | — | Your numeric user ID |
INSTAGRAM_RATE_LIMIT_MS | — | 300 | Delay between paginated API requests (ms) |
Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": { "instagram": { "command": "npx", "args": ["-y", "mcp-instagram-dm"], "env": { "INSTAGRAM_SESSION_ID": "your_session_id", "INSTAGRAM_CSRF_TOKEN": "your_csrf_token", "INSTAGRAM_DS_USER_ID": "your_user_id" } } } }
</details>
Claude Code
Add to your project's .mcp.json:
{
"mcpServers": { "instagram": { "command": "npx", "args": ["-y", "mcp-instagram-dm"], "env": { "INSTAGRAM_SESSION_ID": "your_session_id", "INSTAGRAM_CSRF_TOKEN": "your_csrf_token", "INSTAGRAM_DS_USER_ID": "your_user_id" } } } }
</details>
Cursor
Add to .cursor/mcp.json in your project:
{
"mcpServers": { "instagram": { "command": "npx", "args": ["-y", "mcp-instagram-dm"], "env": { "INSTAGRAM_SESSION_ID": "your_session_id", "INSTAGRAM_CSRF_TOKEN": "your_csrf_token", "INSTAGRAM_DS_USER_ID": "your_user_id" } } } }
</details>
Just talk naturally to your AI assistant:
| What you say | What happens |
|---|---|
| *"Read my unread Instagram DMs"* | Fetches inbox with unread indicators |
| *"Send 'Hey!' to @username"* | Finds the thread and sends the message |
| *"Search my DMs for messages about 'meeting'"* | Scans thread messages for the keyword |
| *"Start a new conversation with @johndoe"* | Creates a new thread and sends your message |
| *"Show me pending DM requests and approve them"* | Lists and approves pending requests |
| *"What's @user's profile info?"* | Fetches full profile details |
| *"Get the last 200 messages with @friend"* | Auto-paginates to fetch all messages |
| *"React with 🔥 to the last message"* | Sends emoji reaction to any message |
View all 15 tools with parameters
| Tool | Description | Parameters |
|---|---|---|
instagram_get_inbox | List DM conversations | limit?, cursor? |
instagram_get_thread | Get thread messages (auto-paginates) | thread_id, limit?, cursor? |
instagram_get_pending | List pending requests | limit?, cursor? |
instagram_user_info | Get user profile | user_id |
instagram_thread_info | Get thread details | thread_id |
instagram_send_message | Send text message | thread_id, text |
instagram_send_link | Share a URL | thread_id, url, text? |
instagram_create_thread | Start new DM | recipient_ids[], text |
instagram_like_message | React with emoji | thread_id, item_id, emoji? |
instagram_unsend_message | Unsend a message | thread_id, item_id |
instagram_mark_seen | Mark as read | thread_id, item_id |
instagram_approve_pending | Approve request | thread_id |
instagram_search_inbox | Search conversations | query, max_pages? |
instagram_search_messages | Search within thread | thread_id, query, max_messages? |
instagram_search_users | Find users | query |
┌─────────────────────┐ MCP (stdio) ┌──────────────────────┐
│ AI Assistant │◄──────────────────►│ MCP Server │ │ (Claude, Cursor) │ │ src/index.ts │ └─────────────────────┘ │ 15 tools │ └──────────┬───────────┘ │ ┌──────────▼───────────┐ │ Instagram Client │ │ src/instagram.ts │ │ Cookie auth + HTTP │ └──────────┬───────────┘ │ ┌──────────▼───────────┐ │ Instagram Web API │ │ (Private endpoints) │ └──────────────────────┘
Design principles:
@modelcontextprotocol/sdk. No axios, no puppeteer, no bloat.any types, fully typed interfaces in src/types.tsThis project uses Instagram's unofficial web API, which may change without notice.
Contributions are welcome! Please see CONTRIBUTING.md for development setup and guidelines.
If you'd like to support the project financially, consider sponsoring on GitHub.
MIT — Made with ❤️ by [Kynux](https://github.com/KynuxDev
只显示了开头部分;其余内容请在仓库中阅读