1. Choose a documentation source
Legnext Skill — recommended
Install the integration playbook in Claude Code, Cursor, Codex, and other skill-compatible agents.
Docs MCP server
Give any MCP-capable client live documentation search without installing a project skill.
Use the Legnext Skill
Run this from your project:Use the docs MCP server
Add this URL as a Streamable HTTP MCP server namedlegnext-docs:
llms-full.txt.
2. Add your API key
SetLEGNEXT_API_KEY in the server-side environment of your project. Never
paste the key into the agent conversation, browser code, or a committed file.
3. Paste this prompt
4. Verify the result
The finished integration should:- Keep the API key at a server boundary
- Persist the first returned
job_idinstead of resubmitting uncertain requests - Continue through all non-terminal states and stop at
completedorfailed - Keep the unauthenticated Get Task capability URL private
- Copy completed output to durable storage
- Handle moderation, balance, timeout, and provider failures
- Include a focused test or repeatable verification
Use a video as a reference
Legnext reads reference images from public image URLs; it does not read video links. When the look you want lives in a YouTube, TikTok, Instagram, or X video, let your agent pull the frames first with VidCrawl, a video context API for AI agents built by the team behind Legnext. Its MCP server returns the video’s timestamped transcript and storyboard, then sharp frames at the timestamps you choose. Save the frames you want to your own storage, then pass their public URLs in the Legnext prompt as image prompts or--sref style references. Each URL must meet
the image URL requirements.