> Index of Phersa pages for AI agents: https://phersa.com/llms.txt # Add Phersa to Claude Code Find viral videos, make your own with your AI persona and run comment-to-DM, without leaving Claude Code. Claude Code connects to Phersa's remote MCP server over HTTP. Add it with one command, then sign in with /mcp. In your terminal, run: `claude mcp add --transport http --scope user phersa https://mcp.phersa.com/mcp` ## Connect Claude Code to Phersa Claude Code MCP Setup: Add Phersa. 1. ### Step 1: Add the server Run this in your terminal. --scope user makes Phersa available in every project; leave it out to add it to the current project only. `claude mcp add --transport http --scope user phersa https://mcp.phersa.com/mcp` 2. ### Step 2: Sign in Start Claude Code, type /mcp, pick Phersa and sign in in the browser, approving the access. Claude Code registers itself with Phersa automatically. `/mcp` 3. ### Step 3: Check the connection Phersa shows ✔ Connected once you are signed in, or ! Needs authentication before. `claude mcp list` ### MCP server details - Endpoint: https://mcp.phersa.com/mcp · Streamable HTTP · OAuth 2.1 with PKCE. Metadata: https://mcp.phersa.com/.well-known/oauth-protected-resource/mcp. Dynamic client registration and client ID metadata documents are supported. - Permissions, safety and all 40 tools: [phersa.com/mcp](https://phersa.com/mcp) ## What you can ask Claude Code Sign in once and your agent can read and create. Nothing is generated until you confirm the price. 1. Read Find viral [natural remedy](https://phersa.com/industries/health) videos, sort them by most viewed and show me the top five with their stats. Tools used: `discover-search`, `video-get` 2. Read Break down the best one: the transcript, the hook and why it worked. Tools used: `video-get` 3. Write Recreate it for my AI character: add each clip with its image prompt, video prompt and dialogue, then dry-run the image jobs. Tools used: `personas-list`, `create-project`, `create-clip`, `jobs-create (dry run)` ## What is different about Phersa in Claude Code - The default scope is local (this project only); --scope project writes a shared .mcp.json, and --scope user adds Phersa to all your projects. - You can also sign in from the shell with claude mcp login phersa. [Prefer the desktop app? See Phersa in Claude Desktop.](https://phersa.com/claude-desktop) - Claude Code caps one tool result at 25,000 tokens by default (MAX\_MCP\_OUTPUT\_TOKENS). A longer result, such as a full video breakdown, is saved to a file that Claude reads when needed. ## Claude Code questions ### What is Claude Code? Claude Code is Anthropic's agentic coding tool that reads your codebase, edits files and runs commands. It runs in the terminal, IDE extensions, a desktop app and the browser, and connects to MCP servers. [Claude Code docs ↗](https://code.claude.com/docs/en/overview) ### Can Claude Code make AI persona videos? Yes, with Phersa connected. Claude Code finds viral videos, plans the clips with your AI persona, shows you the price, and generates on your own API keys only after you agree. It edits and exports the video; you post it yourself, and it can set up comment-to-DM on that post. ### Does Claude Code support remote MCP servers with OAuth? Yes. claude mcp add --transport http adds a remote server, and /mcp handles OAuth sign-in with automatic dynamic client registration. [Check Claude Code MCP docs ↗](https://code.claude.com/docs/en/mcp) ### How do I find viral short-form videos in Phersa from Claude Code? Ask for a topic, hook or phrase: Claude Code searches the library with discover-search and opens a video's stats, transcript and breakdown with video-get. Source: https://phersa.com/claude-code