Put It Online

v1.0.0
online.putit/put-it-online Checked 1 day ago Published 1 month ago

Publish AI-made web pages and share files as short links from any MCP client.

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

upload_file Upload a file

Put a file online and get a short public link. Pass text directly, or base64 with encoding="base64" for binary files (images, PDFs, zips). An .html file becomes a web page; a .zip containing index.html becomes a website. Returns the URL, expires_at and a manage_token (shown once; anonymous callers need it to check or delete the link). Status may be "checking"/"publishing" (call get_link before sharing) or "unpublished" (not published). Limit 20 MB inline, but only use it for content you already have as text or small base64: for a file already at a public URL use upload_from_url, and for a file…

ParameterTypeDescription
content *stringFile content: plain text, or base64 when encoding is "base64" (use base64 for any binary file).
filename *stringFile name including extension, e.g. "report.pdf" or "index.html". The extension decides how the link renders.
encodingstringHow `content` is encoded.
mime_typestringOptional MIME type; used to add a missing file extension.
passwordstringVisitors must enter this password to open the link; available on plans with password protection.
slugstringCustom link name (3-40 letters, digits, dashes); available on plans with custom names.

upload_from_url Upload a file from a URL

Put a file that is already at a public http(s) URL online and get a short public link. Put It Online fetches it for you, so use this instead of downloading and passing the content yourself. Only public addresses on the default web ports work (no private/internal addresses, no login-protected pages, not putit.online links); up to 3 redirects are followed. Limit 25 MB for your plan: use create_upload_session for bigger files. The file name comes from the URL unless you pass filename. Returns the URL, expires_at and a manage_token (shown once). Status may be "checking"/"publishing" (call get_link…

ParameterTypeDescription
url *stringPublic http(s) URL of the file, e.g. "https://example.com/report.pdf". Fetched by Put It Online; private/internal addresses, other ports and our own domains are refused.
filenamestringOptional file name including extension. Default: the name the URL gives (Content-Disposition or the last part of the path), with an extension added from the content type if missing.
passwordstringVisitors must enter this password to open the link; available on plans with password protection.
slugstringCustom link name (3-40 letters, digits, dashes); available on plans with custom names.

create_upload_session Upload a file from the user's device

For a file the user has (video, audio, photos, documents; on a phone or computer) or anything too large to send inline. Reserves a link and returns upload_page_url: give it to the user to open in any browser (phone included, no sign-in), pick the file, and the link is finished. Apps that show interactive views also show an upload button in the chat. Do not try to send the bytes yourself when you cannot read the user's file or reach the internet. Someone in a terminal can instead run the returned curl command (PUT to upload_url, then POST complete_url). Once the user says it is uploaded, call g…

ParameterTypeDescription
filename *stringName of the file that will be uploaded, including extension.
passwordstringVisitors must enter this password to open the link; available on plans with password protection.
size_bytesintegerExpected size, checked against your plan limit up front.
slugstringCustom link name (3-40 letters, digits, dashes); available on plans with custom names.

publish_site Publish a web page or site

Put a web page or small static site you created online instantly. Pass {"files": {"index.html": "<!doctype html>…", "style.css": "…", "app.js": "…"}} (paths relative to the site root; index.html required). Images can go in base64_files. Returns the public URL. Pages are served sandboxed on their own link.

ParameterTypeDescription
files *objectMap of path -> text content, e.g. {"index.html": "<!doctype html>…", "style.css": "body{…}"}. Must include index.html.
base64_filesobjectOptional map of path -> base64 content for binary assets such as images.
passwordstringVisitors must enter this password to open the link; available on plans with password protection.
slugstringCustom link name (3-40 letters, digits, dashes); available on plans with custom names.
titlestringName for the site (shown in the dashboard).

set_password Set or remove a link password

Protect a link with a password (visitors must enter it), or pass null to remove it. Requires a connected account whose plan includes passwords; otherwise returns a subscription_required error.

ParameterTypeDescription
password *New password, or null to remove protection.
slug *stringThe link name, e.g. "k3x9pq" (a full https://putit.online/<name> URL also works).

make_permanent Keep a link online permanently

Turn an expiring link into a permanent one (uses one of the plan's permanent slots; see get_account). Requires a connected account whose plan includes permanent links.

ParameterTypeDescription
slug *stringThe link name, e.g. "k3x9pq" (a full https://putit.online/<name> URL also works).

extend Extend a link

Restart an expiring link's expiry clock (also brings back a recently expired link). Permanent links are unaffected. Requires a connected account whose plan includes extending.

ParameterTypeDescription
slug *stringThe link name, e.g. "k3x9pq" (a full https://putit.online/<name> URL also works).

get_account Get my plan

The connected account's plan, permanent-link slots used/available, size limit and features.