Developer documentation · Streamable HTTP MCP

Connect your AI tool over MCP.

Point ChatGPT, Claude, Cursor, Claude Code, VS Code, Windsurf, Codex, or Gemini CLI at one Streamable HTTP endpoint. Build and deploy private previews on every plan, and run your inbox, bookings, live prices, analytics, and newsletter drafts directly from chat on Pro.

Endpoint https://app.tinyworks.io/api/mcp Streamable HTTP · OAuth 2.1 + PKCE

Install in Cursor Install in VS Code Connect in dashboard

Client setup

No static API keys to copy or store in git. Each client authenticates in your browser over OAuth 2.1 with PKCE.

Register Tinyworks in your terminal, then approve the browser OAuth 2.1 prompt when Claude Code calls its first tool:

claude mcp add --transport http tinyworks https://app.tinyworks.io/api/mcp

Verify with claude mcp list. Works across all repositories in your workspace with unlimited private previews.

Install in Cursor automatically with one click, or add Tinyworks to .cursor/mcp.json:

Install in Cursor

{
  "mcpServers": {
    "tinyworks": {
      "url": "https://app.tinyworks.io/api/mcp"
    }
  }
}

Cursor opens an approval prompt and signs you in via OAuth 2.1. Revoke access anytime from your Tinyworks dashboard.

Open ChatGPT Settings → Connectors → Create and enter the Tinyworks Remote MCP URL:

Open ChatGPT Connectors

https://app.tinyworks.io/api/mcp

Choose OAuth authentication and click Connect. ChatGPT can deploy previews, check your inbox and bookings, and update live collection prices from chat.

Tinyworks is live in the official Claude Connectors directory. Open our listing directly and click Connect:

Open Tinyworks in Claude

You can also connect manually using https://app.tinyworks.io/api/mcp. Complete OAuth 2.1 + PKCE sign-in in your browser and revoke access anytime from your Tinyworks dashboard.

VS Code & GitHub Copilot

Install directly with one click or add to .vscode/mcp.json:

Install in VS Code

"tinyworks": { "type": "http", "url": "https://app.tinyworks.io/api/mcp" }

Windsurf

Add Tinyworks to mcp_config.json under Cascade MCP settings:

"tinyworks": { "serverUrl": "https://app.tinyworks.io/api/mcp" }

OpenAI Codex CLI

Register the remote endpoint and complete browser OAuth sign-in:

codex mcp add tinyworks --url https://app.tinyworks.io/api/mcp

Gemini CLI

Install the official Tinyworks Gemini CLI extension (includes MCP config + workflow guide):

gemini extensions install https://github.com/christophersherman/tinyworks-gemini-extension

Or add the Streamable HTTP endpoint directly: gemini mcp add --transport http tinyworks https://app.tinyworks.io/api/mcp

OAuth 2.1 + PKCE and explicit safety gates

Code deploys go to private previews (only you click Publish). Broadcasts save as drafts for approval. Inbox replies require explicit confirmation.

OAuth 2.1 + PKCE authentication

Short-lived tokens

Clients authenticate via OAuth 2.1 with Proof Key for Code Exchange (PKCE) and standard browser consent. There are no static account API keys to leak in shell history or config files, and you can revoke any connected client from your dashboard.

Approval boundaries on every action

Human-in-the-loop

Code deploys go to private previews (only you click Publish). Broadcasts save as drafts for approval before sending to subscribers. Inbox replies require explicit confirmation (confirmSend: true) so no email goes out by accident.

All 23 MCP tools

Every tool is available over Streamable HTTP at https://app.tinyworks.io/api/mcp once authorized, grouped into four clear capabilities.

Build & Preview (7)

Available on every plan. Deploy code and assets to private previews and inspect site state.

