Skip to main content

yuuno-mcp

MCP server for yuuno.tech adflow — drive the node-based AI media canvas from an MCP client (Claude Code, Claude Desktop, Cursor, …). You become an agent on the board: create sessions, wire up image/video/audio/text generation nodes, run flows, and read results — the same canvas the in-app chat edits, so your changes appear live in the browser.

Get an API key

Mint a workspace key at app.yuuno.tech → Settings → Organization → API (https://app.yuuno.tech/settings/organization/api). It's a 40-character hex string scoped to your workspace. Rotating it (Reset) invalidates the previous key for every connected client in that workspace.

Connect

Claude Code

Local (stdio, recommended — works everywhere):

claude mcp add yuuno -e YUUNO_API_KEY=<your-40-hex-key> -- uvx yuuno-mcp

Hosted (Streamable HTTP — no local install):

claude mcp add --transport http yuuno https://mcp.yuuno.tech/mcp \
  --header "Authorization: Bearer <your-40-hex-key>"

Claude Desktop

Add to claude_desktop_config.json (stdio; Desktop connectors don't pass custom headers, so use stdio):

{
  "mcpServers": {
    "yuuno": {
      "command": "uvx",
      "args": ["yuuno-mcp"],
      "env": { "YUUNO_API_KEY": "<your-40-hex-key>" }
    }
  }
}

Cursor

Add to ~/.cursor/mcp.json (or a project .cursor/mcp.json):

{
  "mcpServers": {
    "yuuno": {
      "url": "https://mcp.yuuno.tech/mcp",
      "headers": { "Authorization": "Bearer ${env:YUUNO_API_KEY}" }
    }
  }
}

Cursor also supports stdio ("command": "uvx", "args": ["yuuno-mcp"]).

Client support note: remote (hosted HTTP + Authorization header) works today in Claude Code and Cursor. Claude Desktop and claude.ai custom connectors don't pass static headers — use stdio (uvx) for Desktop; OAuth for claude.ai is a later release.

First moves for the agent

Call get_cheatsheet once at the start of a session — it explains the 18 node types, the DAG op rules, the run lifecycle, and model selection. Then a typical build is: list_models → create_session → apply_ops_batch (build the graph) → auto_layout → estimate_credits → run_flow → wait_for_run. list_examples returns ready-to-apply op recipes.

Tools (37)

  • Sessions — whoami, create_session, list_sessions, get_dag, copy_session, delete_session
  • DAG ops — add_node, add_node_with_inputs, update_node, remove_node, add_edge, update_edge, remove_edge, apply_ops_batch, set_uploaded_assets
  • Structure — add_group, move_to_group, ungroup, replace_edge, insert_node_on_edge, bypass_node, list_node_io, auto_layout
  • Runs — run_flow, get_run_status, list_runs, wait_for_run, estimate_credits
  • Generate / catalog — execute_utility_node, wait_for_task, generate_text, generate_asset, list_models, get_model_schema, upload_asset
  • Docs — get_cheatsheet, list_examples (also exposed as MCP resources yuuno://cheatsheet and yuuno://examples/<name>)

Configuration

var default purpose
YUUNO_API_KEY — workspace API key (40 hex), stdio mode
YUUNO_BACKEND_URL https://api.yuuno.tech Django backend base URL
YUUNO_APP_URL https://app.yuuno.tech SPA base URL (canvas links)
YUUNO_WORKSPACE_ID — optional workspace uuid (X-API-ID), stdio only
YUUNO_JWT — dev fallback: SimpleJWT access token
MCP_HTTP_HOST / MCP_HTTP_PORT 127.0.0.1 / 8765 --transport http bind

In hosted HTTP mode the key is never held server-side — each request carries its own Authorization: Bearer <key>, verified against the backend, and the server proxies that exact key to Django (no cross-tenant state).

Development

cd mcp
python3.12 -m venv .venv
.venv/bin/pip install -e '.[dev]'
.venv/bin/python -m pytest tests -q

The contract-parity test (tests/test_parity.py) imports adflow.dag_protocol.constants from the monorepo root and asserts the mirrored constants match; it auto-skips outside the monorepo. Deploy artifacts (systemd units, nginx config, operator runbook) are under deploy/.

Metadata

Release files for yuuno-mcp 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for yuuno-mcp 0.2.0
File Size Uploaded Provenance
yuuno_mcp-0.2.0.tar.gz 167.0 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for yuuno-mcp 0.2.0
File Interpreter ABI Platform
yuuno_mcp-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 299.2 kB

Release files / yuuno_mcp-0.2.0.tar.gz

Download URL yuuno_mcp-0.2.0.tar.gz
Size 167.0 kB
Tags Source
SHA-256 checksum
How to use checksums
b9926d811e2b9b875762dac6ee5920409e6335c1182a700ad7ce50f773f5e614
BLAKE2b-256 checksum
How to use checksums
b15a80f01a15c893b4e2b02528ad0862ab2d6cb1c0ba9534eed387d376215a34
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 6, 2026.

Transparency log

Release files / yuuno_mcp-0.2.0-py3-none-any.whl

Download URL yuuno_mcp-0.2.0-py3-none-any.whl
Size 132.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
963ca91701ec0eb96be2ed7d9e258cf092dcec1f4e19cb68d069e2ceff8b11f8
BLAKE2b-256 checksum
How to use checksums
abd30c80770dcf4bdd43d4074ac084724a6ea681b4d4638a80031838506cb1b3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 6, 2026.

Transparency log

Security for yuuno-mcp 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for yuuno_mcp-0.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 6, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page