If you have already added the Pictory connector in Claude and Claude
Code is signed in to the same account, you are done:
claude mcp list shows it under the name
you gave the connector, prefixed claude.ai, and its tools are available in every session. The steps below are for a
machine that is not signed in to claude.ai, or for a project-wide setup shared with a team.Prerequisites
- Claude Code installed:
npm install -g @anthropic-ai/claude-code - A Pictory account with a purchased Pictory API subscription: app.pictory.ai. A standard Pictory plan on its own is not enough.
Add the server
pictory-ai-video is the name you will use to refer to the server; any name works.
--callback-port 3118 is required, see why the callback port is fixed.
Sign in
/mcp, select pictory-ai-video, and choose
Authenticate.
Verify
Why the callback port is fixed
Claude Code completes the sign-in on a local listener athttp://localhost:<port>/callback.
Pictory’s sign-in service checks that address against an exact list of registered return
addresses, and http://localhost:3118/callback is the one registered for Claude Code. Without
--callback-port, Claude Code picks a random free port for each sign-in, the address does not
match, and the sign-in page shows an error before you can log in. Always pass
--callback-port 3118.
Scope
By default the server is registered for the current project only, for you. Two other scopes are available:
For example, to make it available everywhere:
Sign out, refresh, remove
Troubleshooting
The Sign-In Page Shows an Error Before You Can Log In
The Sign-In Page Shows an Error Before You Can Log In
Cause: The server was added without
--callback-port, so Claude Code used a random port
and the return address did not match the registered one.Resolution:- Remove the server:
claude mcp remove pictory-ai-video - Add it again with the flag:
claude mcp add --transport http --callback-port 3118 pictory-ai-video https://mcp.pictory.ai/mcp - Sign in:
claude mcp login pictory-ai-video
Port 3118 Is Already in Use
Port 3118 Is Already in Use
Cause: Another process is listening on port 3118, so Claude Code cannot open the callback
listener. The port cannot be changed, because it is the one registered with Pictory.Resolution:
- Find the process:
lsof -i :3118 - Stop it, or wait for it to finish, then sign in again.
Tools Are Missing or Out of Date
Tools Are Missing or Out of Date
Cause: Claude Code reads the server’s tool list when it connects, so a tool added since
then is not visible.Resolution:
- Type
/mcpin the session, selectpictory-ai-video, and choose Reconnect. - If it is still missing, start a new session.
Calls Fail After a Successful Sign-In
Calls Fail After a Successful Sign-In
Cause: The stored sign-in has expired, or the Pictory account does not carry a
subscription that permits API use.Resolution:
- Sign out and in again:
claude mcp logout pictory-ai-video, thenclaude mcp login pictory-ai-video - Check your subscription at app.pictory.ai.
Next Steps
Pictory MCP Server
What the server can do, the tools, and the two design modes
Text-to-Video Skill
The Claude Code skill that works with your API key and carries its own design playbook
