Upload to URL
Upload files to public CDN URLs, retrieve or delete uploaded file metadata, and publish HTML pages.
Verdict
Common use cases
- Share design comps with clients instantly
- Attach error logs to support tickets
- Publish quick landing pages for campaigns
- Host meeting recordings for remote teams
- Generate shareable links for code samples
Integration
- Vendor
- Upload to URL
- Category
- other
- Auth
- API_KEY
- Tools
- 5
- Composio slug
upload_to_url
Tools
- Delete Filedestructive
Permanently delete a previously uploaded file from storage and its public CDN location.
- Get File Metadata
Retrieve current metadata and the public CDN URL for a file previously uploaded by the connected account.
- Get Supported Formats
Return the file extensions Upload to URL accepts or blocks, current plan size limits, and advertised upload security checks. Use this before uploading an unfamiliar file type.
- Publish HTML
Publish raw HTML at a public URL under a chosen page path. This irreversible public side effect consumes one monthly credit, and the API provides no way to delete the published page.
- Upload File
Upload one file and return its public CDN URL, file ID, expiration, and remaining monthly credits. Each successful call consumes one upload credit.
Setup
Setup guide
- 11. In Switchy, open your workspace settings and navigate to the Integrations tab. 2. Find Upload to URL in the MCP directory and click Connect. 3. You'll be prompted to paste an API key — generate one from your Upload to URL account dashboard under API Access. 4. Copy the key and paste it into Switchy, then click Authorize. 5. Switchy confirms the connection and shows Upload to URL as active. 6. Open any Project and type '@Upload to URL check supported formats' to verify the connection works. 7. The MCP responds with your plan's file size limits and accepted extensions. 8. To upload a file, attach it to your message and write '@Upload to URL upload this file' — the MCP returns a public CDN link you can use anywhere.
What teammates see: by default, memories from Upload to URL are scoped to the Project (PROJECT visibility) - you can mark any memory PRIVATE or share it ORG-wide.
Works well with
Top models
Compatibility data appears once enough Projects have used this MCP together with a given model.
How Switchy teams use it
Starter prompts
Upload Team Logo
@Upload to URL upload this logo file and give me the public CDN link I can use in our email footer
Check Upload Limits
@Upload to URL what file formats and size limits does my current plan support
Publish Demo Page
@Upload to URL publish this HTML as a page at /demo-signup and confirm the live URL
Retrieve File Metadata
@Upload to URL get the metadata and CDN link for file ID abc123xyz that I uploaded last week
Delete Uploaded File
@Upload to URL delete file ID def456ghi and confirm it's removed from the CDN
Example outputs
Illustrative - representative of the model's voice and quality, not literal recordings.
@Upload to URL check what file types you accept and what my current plan's size limit is before I upload this 45MB video
Upload to URL accepts video formats including .mp4, .mov, .avi, and .webm. Your current plan allows files up to 100MB. Blocked extensions include .exe, .bat, and .sh for security. The service scans all uploads for malware before making them publicly accessible. You have 47 upload credits remaining this month, resetting on the 15th.
This example shows the format-check tool that prevents wasted upload attempts. Always run this first if you're near a size boundary or uploading an uncommon extension—Upload to URL's block list and plan limits vary by account tier.
@Upload to URL upload the final-deck.pdf sitting in my Downloads folder and give me the public link to share with the board
Uploaded final-deck.pdf (3.2MB) successfully. Public CDN URL: https://cdn.uploadtourl.com/u/a8f3k9/final-deck.pdf — this link is permanent and does not expire. File ID: a8f3k9d2. You have 46 upload credits remaining this month. The file passed malware scanning and is now publicly accessible to anyone with the URL.
This demonstrates the core upload workflow. The returned URL is immediately public and permanent—there's no private-link option. If you later need to revoke access, use the Delete File tool with the file ID, which removes it from the CDN.
@Upload to URL publish an HTML landing page at /demo-signup with the form code I just pasted, and confirm it's live
Published HTML page at https://yourspace.uploadtourl.com/demo-signup. The page is now publicly accessible and indexed. This action consumed 1 monthly credit (46 remaining). Warning: Upload to URL provides no API method to delete or edit published HTML pages—they are permanent. To change content, you must publish a new page at a different path.
This highlights the Publish HTML tool's irreversible nature. Unlike file uploads (which you can delete), HTML pages cannot be removed or updated via the API. Use this only when you're certain the content is final, or plan to version your page paths (/demo-signup-v2).
Use-case deep-dives
When you need throwaway public links for Figma exports
A 6-person design team ships mockups to three freelance developers who don't have Figma seats. The designer exports PNGs, runs Upload File through Switchy, and drops the CDN URLs in Slack. This MCP wins because it's faster than opening Dropbox and the links don't expire mid-sprint. The 5-tool surface is small enough that everyone learns it in one session. The trade-off: you're burning monthly credits on disposable assets, so this works if your plan covers 50+ uploads and you're not archiving these files long-term. If the contractor needs the link to stay live past 90 days, use a real asset host instead.
Fast public URLs for one-off support images
A 3-person support team takes screen recordings of bugs and needs public links to paste into Zendesk tickets. Upload to URL gives them a one-click flow: record, upload via Switchy, paste the CDN URL. This beats attaching files to tickets because the link loads faster and doesn't bloat the ticket database. The MCP's Get File Metadata tool lets the team confirm the link is still live if a customer replies two weeks later. The boundary: if you're uploading more than 100 screenshots a month, check your credit limit with Get Supported Formats first. If you hit the cap mid-month, you're stuck waiting for the reset or manually using Imgur.
Publish HTML wins for throwaway test pages
A 2-person growth team wants to A/B test three headline variants on a landing page without touching the production CMS. They write the HTML in Cursor, call Publish HTML through Switchy, and get three public URLs to run as Facebook ad destinations. This scenario is the only reason the Publish HTML tool exists: you need a live page in under 60 seconds and you don't care that it's irreversible. The MCP's API_KEY auth means the whole team shares one account, so anyone can publish without a handoff. The hard stop: the page is permanent and you can't delete it, so this only works for campaigns that end in 30 days. If you need to unpublish or edit the page later, use Netlify or Vercel instead.
Frequently asked
What does the Upload to URL MCP do in Switchy?
It uploads files to a public CDN and returns shareable URLs, or publishes raw HTML to live web pages. Your AI agents can attach documents, images, or code snippets to conversations, then share the resulting links with teammates or external collaborators without leaving the chat.
Do I need admin access to connect Upload to URL?
No. You authenticate with an API key tied to your Upload to URL account. Whoever holds the key can upload files and publish HTML under that account's monthly credit allowance, so treat it like a password and rotate it if someone leaves the team.
Can the MCP delete published HTML pages?
No. The Publish HTML tool warns you it's irreversible—once live, the page stays live. You can delete uploaded files with the Delete File tool, but HTML pages have no delete endpoint. Plan your page paths carefully or use a staging subdomain for experiments.
Why use this instead of Dropbox or Google Drive links?
Upload to URL returns direct CDN URLs with no login walls or permission dialogs. If your agent needs to share a file with someone outside your org—or embed an image in a public demo—this skips the access-request dance. Trade-off: no folder structure or version history.
Who on the team should connect this MCP?
Whoever manages your Upload to URL subscription and understands your monthly credit budget. Each upload and HTML publish burns a credit, so you want one person monitoring usage and setting guardrails before agents start publishing files at scale.