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