Cursor plugin
The tmphost plugin connects Cursor to the tmphost.io MCP server and adds a tmphost skill, a rule and two commands, so Cursor's agent can host files at temporary public URLs when you ask it to share something.
LLM-friendly version (Markdown): https://tmphost.io/docs/plugins/cursor.md
Install
- Install tmphost from the Cursor Marketplace, or import the repository github.com/tmphost/tmphost as a team marketplace: its
.cursor-plugin/marketplace.jsonlists one plugin,tmphost, fromplugin/cursor. - Open Cursor Settings → Tools & MCP and enable the
tmphostserver. - Select Connect, sign in with your tmphost.io account and approve access.
What it adds
| Part | What it does |
|---|---|
MCP server tmphost | HTTP server at https://mcp.tmphost.io/mcp with the tools uploadFile, downloadFile, listFiles, getUrl, extendFolder, addPinToFolder (MCP tools). |
Skill tmphost | When and how to use each tool: textContent for text files, multi-file sites, folder PINs, Markdown as a page and credits. |
Rule prefer-tmphost-mcp | Routes "share this" requests (a file, a report, an image or a static site) to the right tool, and keeps secrets, .env files and keys out of public links. |
Command /share-file | Uploads one file into a new folder and replies with its link, when it expires and the credits spent. |
Command /share-site | Uploads a static site (a directory with index.html at its root, such as dist) into one folder and replies with the folder URL. |
Sign in
The server answers the first request with 401; Cursor discovers the OAuth endpoints of app.tmphost.io, registers itself (Dynamic Client Registration) and opens the browser. Sign in or sign up, and Cursor keeps the token. There is no API key to paste: never paste a token into the chat.
Try it
> Host this HTML report with tmphost and give me a link that works for an hour. > /share-site dist
The second uploads dist/index.html into a new folder, the other files into the same folder by its folderId, and answers with the folder URL, such as https://k7q2m9xa.file.tmphost.io/. The id and URL here are examples. Anyone with a link can open the files until the folder expires.
For large or binary files, Cursor's agent does better with the tmphost CLI in its terminal: it uploads from disk without passing the bytes through the conversation. See plugin or CLI?
Load from a checkout
To try the plugin from a clone of the repository, copy it into Cursor's local plugin folder (Cursor skips symlinks that point outside it), then run Developer: Reload Window:
$ mkdir -p ~/.cursor/plugins/local $ rsync -a --delete plugin/cursor/ ~/.cursor/plugins/local/tmphost/
Self-hosted tmphost
Instead of the plugin, add your own server's MCP URL (such as https://mcp.example.com/mcp) to Cursor as an MCP server named tmphost.
License
The plugin is licensed under the Apache License 2.0. The tmphost server it connects to is AGPL-3.0-only.