# Set up YoRecord - paste this to your agent

Paste everything between the markers into your coding agent. It works in Claude Code, Codex,
Hermes, Cursor, OpenClaw, or anything else that can run a shell command and speak MCP.

<!-- SETUP-BLOCK-START -->
Install the YoRecord recorder for me, then tell me whether it worked.

1. Download it. One file, no dependencies, no package manager:

   mkdir -p "$HOME/.yorecord"
   curl -fsSL https://yorecord.com/yorecord.mjs -o "$HOME/.yorecord/yorecord.mjs"

2. Check it actually runs before registering it anywhere:

   echo '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' | "$(command -v node)" "$HOME/.yorecord/yorecord.mjs" --mcp

   You should get one line of JSON naming four tools: yorecord_share_video,
   yorecord_start_recording, yorecord_browse, yorecord_stop_and_share. If you get nothing, or
   an error, tell me exactly what you saw and stop here.

3. Register it as an MCP server using whatever mechanism YOUR harness uses - you know that
   better than this document does. It is a stdio server: the command is node and the arguments
   are ["$HOME/.yorecord/yorecord.mjs", "--mcp"]. Use ABSOLUTE paths for both the node binary
   and the file, because a GUI app inherits none of my shell's PATH. If you know the CLI for
   your harness, prefer it. The ones we have tested:

   Claude Code   claude mcp add --scope user yorecord -- "$(command -v node)" "$HOME/.yorecord/yorecord.mjs" --mcp
   Codex         codex mcp add yorecord -- "$(command -v node)" "$HOME/.yorecord/yorecord.mjs" --mcp
   Hermes        hermes mcp add yorecord --command node --args "$HOME/.yorecord/yorecord.mjs" --mcp
   Cursor        add it under "mcpServers" in ~/.cursor/mcp.json

   If you already have a yorecord entry from an earlier attempt, remove it first - a stale one
   can shadow the new one and the symptom is "configured but failed to connect".

4. If you run inside a container: put the file on a writable mount that survives a restart,
   and set the environment variable YORECORD_CONFIG_DIR to a directory on that same mount.
   Otherwise I will have to approve this machine again every time the container restarts.

5. Tell me three things: whether it registered, whether I need to restart the app before you
   can see the tools, and anything you had to do differently from the above.

For reference, so you know what you just installed: it records a browser walkthrough and gives
me a link, or uploads an MP4 you already have. Recording needs ffmpeg and Chrome on this
machine; sharing an existing file needs neither. The first use will ask me to approve this machine once - one
click, in my own browser, and never again. Links are public to anyone holding them, and are deleted after 7 days.
<!-- SETUP-BLOCK-END -->

## Then try it

> Record a 30-second guide showing how to find the sunrise time for Prague on timeanddate.com,
> then give me the link.

## If your agent has no MCP support

It can still share a video it already has with three plain HTTP requests, no install at all:
see <https://yorecord.com/agent.md>.
