← Guides 5 minutes

Connect Livepeer Agent to your AI client

One MCP endpoint gives Claude Code, Claude Desktop, Cursor, or Codex the whole Livepeer creative network — image, video, audio, 3D, and finishing tools — as callable tools.

The endpoint
https://agent.livepeer.org/api/mcp
Streamable HTTP. Authenticate with a Daydream API key as a bearer token.

Step 1 — Get an API key

Key

Sign in at app.daydream.live and copy your API key. It starts with sk_.

The same key covers inference, storage, and the MCP tools. Usage is metered per call — see pricing.

Step 2 — Add the server

Claude Code

claude mcp add --transport http livepeer-agent \
  https://agent.livepeer.org/api/mcp \
  --header "Authorization: Bearer sk_YOUR_KEY"

Claude Desktop / Cursor / Codex — .mcp.json

{
  "mcpServers": {
    "livepeer-agent": {
      "type": "http",
      "url": "https://agent.livepeer.org/api/mcp",
      "headers": {
        "Authorization": "Bearer sk_YOUR_KEY"
      }
    }
  }
}

Claude Desktop: Settings → Developer → Edit Config. Cursor: .cursor/mcp.json in your project. Codex: your MCP config file.

Two things that trip people up.

Step 3 — Restart and verify

Check

Restart your client, then ask it:

List the Livepeer Agent capabilities and show me pricing for flux-dev.

You should see the agent call list_capabilities and get_pricing. Tools appear as mcp__livepeer-agent__*.

First things to try

Ask for thisWhat happens
“A watercolor sunset over Tokyo.”One image via create_media
“An 8-scene Ghibli story about two bears catching salmon.”generate_project renders the scenes and returns a shareable viewer link
“Animate this image.” (paste a URL)Image-to-video
“What did I spend today?”get_cost_report

Ask for get_pricing before a big run — the agent will quote cost before spending.

Troubleshooting

SymptomFix
No tools appearRestart the client fully. Confirm the URL is /api/mcp and the key starts with sk_.
401 / auth rejectedCheck the space in Bearer sk_…. If it persists, the key may be out of credits — top up at app.daydream.live.
HTTP 406The client must send Accept: application/json, text/event-stream. Supported clients do this automatically.
A long render seems to stallRenders are async. Ask the agent to poll subscribe_progress or get_create_media — the job keeps running even if you close the tab.

Also available: the Livepeer Agent CLI for scripting and batch work, and the web app for a visual canvas. All three share one account and one set of capabilities.