> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vidjutsu.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Claude Code

> Set up VidJutsu in Claude Code: connect the MCP server, sign in, install the /vidjutsu-edit skill and edit your first video.

Claude Code edits video once it has the VidJutsu tools. They come from the hosted MCP server at `https://api.vidjutsu.ai/mcp`: there is nothing to install or run besides one `claude mcp add`.

## Before you start

* [Claude Code](https://docs.claude.com/en/docs/claude-code/overview) installed and signed in.
* Node.js 22 or later, for the one-line skill install (`npx`).
* A VidJutsu account, or an email address to make one. Claude Code can make it for you.

## The fast way

Paste this into Claude Code:

```
set up vidjutsu - https://docs.vidjutsu.ai/llms.txt
```

It installs the VidJutsu skills and runs `vidjutsu-setup`, which asks only what it needs (your account, a browser sign-in or an API key, what you make, and whether your agent runs on your computer or in a cloud sandbox), connects the tools, hands you a link to start the free trial and checks that it all works. The rest of this page is the same thing by hand.

## Set it up by hand

**1. Add the server**

> [tab] Sign in with your browser
>
> ```sh theme={null}
> claude mcp add --transport http --scope user vidjutsu https://api.vidjutsu.ai/mcp
> ```
>
> Start Claude Code, run `/mcp`, pick `vidjutsu` and choose **Authenticate**. Your browser opens the VidJutsu sign-in page; new people sign up there.

> [tab] With an API key
>
> For Claude Code running unattended (CI, a server, a scheduled job). Get a key with [two calls](https://docs.vidjutsu.ai/authentication.md) or `vidjutsu login`, put it in an environment variable, then:
>
> ```sh theme={null}
> claude mcp add --transport http --scope user vidjutsu https://api.vidjutsu.ai/mcp \
>   --header "Authorization: Bearer $VIDJUTSU_API_KEY"
> ```
>
> Your shell fills in the key, so it never sits in your history as text you typed. Never paste a key into a chat with any agent.

`--scope user` makes VidJutsu available in every project. Leave it out to add it to the current project only.

**2. Check it**

Start a new Claude Code session and run `/mcp`: `vidjutsu` should say connected. Then ask "what's my VidJutsu account status?". Claude Code calls `account` and tells you your plan. That call is the real test: it fails if the sign-in or the key is wrong.

**3. Start the trial or the plan**

Ask Claude Code to start your free trial. It calls `start_trial` and gives you a Stripe link where you add a card; you are never charged for the trial. To go straight to the monthly plan, ask for checkout instead. See [Pricing](https://docs.vidjutsu.ai/pricing.md).

**4. Install the /vidjutsu-edit skill**

```sh theme={null}
npx skills add https://vidjutsu.ai -a claude-code -g
```

It installs `vidjutsu-edit` and the recipes it uses: `vidjutsu-clean-cut`, `vidjutsu-motion-graphics`, `vidjutsu-style` (saves your brand look for every edit) and `vidjutsu-schedule` (posts finished videos to TikTok, Instagram and YouTube on a calendar you approve first). They go into `~/.claude/skills/`. Leave out `-g` to install them in the current project only. The source is open on GitHub at [Blurware/vidjutsu-skills](https://github.com/Blurware/vidjutsu-skills). See [the skill](https://docs.vidjutsu.ai/skill.md).

**5. Edit a video**

Hand over a raw take:

```
/vidjutsu-edit ~/Movies/raw-take.mov
/vidjutsu-edit ~/Movies/podcast-ep12.mp4 into 5 clips for TikTok
```

Claude Code uploads the file, transcribes it, cuts it, renders, and gives you a `watch_url`: a page that plays the video in any browser. Short clips and long videos work the same way.

## Good to know

* **Local files.** Claude Code reads files on your machine and uploads them itself with a [direct upload](https://docs.vidjutsu.ai/guides/uploads.md#direct-uploads). For a file already online, give it the https link.
* **Its name in history.** Edits made through MCP are named after the client, so History and Activity in the [web app](https://docs.vidjutsu.ai/web-app.md) show "Claude Code" next to each change.
* **Review.** Ask for a review link. You comment on a word or a moment in the browser, and Claude Code reads the comments and fixes them. See [Edit with agents](https://docs.vidjutsu.ai/guides/agents.md).
* **Keys.** Give an unattended key only the [scopes](https://docs.vidjutsu.ai/authentication.md#key-scopes) the job needs.

## If something's off

| What you see | What to do |
| - | - |
| `vidjutsu` isn't in `/mcp` | It was added to another project. Add it again with `--scope user`, then start a new session. |
| `/mcp` says connected, but the first call answers 401 `unauthenticated` | The key is wrong or revoked, or the browser sign-in expired. Run `/mcp` and **Authenticate** again, or make a new key and run `claude mcp remove vidjutsu` and the add command again. |
| The sign-in page asks you to prove you're human | That's the sign-up check for new people. Finish it in the browser; an agent working alone should use a key instead. |
| `/vidjutsu-edit` isn't recognised | Run the `npx skills add` line again and start a new session. `npx skills list -g` shows what's installed. |
| 402 `upgrade_required` | You hit a trial limit. Open the `upgrade_url` Claude Code gives you. |
| `payment_required` | The account has no plan yet. Ask Claude Code for the trial or checkout link. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.