{"_id":"@cory-ronghua/video-fetch-mcp","_rev":"2-a4806d4c6e76311c18121aee25d57912","name":"@cory-ronghua/video-fetch-mcp","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@cory-ronghua/video-fetch-mcp","version":"1.0.0","keywords":["video","download","mcp","douyin","xiaohongshu","bilibili","youtube"],"author":"","license":"MIT","_id":"@cory-ronghua/video-fetch-mcp@1.0.0","maintainers":[{"name":"cory-ronghua","email":"cory.ronghua@gmail.com"}],"bin":{"video-fetch-cli":"dist/cli.js","video-fetch-mcp":"dist/index.js"},"dist":{"shasum":"7b1f2c928d9ec95877722197aec4a6145c397d3f","tarball":"https://registry.npmjs.org/@cory-ronghua/video-fetch-mcp/-/video-fetch-mcp-1.0.0.tgz","fileCount":30,"integrity":"sha512-qby8jxOfABraMo8LSPg4d8kYen6t6HnbLMaWBlZijMAtkeIbA2N2lu2awKoJmwVvFQMJA3cxVoGYgubeYudWzA==","signatures":[{"sig":"MEUCIQCWmr8+AQ4zbF3apW3NbNj91h0yMEfkKYcXz/sScOk5MAIgZ4axRgXJgzaryvZumt5U7Wy5ucRxz3hs+bwnBBSJrRY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":69762},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"gitHead":"44eb4a12e0fa3b61b26ce22982d02281584847e9","scripts":{"dev":"node dist/cli.js","test":"vitest","build":"tsc","serve":"node dist/index.js","prepack":"npm run build","serve:tsx":"tsx src/index.ts","typecheck":"tsc --noEmit","release:check":"npm pack --dry-run"},"_npmUser":{"name":"cory-ronghua","email":"cory.ronghua@gmail.com"},"_npmVersion":"11.8.0","description":"MCP server for downloading videos from social/video platforms","directories":{},"_nodeVersion":"22.13.0","dependencies":{"zod":"^3.22.0","axios":"^1.6.0","playwright-core":"^1.40.0","@modelcontextprotocol/sdk":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","vitest":"^1.2.0","typescript":"^5.3.0","@types/node":"^20.10.0"},"_npmOperationalInternal":{"tmp":"tmp/video-fetch-mcp_1.0.0_1773045320522_0.25634771843312465","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@cory-ronghua/video-fetch-mcp","version":"1.0.1","description":"MCP server for downloading videos from social/video platforms","main":"dist/index.js","type":"module","bin":{"video-fetch-mcp":"dist/mcp-bin.js","video-fetch-cli":"dist/cli.js"},"scripts":{"typecheck":"tsc --noEmit","build":"tsc","dev":"node dist/cli.js","serve":"node dist/index.js","serve:tsx":"tsx src/index.ts","test":"vitest","prepack":"npm run build","release:check":"npm pack --dry-run"},"keywords":["video","download","mcp","douyin","xiaohongshu","bilibili","youtube"],"author":"","license":"MIT","dependencies":{"@modelcontextprotocol/sdk":"^1.0.0","playwright-core":"^1.40.0","axios":"^1.6.0","zod":"^3.22.0"},"devDependencies":{"@types/node":"^20.10.0","tsx":"^4.7.0","typescript":"^5.3.0","vitest":"^1.2.0"},"engines":{"node":">=18"},"publishConfig":{"access":"public"},"gitHead":"238d33a8b5ecf1325579205b220a5d6bb65167e2","types":"./dist/index.d.ts","_id":"@cory-ronghua/video-fetch-mcp@1.0.1","_nodeVersion":"22.13.0","_npmVersion":"11.11.0","dist":{"integrity":"sha512-7d41Ky+c8jC/yn8Nzs336S3bF8HZ0Jw7f+yu1I6HeEnAJyCZfW6Sjvx4UeXhsvbU+9eLtxCVnJwl2wl/Awhrjg==","shasum":"5f5bffd398276f22ccc65817a970dcc835997772","tarball":"https://registry.npmjs.org/@cory-ronghua/video-fetch-mcp/-/video-fetch-mcp-1.0.1.tgz","fileCount":34,"unpackedSize":69695,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQC1j51K5ctgt20sO176RIHC1cRex19NKZM1Qbp5hOXCQgIgPMr2F+j2sPLWNpqCpedq/9elV1zBVt3PhuHg5sFC6Wk="}]},"_npmUser":{"name":"cory-ronghua","email":"cory.ronghua@gmail.com"},"directories":{},"maintainers":[{"name":"cory-ronghua","email":"cory.ronghua@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/video-fetch-mcp_1.0.1_1773054738219_0.33934068335208045"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-09T08:35:20.433Z","modified":"2026-03-09T11:12:18.474Z","1.0.0":"2026-03-09T08:35:20.679Z","1.0.1":"2026-03-09T11:12:18.354Z"},"license":"MIT","keywords":["video","download","mcp","douyin","xiaohongshu","bilibili","youtube"],"description":"MCP server for downloading videos from social/video platforms","maintainers":[{"name":"cory-ronghua","email":"cory.ronghua@gmail.com"}],"readme":"# @cory-ronghua/video-fetch-mcp\n\nMCP server for resolving and downloading videos from social/video share links.\nCurrent production focus: Douyin and Xiaohongshu.\n\n## Local Development\n\n```bash\ncd packages/video-download-mcp\nnpm install\nnpm run build\nnpm run serve\n```\n\n## Requirements\n\n- Node.js 18+\n- A local Chrome/Chromium installation (or set `PLAYWRIGHT_CHROMIUM_EXECUTABLE_PATH`)\n\n## CLI\n\n```bash\n# Resolve URL and list candidates\nvideo-fetch-cli resolve \"https://v.douyin.com/xxx\"\n\n# Resolve and download\nvideo-fetch-cli download \"https://v.douyin.com/xxx\" -o ./videos\n```\n\n## Publish to npm\n\nTrusted Publishing prerequisites:\n\n- npm CLI >= 11.5.1\n- Node.js >= 22.14.0\n- npm package settings configured with GitHub Actions Trusted Publisher\n\nManual local publish (optional):\n\n```bash\ncd packages/video-download-mcp\nnpm run typecheck\nnpm run build\nnpm_config_cache=/tmp/npm-cache-crawler npm run release:check\nnpm publish --access public\n```\n\nRelease-driven publish (recommended):\n\n- Create a GitHub Release (`published`) and let workflow `.github/workflows/publish-video-download-mcp.yml` publish automatically.\n- Workflow uses OIDC Trusted Publishing and `npm publish --provenance`, no `NPM_TOKEN` required.\n\n## Import in Claude Code\n\nAfter package is published:\n\n```bash\nclaude mcp add video-fetch-mcp -- npx -y @cory-ronghua/video-fetch-mcp\n```\n\nEquivalent MCP JSON:\n\n```json\n{\n  \"mcpServers\": {\n    \"video-fetch-mcp\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@cory-ronghua/video-fetch-mcp\"]\n    }\n  }\n}\n```\n\n## MCP Tools\n\n- `resolve_url`: Resolve a share URL and return media candidates\n- `download_video`: Download a video to target directory\n- `resolve_and_download`: Resolve and download the best candidate\n\n## Roadmap\n\n- Add platform adapters for YouTube and Bilibili\n- Add adapter-level tests for each platform\n- Add smoke tests for MCP startup and tool discovery\n","readmeFilename":"README.md"}