Back to Browse

Aired MCP Server

Developer ToolsUse Caution1.5MCP RegistryRemote
Free

Server data from the Official MCP Registry

Publish HTML to a shareable link. Reports, dashboards and pages from your AI tool, one URL.

About

Publish HTML to a shareable link. Reports, dashboards and pages from your AI tool, one URL.

Remote endpoints: streamable-http: https://aired.sh/mcp streamable-http: https://aired.sh/mcp/account

Security Report

1.5
Use Caution1.5Critical Risk

aired is a legitimate HTML publishing server whose network calls go to its documented API, and its API key and session handling is sound. However, publish_html's single-file path reads any local path without the project-root containment applied to logos and PDFs, and directory bundling can inline files outside the folder, so a prompt-injected request could upload local secrets such as ~/.ssh keys to aired.sh. The truncated source also limits the review. Supply chain analysis found 9 known vulnerabilities in dependencies (0 critical, 5 high severity).

10 files analyzed · 14 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

How to Connect

Remote Plugin

No local installation needed. Your AI client connects to the remote endpoint directly.

Add this to your MCP configuration to connect:

{
  "mcpServers": {
    "io-github-progrmoiz-aired": {
      "url": "https://aired.sh/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_TOKEN>"
      }
    }
  }
}

This server needs this header. Replace each <YOUR_...> placeholder with your own value:

  • Authorization (optional): Optional: Bearer aired_sk_... API key, so pages belong to your account

Documentation

View on GitHub

From the project's GitHub README.

aired

Publish HTML artifacts to shareable URLs instantly. No signup. No friction.

npx aired file.html
→ https://aired.sh/p/a1b2c3d4e5

Works from the CLI, as an MCP tool for AI agents, or by pasting at aired.sh.


Quick start

CLI

# Publish a file
npx aired file.html

# Publish a directory (bundles index.html + CSS + JS + images)
npx aired ./my-project/

# Build a Vite, React, Astro, SvelteKit or Next.js (static export) app and publish it
npx aired ./my-app --build

# With options (a PIN needs an account: npx aired login)
npx aired file.html --ttl 1h --pin 1234

# Permanent (no expiry; needs an account, and signed in it's the default)
npx aired file.html --permanent

# Stdin
cat page.html | npx aired --title "My Page"

# JSON output
npx aired file.html --json

# Update same URL (anyone with the page open sees the new version within seconds)
npx aired update <id> new-version.html

# A PDF (deck, proposal, report) as a page shown page by page, with per-page tracking (signed in)
npx aired deck.pdf
npx aired update <id> deck-v2.pdf

# A data room: pages and PDFs behind one link and one access rule, with who looked at what
npx aired room create "Acme – Series A" --email --add <id>,<id>
npx aired room <room id> activity

# Your pages, and pick one up where you left off on any machine
npx aired list
npx aired pull <id>            # saves <id>.md or <id>.html
npx aired update <id> <id>.md

# Publish once, then update on every save (a project folder is rebuilt each time)
npx aired watch page.html

# Add aired to Claude Code, Claude Desktop, Cursor, VS Code, Windsurf, Codex and Gemini CLI
npx aired setup --dry-run      # shows the changes; drop --dry-run to make them

# Page info
npx aired info <id>

# Change PIN, expiry, view limit or title without re-uploading
npx aired set <id> --pin 4821 --ttl 24h --reads 50

# Tell the aired team about a bug, friction or idea
npx aired feedback --kind friction "what happened"

# Manage stored tokens
npx aired tokens
npx aired tokens prune

# Delete a page
npx aired delete <id>

# Diagnostics
npx aired doctor

Skills (AI agents)

npx skills add progrmoiz/aired -g -a claude-code

Five skills teach an agent when and how to use aired. aired is the core one (publishing, sign-in, limits, and which skill to load next); aired-slides, aired-dashboard, aired-report and aired-forms cover decks, live dashboards, private client reports and pages that collect answers. Leave out -a claude-code to pick other agents, or -g to install into this project only.

They also ship in the npm package, one folder each under skills/. To copy them into Claude Code by hand:

npm install -g aired
cp -R "$(npm root -g)/aired/skills/." ~/.claude/skills/

