
ig-download-mcp-server

2025.04.03
1
JavaScriptInstagram 视频下载自动化下载内容生成
ig-download-mcp-server 是一个轻量级的 MCP(Model Context Protocol)服务,专门用于通过编程方式下载 Instagram 视频。它使用 btch-downloader 提取媒体 URL,并通过 axios 进行高效下载。该服务支持视频下载到指定本地路径,并提供进度跟踪和日志记录功能。
View on GitHub
Overview
基本能力
产品定位
ig-download-mcp-server 是一个专门用于下载 Instagram 视频的 MCP 服务,适用于需要自动化下载 Instagram 内容的场景。
核心功能
- 提取 Instagram 视频 URL
- 下载视频到指定本地路径
- 进度跟踪和日志记录
- 基于 FastMCP 构建,易于集成
适用场景
- 自动化下载 Instagram 视频
- 批量处理 Instagram 内容
- 集成到其他需要 Instagram 视频下载功能的服务中
工具列表
btch-downloader
:用于提取 Instagram 视频的媒体 URLaxios
:用于高效下载视频
常见问题解答
- 如何确保下载的视频 URL 有效?
服务使用
btch-downloader
提取 URL,确保 URL 的有效性。 - 下载进度如何跟踪? 服务提供进度跟踪和日志记录功能,可以通过日志查看下载进度。
使用教程
使用依赖
确保已安装 Node.js 和 Git。
安装教程
-
克隆仓库:
sh $ git clone https://github.com/handoing/ig-download-mcp-server
-
配置 MCP 服务:
json { "mcpServers": { "ig-download-mcp-server": { "command": "node", "args": [ "path/ig-download-mcp-server/index.js" ] } } }
调试方式
启动服务后,可以通过以下命令测试下载功能:
{
"tool": "download",
"parameters": {
"url": "https://www.instagram.com/p/DHvN6-xygmQ/",
"path": "/Users/project/downloads"
}
}
预期响应:
"Instagram download success"