modelscope·@tsubouchi/youtube_mcp
自动从YouTube视频和Shorts中以指定的时间间隔捕获并处理屏幕截图,支持自定义截图时间,并提供用于图像管理的API端点。
这是一个从YouTube视频中自动截取屏幕截图的工具。支持YouTube Shorts和YouTube视频。
tmp/目录下tmp/目录下Playwrigh-MCP-Server/
├── functions/ # Cloud Functions
│ ├── src/ # ソースコード
│ │ ├── index.ts # メインエントリーポイント
│ │ ├── screenshot.ts # スクリーンショット機能
│ │ ├── screenshots.ts # スクリーンショット一覧取得
│ │ ├── download-zip.ts # ZIPダウンロード機能
│ │ └── types.ts # 型定義
│ ├── package.json # 依存関係
│ └── tsconfig.json # TypeScript設定
├── public/ # 静的ファイル
│ └── index.html # メインページ
├── firebase.json # Firebase設定
└── storage.rules # Storageセキュリティルール
/screenshot{
"url": "YouTube URL",
"interval": 1 // 间隔(秒)
}
{
"success": true,
"screenshots": [
{
"imageUrl": "带签名的URL",
"time": "时间戳",
"filename": "文件名"
}
],
"interval": 1
}
/screenshots[
{
"filename": "文件名",
"imageUrl": "带签名的URL",
"time": "时间戳"
}
]
/download-zip{
"filenames": ["文件名1", "文件名2"]
}
Firebase Functions (Gen 2)
Firebase Storage
Firebase Hosting
t@bonginkan.ai
roles/owner (项目所有者)roles/run.admin (Cloud Run管理员)Cloud Functions
33501462786-compute@developer.gserviceaccount.com
roles/run.adminroles/run.developerroles/run.invokerroles/cloudfunctions.developerroles/storage.adminFirebase Admin
firebase-adminsdk-fbsvc@mcp-5e4b5.iam.gserviceaccount.com
roles/firebase.sdkAdminServiceAgentroles/firebaseauth.adminroles/iam.serviceAccountTokenCreatorroles/storage.adminCloud Build
33501462786@cloudbuild.gserviceaccount.com
roles/run.adminroles/cloudfunctions.developerroles/storage.adminroles/artifactregistry.adminroles/eventarc.adminCORS设置改进
错误处理加强
Firebase Storage支持
Cloud Functions Gen 2优化
截图功能
API响应改进
安全性增强
前端改进
git clone https://github.com/tsubouchi/youtube_mcp.git
cd youtube_mcp
# プロジェクトルート
npm install
# Cloud Functions
cd functions
npm install
npm install -g firebase-tools
firebase login
firebase init
# Cloud Functions
cd functions
npm run deploy
# Firebase Hosting
cd ..
firebase deploy --only hosting
# プロジェクトルート
npm install
# Cloud Functions
cd functions
npm install
functions/service-account.json# functions/.env
GOOGLE_APPLICATION_CREDENTIALS=./service-account.json
cd functions
npm run serve
模拟器使用以下端口:
curl http://localhost:5001/mcp-5e4b5/us-central1/api
curl -X POST http://localhost:5001/mcp-5e4b5/us-central1/api/screenshot \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"url": "YouTube URL", "interval": 5}'
curl http://localhost:5001/mcp-5e4b5/us-central1/api/screenshots
curl -X POST http://localhost:5001/mcp-5e4b5/us-central1/api/download-zip \
-H "Content-Type: application/json" \
-d '{"filenames": ["ファイル名1", "ファイル名2"]}'
.gitignore中,不会提交到仓库截图保存
/tmp/screenshots/目录下screenshot_[时间戳]_[序号].png创建ZIP文件
/tmp/screenshots/读取/tmp/screenshots/,并在下载后删除screenshots_[时间戳].zip临时文件管理
MIT License
ModelContextProtocol服务器适用于Magic UI,它通过提供诸如跑马灯、动画、特效和互动背景等组件的代码,使AI助手能够轻松为Web应用程序实现UI组件。
一个提供网页开发工具的MCP服务器,例如屏幕捕捉功能,可以让AI代理获取并处理用户屏幕的截图。
一个由人工智能驱动的工具,可以从自然语言描述生成现代UI组件,并与流行的IDE集成,以简化UI开发工作流程。
通过模型上下文协议(MCP)将Blender连接到Claude AI,使Claude能够直接与Blender交互并对其进行控制,从而实现AI辅助的3D建模、场景操作和渲染。
集成了Dify AI API,为Ant Design组件提供代码生成服务,支持文本和图像输入,并具备流式处理能力。
一种模型上下文协议服务器,提供创建、管理和导出Excalidraw绘图的API功能,支持SVG、PNG和JSON等多种格式。