@mkterswingman/5mghost-yonder
v0.0.37
Published
Internal MCP client with local data tools and remote API proxy
Readme
5mghost-yonder
Internal MCP server package for 5mghost workflows.
Quick Start
curl -fsSL https://mkterswingman.com/install/yt-mcp.sh | bashpowershell -ExecutionPolicy Bypass -Command "irm https://mkterswingman.com/install/yt-mcp.ps1 | iex"The bootstrap installer:
- installs the npm package
- installs required runtimes (
playwright,yt-dlp,ffmpeg) - runs
yt-mcp setup - runs
yt-mcp smoketo verify MCP startup and authenticated remote access - opens a dedicated Playwright browser profile for YouTube login
- keeps cookie refresh inside the same dedicated profile (does not import system Chrome/Edge profiles)
- in unattended installs, defaults to OAuth auth mode and defaults to headed cookie setup after the prompt timeout
- in installer mode, OAuth waits up to
180sand prints PAT fallback commands before waiting - if auth is still incomplete after
setup, the installer stops before smoke tests and YouTube cookie setup instead of pretending the install fully passed - runs a subtitle smoke check immediately after cookies are available
If you are working inside the repo instead of using the hosted installer:
bash scripts/install.shpowershell -ExecutionPolicy Bypass -File .\scripts\install.ps1yt-mcp stores first-party shared auth at ~/.mkterswingman/auth.json, so logging in here also covers other first-party local MCPs on the same machine. YouTube cookies remain local to ~/.yt-mcp/.
Client registration notes:
setupauto-registers Claude/Codex/Gemini/OpenCode when their CLI supportsmcp add- OpenClaw is registered via
mcporter config add --command ... --arg ...(native stdio mode) - pasted PAT tokens are stored in
~/.mkterswingman/auth.json; clientenv.YT_MCP_TOKENis optional after setup
Media download runtime expectations:
start_download_jobandpoll_download_jobare job-based local toolsffmpegis required for video download modes- each job handles up to 5 YouTube videos
- downloads are written to
~/Downloads/yt-mcp/YYYY-MM-DD_<video_id>
Commands
setup— first-time setupserve— start the stdio MCP serversmoke— run the installer smoke checks (search_videos, plusvalidate_cookieswith--subtitles)runtime— install, update, or check required runtimescheck— inspect shared auth, runtime status, and YouTube cookiessetup-cookies— open a dedicated Playwright browser profile for manual YouTube login and save cookies locallyuninstall— remove MCP registrations and local~/.yt-mcpconfigupdate— update the main package and required runtimesversion— print the installed version
Runtime notes:
- Playwright browser installs are managed through
yt-mcp runtime install, not a rawnpx playwright install ...call yt-dlpis invoked with--js-runtimes node, so no extra Deno install is required