Connected to the MCP server? Nothing to install: each skill is a resource at skill://aired/SKILL.md and skill://aired/<name>/SKILL.md.

MCP

Two transports: Streamable HTTP (remote, zero install) and STDIO (local, supports file_path).

npx aired setup adds it to every AI tool it finds on your computer (keeping their other servers, with a .bak of each file it changes). Or add it by hand:

Claude Code

The plugin sets up the local MCP server, the five skills and /aired:publish in one step. In Claude Code, type:

/plugin install aired --marketplace progrmoiz/aired

On Claude Code older than 2.1.275: /plugin marketplace add progrmoiz/aired, then /plugin install aired@aired. It uses the local server because Claude Code works on your files: publish_html can take a file_path or a whole folder instead of pasting the HTML into the chat, and it shares your aired login. The source is in plugins/aired.

Or add only the MCP server:

# Remote
claude mcp add aired --transport http https://aired.sh/mcp

# Local
claude mcp add aired -- npx aired --mcp
Claude Desktop

One click, no Node needed: download aired.mcpb and open it, then click Install. Paste an API key (dashboard → Connect → Developer keys) in the optional field so pages land in your account, or leave it empty for 7-day pages. Or add the connector https://aired.sh/mcp/account under Settings → Connectors, which also works on claude.ai.

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "aired": { "url": "https://aired.sh/mcp" }
  }
}
VS Code (GitHub Copilot)

Add to .vscode/mcp.json:

{
  "servers": {
    "aired": { "type": "http", "url": "https://aired.sh/mcp" }
  }
}
Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "aired": { "serverUrl": "https://aired.sh/mcp" }
  }
}
Codex

Add to ~/.codex/config.toml:

[mcp_servers.aired]
url = "https://aired.sh/mcp"
Gemini CLI
gemini mcp add --transport http aired https://aired.sh/mcp
Others

Any MCP client that supports Streamable HTTP can connect to https://aired.sh/mcp. For STDIO-only clients, use the mcp-remote bridge:

{
  "mcpServers": {
    "aired": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://aired.sh/mcp"]
    }
  }
}
Available tool: publish_html
  • html — HTML string to publish
  • file_path — path to HTML file (STDIO only)
  • title — page title
  • pin — PIN to protect access (needs an account)
  • ttl_seconds — time to live (without an account: 30 days by default and at most)
  • permanent — if true, page never expires (needs an account; signed in, the default)
  • update_token — pass a previous token to update the same URL

Web

Visit aired.sh, paste HTML, click "Air it".


API

Base URL: https://aired.sh

Publish

POST /api/publish
Content-Type: application/json

{
  "html": "<html>...</html>",
  "title": "My Page",       // optional
  "pin": "1234",            // optional, needs an account
  "ttl": 86400,             // optional, seconds (30 days at most without an account)
  "permanent": false,       // optional, needs an account (signed in, the default)
  "reads": 10,              // optional, max read count
  "update_token": "at_..."  // optional, update existing page
}

Response:

{
  "id": "a1b2c3d4e5",
  "url": "https://aired.sh/p/a1b2c3d4e5",
  "update_token": "at_xK9mN2pQr7...",
  "expiresAt": "2026-04-04T12:00:00Z"
}

Get page metadata

GET /api/pages/:id

Response:

{
  "id": "a1b2c3d4e5",
  "title": "My Page",
  "size": 4523,
  "readCount": 3,
  "expiresAt": "2026-04-04T12:00:00Z"
}

Update a page

PUT /api/pages/:id
Content-Type: application/json

{ "html": "<html>...v2...</html>", "update_token": "at_..." }

The token can go in the body (above) or as Authorization: Bearer at_....

Delete a page

DELETE /api/pages/:id
Authorization: Bearer at_xK9mN2pQr7...

Report a page

POST /api/report
Content-Type: application/json

{ "id": "a1b2c3d4e5", "reason": "phishing" }

View a page

GET /p/:id

Serves the raw HTML. If PIN-protected, serves a PIN entry page first.

An open page reloads itself within a few seconds when its content is replaced (a publish update, PUT, update_page or a restore): it asks POST /c/:id/live while the tab is showing: every 5 seconds for the first 2 minutes, every 15 seconds until 10 minutes, then every minute, and it stops after 2 hours until the tab is shown again. A deck keeps its slide and a long page its scroll position; a viewer who has typed into the page gets a "Reload" button instead.

