record-demo
Skill1.1k starsChanged 7 days agoApache-2.0View on GitHub
Record or regenerate the mcpc demo GIFs (the README hero docs/images/mcpc-demo.gif and the focused tapes in docs/vhs/) with VHS. Use whenever asked to create, refresh, restyle, shorten, or fix a terminal demo/animation/GIF of mcpc. The tapes drive real mcpc commands; for the authenticated step this skill ALWAYS prompts for a short-lived, low-permission TEST token first (never production). Captures the VHS + mcpc gotchas learned the hard way — read it fully before editing a tape.
- Reads credentials
- Installs packages
16 other projects use a version of this.
Trending
Quiet since April.thin dataabout the whole repository
Most recently taken up by
- jessepinkman9900/claude-second-braintheir own version, first seen Nov 29, 2026
- apify/mcpcword for word, first seen Nov 24, 2026
- tandryukha/aidemotheir own version, first seen Nov 9, 2026
- jamdotdev/jam-plugintheir own version, first seen Nov 8, 2026
- jamdotdev/skillstheir own version, first seen Nov 8, 2026
- nightly-labs/openbottheir own version, first seen Nov 8, 2026
Who's talking about apify/mcp-cli
- A Hacker News story“Show HN: mcpc – Universal command-line client for Model Context Protocol (MCP)”Hacker News · Jan 6, 2026 · 50 points
- @hnws.bsky.social“Show HN: mcpc – Universal command-line client for Model Context Protocol (MCP) L: …”Bluesky · Jan 11, 2026 · 1 likes
- apify/mcpc“Support OAuth access tokens as static Bearer headers”GitHub · Apr 6, 2026
- apify/apify-docs“Add Agent Skills and MCPC documentation page”GitHub · Mar 16, 2026
- theagentrouter/agent-router“Add benchmarks for MCP proxy”GitHub · Mar 11, 2026
The biggest 5 of 8 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 8
Talked about on GitHub, Bluesky and Hacker News (8 times).
On GitHub · 5
- Apr 6, 2026Support OAuth access tokens as static Bearer headers — apify/mcpc0 reactions
- Mar 16, 2026Add Agent Skills and MCPC documentation page — apify/apify-docs0 reactions · 4 comments
- Mar 11, 2026Add benchmarks for MCP proxy — theagentrouter/agent-routersays it tested it0 reactions · 2 comments
- Feb 27, 2026Added support for `HTTPS_PROXY` / `HTTP_PROXY` / `NO_PROXY` env vars — apify/mcpc0 reactions
- Jan 12, 2026feat: Updated "Open source" tools menu — apify/apify-docs0 reactions · 3 comments
On Bluesky · 2
- Jan 11, 2026Show HN: mcpc – Universal command-line client for Model Context Protocol (MCP) L: https://github.com/apify/mcp-cli C:… — @hnws.bsky.social1 likes and repost
- Jan 11, 2026And github.com/apify/mcp-cli — @jauntywunderkind.bsky.social0 likes and reposts · 1 reply
On Hacker News · 1
- Jan 6, 2026Show HN: mcpc – Universal command-line client for Model Context Protocol (MCP)50 points · 5 comments
Used with
Projects with it also use release.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
MicrosoftSkillrelease
Use ONLY when the user explicitly asks to cut/publish a Huabu desktop release or tag a version. Performs an outward action — bumps the version in apps/desktop/package.json, commits + annotated-tags vX.Y.Z, and pushes the branch + tag. That tag push auto-builds the macOS/Windows installers and publishes a GitHub Release. Provides `status`, `bump`, `tag-push`, and a one-command `run` (bump → tag-push).
Also in 3 projects that use this
Other versions16 projects use a version of this.
Word for word · 1
- apify/mcpc★ 1.1k100% same
Edited · 0
None found.
Wrote their own version · 15
- nightly-labs/openbot★ 12ksame name
- ahmadrosid/nakama★ 871same name
- slackapi/slack-cli★ 321same name
- jessepinkman9900/claude-second-brain★ 187same name
- mcpware/pagecast★ 43same name
- tandryukha/aidemo★ 32same name
- WatermelonBros/reado★ 32same name
- jamdotdev/jam-plugin★ 13same name
- jamdotdev/skills★ 13same name
- flopperj/dotfiles-core★ 3same name
5 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 1 is distinctive, and 8 are very specific to this project.
0
Common
Most of the 15 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 41
Continuous session — never
clearbetween steps: Put a single blank-line Enter before each command (after the first) so it's separated … - Very specific: line 69
Typequoting: use single quotes around any command containing double quotes. - Very specific: line 73
Output/Screenshot paths: must not start with a digit (Output 1-foo.gif fails to parse) and must not be long absolute paths (the parser …
- Very specific: line 104
@modelcontextprotocol/server-filesystem: instead (14 recognizable tools, instant). - Very specific: line 125
No public server serves the MCP Skills or Tasks extensions yet, so skills.tape and tasks.tape record against the e2e test server …
- Distinctive: line 185
Check each frame class: empty state, stdio connect + session list, tools-list, JSON, remote connect (token NOT visible), tool-call result, …
- Very specific: line 204
After optimizing, re-extract a colored frame (ffmpeg -ss 12 …) and eyeball it — lossy=200 is the sweet spot.
- Very specific: line 206
When the optimized hero lands on main, bump the README cache-buster (mcpc-demo.gif?v=N → ?v=N+1): GitHub's camo image proxy caches by full …
- Very specific: line 234
All focused tapes follow the same conventions as the hero (bold $ prompt, bold-white commands, no comments, blank-line separation, mktemp …
“Common” is measured: kept by at least 6 in 10 of the 15 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
record-demo: VHS demo GIFs for mcpc
The tapes in docs/vhs/*.tape are VHS
scripts that drive a real shell session — VHS types each command, runs it
against a live MCP server, captures the terminal, and renders a GIF. The README
hero is docs/images/mcpc-demo.gif, built from docs/vhs/mcpc-demo.tape.
This file is the accumulated know-how. Read all of it before touching a tape — most rules below were discovered by hitting the wall, and skipping them wastes whole render cycles (~1–2 min each).
The hero flow (mcpc-demo.tape)
A basic-use story across both transports:
mcpc— empty state (no sessions, no profiles)mcpc connect mcp.json:filesystem— local stdio server (auto-names@filesystem)mcpc— session list (now shows the live session)mcpc @filesystem tools-listmcpc @filesystem tools-list --json— JSON output, syntax-highlighted, no jqmcpc connect mcp.apify.com -H "Authorization: Bearer $APIFY_TOKEN"— remote HTTP server (auto-names@apify)mcpc @apify tools-listmcpc @apify tools-get search-actors— inspect one tool's input schemamcpc @apify tools-call search-actors keywords:="web scraper" limit:=3mcpc @apify close
Ten commands run ~45s; there is no hard 30s cap for this flow.
Style conventions (the current standard — match these)
- No
# commentsin the visible script. The commands are self-descriptive. - No
| head, no2>/dev/nullon visible commands. Show real output even if long — it scrolls naturally. (connect≈ 86 lines incl. an "Available commands" list,tools-call search-actors≈ 56, filesystemtools-list --json≈ 300.) - Continuous session — never
clearbetween steps. Put a single blank-lineEnterbefore each command (after the first) so it's separated from the previous output, like a real terminal session. - Colored prompt + bold-white typed commands. In the hidden setup block:
Type 'export PS1="\[\e[1;38;2;25;230;77m\]$\[\e[0m\] \[\e[1;97m\]"' Enter Type "trap 'tput sgr0' DEBUG" EnterPS1is a bold bright-green$, then ends with\[\e[1;97m\]so the typed input renders bold bright-white.- The
DEBUGtrap runstput sgr0before every command so the bold-white input does not bleed into command output.
- Empty state needs a clean home — hidden:
Type 'export MCPC_HOME_DIR="$(mktemp -d)"'somcpcshows "No active MCP sessions / No OAuth profiles". - Color is automatic for non-piped commands — mcpc detects the TTY and emits
color (256-color, plenty vivid). You only need
export FORCE_COLOR=3(+COLORTERM=truecolorfor exact hex) when a command is piped (mcpc turns color off when stdout isn't a TTY). The current tapes avoid pipes, so they don't need it. (The CLI palette lives insrc/cli/output.ts,RAINBOW_SATURATION, bumped to 78% for vividness — that's where the demo colors come from.)
VHS gotchas (these will bite you)
- ASCII prompt symbols only. Multibyte glyphs (
❯,»,▶) break bash prompt rendering under VHS and show up as garbage like92m]. Use$(or>), styled with color + bold. Typequoting: use single quotes around any command containing double quotes. A\"inside a double-quotedTypebreaks VHS's parser. e.g.Type 'mcpc @apify tools-call search-actors keywords:="web scraper" limit:=3'andType 'export PS1="\[\e[…m\]$\[\e[0m\] "'.- Output/Screenshot paths: must not start with a digit (
Output 1-foo.giffails to parse) and must not be long absolute paths (the parser chokes). Use short, letter-leading, relative names and runvhsfromdocs/vhs/. Screenshotis unreliable (frequently exits 2 even though the GIF rendered fine). Don't depend on it — pull frames from the finished GIF instead:ffmpeg -y -ss <seconds> -i x.gif -vframes 1 frame.png, then Read the PNG.- Renders are slow (~1–2 min each: real-time timeline + Chromium + ffmpeg
encode). Render tapes one at a time — a
forloop over several blows the 5-minute command timeout. Extracted frames often land mid-typing; sample a few timestamps around when output should be on screen. - Hidden connects leak into the recording if bash falls behind. When a tape
connects in the hidden setup (so the feature commands run against a ready
session, e.g. tools/scripting/grep), a slow connect lets VHS type ahead; bash
then echoes the buffered commands and runs the
clearafterShow, so the setup spills into frame. Pattern that works: type the connect(s), then one generousSleep(7–8s) so they finish, thenclear, then anotherSleep(~1.5s) beforeShow. (Tapes that connect visibly as their first command don't need this — their hidden setup is just fast exports +clear.)
Stdio servers in a headless / proxied box
npx-launched stdio servers are too slow here.npx -y <pkg>'s registry round-trip exceeds mcpc's 60s connect handshake, soconnecttimes out (MCP error -32001). Fixes: pre-install the server (npm i -g <pkg>) and put the direct binary inmcp.json(e.g.mcp-server-filesystem, starts in ~0.3s — also a cleaner session header), or usenpx --prefer-offline -y <pkg>once the npm cache is warm (~5s; plainnpx -ystill does the slow registry check even when cached).- Puppeteer does NOT work for headless recording.
@modelcontextprotocol/server-puppeteerlaunches Chromium eagerly on startup and hangs/times out as root in the container. Use@modelcontextprotocol/server-filesysteminstead (14 recognizable tools, instant).docs/vhs/mcp.jsondefines thefilesystementry via its global binary — install it first:npm i -g @modelcontextprotocol/server-filesystem.
Auth token (the authenticated step)
- Always prompt for the token first. Insist on a short-lived, low-permission token from a TEST / throwaway account — never production. Apify: https://console.apify.com/settings/integrations. Tell the user to revoke it as soon as the recording is done.
- Pass it inline, for the render only:
APIFY_TOKEN=… vhs mcpc-demo.tape. The tape references$APIFY_TOKEN(never the literal), typed inside single quotes so bash expands it at run time — the value is never on screen, never in the GIF, never committed. Always verify a connect frame shows$APIFY_TOKEN, not the value. connectauto-names the session:mcp.apify.com → @apify,mcp.json:filesystem → @filesystem. No@nameneeded.- No-token alternative (public, anonymous):
mcpc connect "https://mcp.apify.com/?tools=search-actors,fetch-actor-details,docs".
Skills and tasks demo server (skills.tape, tasks.tape, security.tape)
No public server serves the MCP Skills or Tasks extensions yet, so skills.tape
and tasks.tape record against the e2e test server (test/e2e/server/index-v2.ts,
2026-07-28, which serves the git-workflow / refunds / daily skill fixtures and
answers its slow-task tool with a task) under the name mcp.example.com. mcpc
forces HTTPS for non-localhost hosts, so front it with TLS:
WITH_SKILLS=true PORT=13456 pnpm exec tsx test/e2e/server/index-v2.ts &
echo "127.0.0.1 mcp.example.com" >> /etc/hosts
openssl req -x509 -newkey rsa:2048 -nodes -keyout key.pem -out cert.pem -days 2 \
-subj "/CN=mcp.example.com" -addext "subjectAltName=DNS:mcp.example.com"
# then run any small HTTPS → http://127.0.0.1:13456 reverse proxy on 127.0.0.1:443
export NODE_EXTRA_CA_CERTS="$PWD/cert.pem" NO_PROXY="mcp.example.com,$NO_PROXY"
cd docs/vhs && vhs skills.tape # or: vhs tasks.tapeThe connect stays hidden: its output names the test server ("e2e-test-server").
Keychain warning (headless only)
On a box with no keyring, the bearer-token connect prints
[keychain] OS keychain unavailable, falling back to file-based credential
storage …. It is environment-specific (won't appear on a normal desktop
with a keyring) and there is no env var to suppress it — it's a logger.warn
in src/lib/auth/keychain.ts gated only by keychain availability and JSON mode.
A dbus-run-session + gnome-keyring-daemon wrapper does not fix it in this
sandbox (raising the dbus fd limit is blocked). Options: leave it (honest), or add
a targeted 2>/dev/null to just that one connect command.
Prerequisites
mcpc --version # the CLI being demoed (npm i -g @apify/mcpc, or build + pnpm link this repo)
vhs --version # brew install vhs (needs ttyd + ffmpeg on PATH)
mcp-server-filesystem # npm i -g @modelcontextprotocol/server-filesystem (the stdio demo server)Headless + root: VHS drives a Chromium (go-rod auto-downloads it to
~/.cache/rod) that refuses to start without --no-sandbox. If renders fail to
launch Chromium, wrap the binary once:
CHROME=$(find ~/.cache/rod/browser -name chrome -type f | head -1)
mv "$CHROME" "$CHROME-real"
printf '#!/bin/sh\nexec "$(dirname "$0")/chrome-real" --no-sandbox --disable-gpu --disable-dev-shm-usage "$@"\n' > "$CHROME"
chmod +x "$CHROME"(Run vhs once first to trigger the Chromium download.)
Render and verify
cd docs/vhs
APIFY_TOKEN=… vhs mcpc-demo.tape # real-time; be patient
ffprobe -v error -show_entries format=duration -of csv=p=0 mcpc-demo.gif # check length
ffmpeg -y -ss 12 -i mcpc-demo.gif -vframes 1 /tmp/f.png # spot-check a frame, then Read it
cp mcpc-demo.gif ../images/mcpc-demo.gif # update the README heroCheck each frame class: empty state, stdio connect + session list, tools-list, JSON, remote connect (token NOT visible), tool-call result, close. Then revoke the token.
Optimize the GIF size (do this before committing)
VHS GIFs are large (the hero is ~5 MB raw). Shrink them losslessly-ish with
gifsicle (kornel.ski/lossygif) — --lossy
drops imperceptible inter-frame detail and cuts ~60% off a text-terminal GIF
with no visible quality loss:
# in place; lossy=200 ≈ 60% smaller, text stays crisp (verified by frame diff)
for f in docs/images/mcpc-demo.gif docs/vhs/*.gif; do
[ "$f" = docs/vhs/mcpc-demo.gif ] && continue # ignored raw hero
gifsicle -O3 --lossy=200 -b "$f"
doneAfter optimizing, re-extract a colored frame (ffmpeg -ss 12 …) and eyeball it —
lossy=200 is the sweet spot; going much higher smears the antialiased text.
When the optimized hero lands on main, bump the README cache-buster
(mcpc-demo.gif?v=N → ?v=N+1): GitHub's camo image proxy caches by full URL,
so a new ?v= is what makes it re-fetch the smaller file instead of serving the
old cached copy.
What's committed
docs/images/mcpc-demo.gif— the README hero (canonical copy).docs/vhs/*.gif— the per-feature recordings are committed too, so they're easy to find and reuse..gitignoreignores onlydocs/vhs/mcpc-demo.gif(the hero's raw output, since it's committed underdocs/images/).proxy.gifneeds a token to record and isn't committed until recorded.
The tapes
| Tape | Records |
mcpc-demo.tape | Hero basic-use flow (stdio + remote) → docs/images/mcpc-demo.gif |
quickstart.tape | Minimal connect → list → call |
tools.tape | tools-list / tools-get / tools-call, inline JSON, stdin |
scripting.tape | --json piped through jq (code mode) |
grep.tape | Dynamic tool discovery with mcpc grep across two sessions (Apify + filesystem) |
proxy.tape | MCP proxy / AI sandboxing (keeps a bearer token on purpose) |
skills.tape | MCP Skills extension: skills-list / skills-get / resources-directory-read against the e2e test server served as mcp.example.com |
tasks.tape | MCP Tasks extension (2026-07-28): tools-call --task with live progress, --detach captured through jq, then tasks-get / tasks-list / tasks-result, against the same e2e test server as mcp.example.com |
security.tape | Auto-discovery skipping a checked-in .mcp.json entry that reads ${GITHUB_TOKEN} (fixture: security.mcp.json, copied into a mktemp -d HOME so no real configs are discovered); needs mcp.example.com for the trusted entry |
x402.tape | Full x402 usage example from README.md: funded wallet → sign the agi.apify.com challenge → prepaid token → mcp.apify.com. Each render pays 1 USDC for real; rehearse with a copy cut before the TOKEN= line first. The token is saved off-screen to $X402_DEMO_HOME/token |
All focused tapes follow the same conventions as the hero (bold $ prompt,
bold-white commands, no comments, blank-line separation, mktemp home).
quickstart/tools/scripting/grep are token-free (public ?tools= URL);
grep also connects a local filesystem stdio server so it can search across two
sessions. proxy.tape keeps a bearer token because demonstrating that you can
proxy a credentialed session without leaking the token is its entire point (it's
the one focused tape that needs a token to record).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

