Content

v0.8.5
io.github.LatentNoise/content Checked 19 hours ago Published 2 months ago

Turn URLs, files and text into media, transcripts, summaries, translations and PDF.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

analyze_source

Analyze a source and report what can be produced from it. Accepts a URL, or **a path to a file on this machine** — the one this MCP server runs on. A local file is read and uploaded to the engine, which is the only way a file here becomes usable by an engine running elsewhere; the path is never assumed to exist on the engine's side. Over a network transport (streamable-http) local paths are refused outright rather than resolved: "this machine" would be the server's host, not the caller's, which is not what a path in a request means.…

ParameterTypeDescription
url *string
credential

list_capabilities

Resolve the public capabilities available for an analyzed source.

ParameterTypeDescription
analysis_id *string

generate

Start a job producing the requested outputs from an analyzed source. Each output is either a type string — ["video", "subtitles"] — or an object. Per-output settings go under "options", never beside "type": {"type": "subtitles", "options": {"languages": ["es"]}} {"type": "video", "options": {"selection": {"max_height": 1080}}, "delivery": {"mode": "deliver", "folder": "Talks"}} Other keys of an output object: id, from_sources, from_outputs, scope ("single" or "each_item" for a collection), required. An unknown key…

ParameterTypeDescription
analysis_id *string
outputs *array

get_job

Get a job's status and, once terminal, its produced artifacts. Carries `poll_after`: seconds to wait before calling this again — a heuristic (grows with elapsed time and the kind of work the job is doing), not a promise, and `null` once the job is terminal.

ParameterTypeDescription
job_id *string

cancel_job

Request cooperative cancellation of a running job.

ParameterTypeDescription
job_id *string

list_jobs

List recent jobs (most recent first).

ParameterTypeDescription
limitinteger

get_artifact

Artifact metadata; small text artifacts are inlined, larger/binary ones return a download reference (never raw bytes over MCP).

ParameterTypeDescription
artifact_id *string

download_artifact

Save an artifact onto the machine running this MCP server. Use this when the user wants the file *here* rather than only in the engine's library — typically when the engine runs on another machine. `destination` is optional: omitted, the artifact keeps its own name in the server's download directory (CONTENT_MCP_DOWNLOAD_DIR, default ~/Downloads/Content). A path outside that directory is refused.

ParameterTypeDescription
artifact_id *string
destination

retry_job

Run a finished job's request again, as a new job. Re-runs the *whole* request: a playlist where one member failed re-downloads every member. Worth it for a transient failure, wasteful for a large collection — read the failure in `get_job` first.

ParameterTypeDescription
job_id *string

delete_upload

Delete bytes uploaded from this machine, before the TTL expires. `analyze_source` uploads a local file to the engine; the id it returns under `upload` is what this takes. Removes only that upload — never an artifact, never a file in the library.

ParameterTypeDescription
upload_id *string

get_config

Server-side context for building requests: credential ids for authenticated sources, whether delivery-by-default is on, and the existing library folders.