Get a page's source

GET /api/pages/:id/source
X-Update-Token: at_...        (or sign in as the owner)

What was published: format (markdown or html), source, kind, a deck's notes, and the live version. Owner or update token only (aired pull).

Upload a PDF

POST /api/documents
Content-Type: application/pdf        (or multipart/form-data with a `file` part, or JSON { pdf_base64 })

Signed in. The PDF becomes a page shown one page at a time (pdf.js in the visitor's browser), with every page setting, recipient links and opens; the opens report says which pages each visit reached and, on Pro, the seconds on each. Free: 10 MB and 50 pages; Pro: 50 MB and 300. PUT /api/documents/:id puts a new file behind the same link. See PDF documents.

Data rooms

POST /api/rooms   { "name": "Acme – Series A", "access": "email", "items": ["<id>", "<id>"] }
GET  /api/rooms/:id/activity

One link (/r/<id>) for a set of your pages and PDFs, with one rule: public, pin, email (any confirmed email) or people (listed emails and domains). Pages added to a room that isn't public are locked to rooms by default (room_only: their plain /p/<id> link opens only for you), a room never opens a page outside it, and a page keeps its own PIN or list inside it. Free: 1 room of 3 items; Pro: 100 rooms of 200. See Data rooms.


Accounts (optional)

Sign in at aired.sh to manage all your pages in one place. Anonymous publish still works without an account, but the page lasts 30 days at most and can't have a PIN. Signing in (free) keeps it: aired login adds the pages published from that computer. For 30 days after one expires, aired restore <id> brings it back for another 30 days.

A free account keeps 25 pages that never expire and 3 with a PIN (past that, publish with an expiry, up to a year).

Pro ($9/month billed yearly, or $12 monthly) removes the aired badge and raises the limits to 10 MB pages, 500 publishes a day, and any number of pages that never expire or have a PIN. Free stays free. See aired.sh/pricing.

CLI:

npx aired login              # browser flow
npx aired login --device     # SSH-friendly fallback
npx aired claim --all        # add your pages to your account (each gets a new token)
npx aired whoami
npx aired logout

API keys (CI and agents). Create one under API keys in the dashboard and set AIRED_API_KEY; the CLI, the local MCP server and the HTTP API (Authorization: Bearer aired_sk_…) then publish to your account.

See who opened it. Pages in your account record opens. Send each person their own link and get told when they read it:

npx aired links <id> add "Acme – Sarah"   # a link for one person (Pro)
npx aired opens <id>                      # who opened it, when, for how long
npx aired alerts <id> first               # email me on the first open
npx aired reading <id>                    # which sections each person reached (Pro)
npx aired slack https://hooks.slack.com/services/…   # opens, comments and responses in Slack (Pro)
npx aired webhooks add https://example.com/hook      # the same as a signed POST; prints the secret once (Pro)
npx aired digest weekly                   # a weekly summary email (free)

Webhooks carry X-Aired-Signature: t=<unix>,v1=<hex HMAC-SHA256 of "<t>.<raw body>">. See aired.sh/docs#alerts for the payload and a verification snippet.

Signed-in MCP. Add https://aired.sh/mcp/account as a connector (Claude, ChatGPT, Cursor, VS Code): you sign in on aired and the server works as your account, adding list_pages, update_page, delete_page and get_account. https://aired.sh/mcp stays anonymous unless you send an API key; anonymous callers still get get_page and set_options with a page's update token, and send_feedback.

Managing API keys, billing and deleting the account only work on the website, not from the CLI, an API key or a connected app. Sign out everywhere (under Account in the dashboard) ends every session, CLI login and connected app; API keys keep working until you revoke them. Deleting the account ends all of them and deletes the keys.

Closing tools (proposals and quotes). Turn on per page, signed in:

npx aired closing abc123 --cta "Book a call" --cta-url https://cal.com/you   # a book-a-call button (free, https only)
npx aired closing abc123 --accept                # an Accept button with a typed signature (Pro)
npx aired closing abc123 --lead --work-email     # ask for name and email before viewing (Pro)
npx aired acceptances abc123                     # who accepted; receipt <acc> saves the receipt PDF
npx aired leads abc123 --csv -o leads.csv        # who gave their name and email, with their opens

Accept keeps an acceptance record (name, email, typed signature, time, page version, a keyed hash of the network address) and gives both sides a receipt PDF. It is not a legal e-signature: nobody's identity is checked. MCP: set_closing_tools, list_acceptances, list_leads. API: GET/PUT /api/pages/:id/closing. Details: aired.sh/docs#closing.


Self-hosting

Aired runs as one Cloudflare Worker: KV for page records and accounts, R2 for the HTML, D1 for accounts, billing, API keys and sign-in, and Workers Rate Limiting bindings as flood guards. Deployment requires a Cloudflare account.

# Clone and build
git clone https://github.com/progrmoiz/aired
cd aired
pnpm install
pnpm run build

# Create the storage, then put the IDs in apps/worker/wrangler.toml
cd apps/worker
wrangler kv namespace create PAGES_KV     # also bound as OAUTH_KV (same id)
wrangler r2 bucket create aired-pages
wrangler d1 create aired

# Secrets (see .dev.vars.example for local values)
wrangler secret put SESSION_SECRET        # 32+ random characters
wrangler secret put SESSION_VALID_SINCE   # ISO date; sessions, API keys and MCP connections created before it stop working
wrangler secret put GITHUB_CLIENT_ID      # a GitHub OAuth app, callback <your origin>/auth/callback
wrangler secret put GITHUB_CLIENT_SECRET
wrangler secret put SOURCES_KEY           # 32+ random characters; encrypts data sources' tokens and alert webhook URLs and secrets (required to save either)

# Deploy: checks, D1 migrations, a deploy tagged with the commit, then /health
# (scripts/deploy.sh; set DEPLOY_ORIGIN to your origin for the health check)
npm run deploy
  • The [[ratelimits]] bindings in wrangler.toml (PUBLISH_BURST, REPORT_BURST, PIN_GUESS, PIN_GUESS_PAGE, DEVICE_BURST, OAUTH_BURST, SIGNIN_BURST, FAVICON_BURST, CHECK_BURST, PDF_BURST, COLLECT_BURST, LIVE_BURST, SLIDE_BURST, COMMENT_BURST, APP_BURST) need no setup; give them your own namespace_ids if you run more than one deployment in an account.
  • Set SITE_ORIGIN if you're not serving from aired.sh, and change the [[routes]] to your domain. Every link the Worker writes follows it (src/lib/origin.ts); the static pages in apps/web/ still say aired.sh.
  • Optional, off until set: billing (BILLING_ENABLED, STRIPE_SECRET_KEY, STRIPE_WEBHOOK_SECRET, STRIPE_PRICE_MONTHLY, STRIPE_PRICE_YEARLY, STRIPE_MANAGED_PAYMENTS) and WorkOS sign-in (WORKOS_CLIENT_ID, WORKOS_API_KEY).
  • The [browser] binding (BROWSER, Cloudflare Browser Rendering) takes each page's link-preview screenshot, which /og/:id serves; it needs no setup. All browser work stops for the day after 40 minutes of browser time (Workers Paid includes 10 hours a month, then $0.09 an hour; Workers Free allows only 10 minutes a day, so set it lower there); set OG_SHOT_DAILY_SECONDS to change that, or 0 to keep the generated card for every page. The same binding runs check_page / aired check, which may use up to 10 of those minutes a day (CHECK_DAILY_SECONDS, 0 turns checks off), and PDF export (export_pdf / aired pdf), which may use up to 20 for new PDFs (PDF_DAILY_SECONDS, 0 stops new PDFs; ones already made still download), so neither takes the time link previews need.
  • The [assets] directive serves the site from apps/web/, and a Cron Trigger every 5 minutes removes expired pages' files from R2.

Limits

LimitValue
Max page size2 MB (Free), 10 MB (Pro)
Publishes20 / hour / IP anonymously, 30 / hour signed in on Free, 500 / day on Pro
Default TTLpermanent signed in (7 days with permanent: false), 30 days without an account
Max TTL without an account30 days
Max PIN length20 chars

License

MIT — see LICENSE

Reviews

No reviews yet

Be the first to review this server!