Build & Preview (7)
Tool Scope What it does
list_sites Read · All List websites in your workspace along with live status, preview links, and URLs.
create_site Draft · All Create a new website ready to receive preview deployments.
deploy_files Draft · All Upload HTML, CSS, JavaScript, JSON, SVG, and static assets to a private preview.
get_site Read · All Fetch site metadata, preview URL, live URL, and current revision details.
read_file Read · All Read an existing file from a site's saved draft before editing.
get_capabilities Read · All Inspect workspace plan tier, feature limits, and active /_tw/* endpoints.
check_publication Verify · All Run static pre-publication checks on links, assets, and form references before publishing.

Media & Assets (3)

Upload and discover hosted site files, and manage access gates on PDF lead magnets and downloads.

Media & Assets (3)
Tool Scope What it does
list_media Read · All List uploaded site images, PDFs, and public /_tw/media/* URLs so assistants reference real files.
upload_media Write · All Upload PDFs, images (PNG/JPEG/WebP), or text files directly to the Media Library for paid downloads, lead magnets, or public embeds.
set_media_access Draft · Launch+ Set access rules (private, public, email_gate, or members_only) on hosted media files and PDF lead magnets.

Backend Setup (5)

Wire managed /_tw/* forms, collections, booking calendars, and member portals without a custom server.

Backend Setup (5)
Tool Scope What it does
get_backend_state Read · All Inspect configured forms, collections, booking schedules, member auth, email automations, and payments.
configure_form Backend · All Configure contact form fields, validation, auto-replies, and inbox wiring behind /_tw/forms/*.
configure_collection Backend · Pro Create or update structured collections behind /_tw/data/*.
configure_bookings Backend · Pro Create or update bookable time slots, iCal sync settings, and .ics calendar invites behind /_tw/bookings/*.
configure_members Backend · Pro Configure passwordless email-code login and member routes behind /_tw/members/*.

Business Ops · Launch & Pro (8)

Run daily business operations directly from Claude or ChatGPT without opening another dashboard.

Business Ops · Launch & Pro (8)
Tool Scope What it does
get_analytics_summary Read · All / Launch+ Query page views, top pages, referrers, UTM campaigns, and trends (24h on Free; up to 90d on Launch and Pro).
list_inquiries Read · Pro List inbox leads and contact form submissions filtered by status, form slug, or search query.
reply_to_inquiry Confirm · Pro Send an email reply from your branded address to an inbox thread. Requires explicit confirmation before sending.
list_bookings Read · Pro Inspect upcoming or past appointments, attendee details, and open calendar availability.
manage_collection_items Live Data · Pro Create, update, bulk-edit, or delete live rows in /_tw/data/* collections (such as prices, menus, or inventory) without redeploying your site.
configure_email_automations Backend · Launch+ / Pro Configure form auto-replies and weekly digests (Launch+), plus booking confirmations with .ics, 24-hour reminders, and member welcome emails (Pro).
draft_broadcast Draft · Pro Draft an audience newsletter or promotion for your waitlist or members. Always saves as a draft for approval in Tinyworks.
configure_payments Backend · Launch+ Configure Stripe Connect Standard checkout rules (3% Tinyworks platform fee) for paid downloads, paid bookings, and paid memberships behind /_tw/checkout/*.

Managed /_tw/* endpoints

Your static HTML, React, or Vite frontend calls same-origin endpoints on your site without running a custom server.

Tinyworks managed endpoints
Endpoint Plan Capabilities
/_tw/forms/* All plans Contact, quote, and lead forms with Cloudflare Turnstile spam protection, inbox storage (overflow leads saved safely on Free, never dropped), branded domain forwarding and auto-replies (Launch+), and up to 20 signed webhooks (Pro).
/_tw/media/* All plans Public site media library (up to 5 MB per file) for images, downloads, and PDFs, discoverable via list_media and configurable with private, public, email_gate, or members_only access on Launch+.
/_tw/data/* Pro Structured JSON collections for pricing tables, menus, catalogs, directories, and waitlists. Update rows over MCP or in your dashboard without redeploying your site.
/_tw/bookings/* Pro Availability schedules, Google/Apple iCal sync, double-booking checks, dashboard records, automatic .ics invites, and 24-hour reminders.
/_tw/members/* Pro Passwordless email-code sign-in, member welcome emails, and gated member-only pages for up to 5,000 members.
/_tw/checkout/* Launch+ Stripe Connect Standard direct charges for paid downloads, booking deposits, and memberships with a 3% Tinyworks platform fee.
/_tw/unsubscribe Pro Managed unsubscribe and email preference handling for automated customer emails and approved audience broadcasts.

Example prompts

Use these directly in ChatGPT, Claude, Cursor, or Claude Code after connecting MCP.

Build a new site

Create a Tinyworks site for our neighborhood coffee roaster, list uploaded images with list_media, deploy the HTML and CSS files to a private preview with deploy_files, configure a wholesale contact form with configure_form, run check_publication, and return the private preview link so I can review and publish it.

Run daily business ops (Pro)

Check my unread inbox inquiries with list_inquiries and tomorrow's bookings with list_bookings, then cut our Monthly Coffee Club row in /_tw/data/plans to $5/mo using manage_collection_items and save a holiday waitlist newsletter draft with draft_broadcast.

Need step-by-step walkthrough instructions? Read the MCP deployment guide or compare plan limits.