rustypaste-mcp-server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@rustypaste-mcp-server upload this code snippet as a single-use link"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
rustypaste-mcp-server
An MCP server that wraps the rustypaste API.
Tools
Tool | Description |
| Upload text content and get a shareable URL |
| Upload a local file by path |
| Upload a file with auto-deletion after a duration |
| Upload a file as a single-view link |
| Create a single-use URL redirect |
| Shorten a long URL |
| Fetch a remote URL and host it on rustypaste |
Related MCP server: @zhigang1992/uploadfile-mcp
Setup
Add the following to your MCP client configuration (e.g., ~/.config/claude/claude_desktop_config.json):
{
"mcpServers": {
"rustypaste": {
"command": "npx",
"args": [
"-y",
"@rukh-pub/rustypaste-mcp"
],
"env": {
"RUSTYPASTE_URL": "https://paste.example.com",
"RUSTYPASTE_AUTH_TOKEN": "<your-token-here>"
}
}
}
}License
MIT
Available Tools
7 toolsrustypaste_oneshot_fileOne-Shot File UploadA
Upload a file as a one-shot link — it can only be viewed/downloaded once.
After the first access, the file is automatically deleted from the server. Useful for sharing sensitive or temporary files securely.
Args:
file_path (string): Absolute path to the file (e.g. "/home/user/secret.txt")
Returns: The one-shot URL. The file will be deleted after the first download.
Examples:
Share a secret: file_path="/tmp/credentials.txt"
One-time image share: file_path="/home/user/photo.jpg"
Inputs: file_path (required).
rustypaste_oneshot_urlOne-Shot URL RedirectA
Create a one-shot URL redirect — the link expires after a single visit.
Wraps a URL in a one-time redirect. After the first person clicks it, the redirect is deleted from the server.
Args:
url (string): The target URL to wrap (must be a valid URL)
Returns: The one-shot redirect URL.
Examples:
One-time link: url="https://example.com/sensitive-doc"
Inputs: url (required).
rustypaste_paste_textPaste TextA
Upload text content to rustypaste and get a shareable URL.
Use this to paste code snippets, notes, logs, or any text content. The text is uploaded as a file and a URL is returned.
Args:
content (string): The text to paste (required, non-empty)
filename (string, optional): Name for the paste file (default: "paste.txt")
Returns: The URL of the created paste.
Examples:
Paste a log excerpt: content="error at line 42: null pointer"
Paste code with a name: content="def main(): ...", filename="app.py"
Inputs: content (required), filename.
rustypaste_shorten_urlShorten URLA
Shorten a long URL using rustypaste.
Creates a short redirect URL that points to the original long URL.
Args:
url (string): The URL to shorten (must be a valid URL)
Returns: The shortened URL.
Examples:
Shorten a link: url="https://example.com/very/long/path/to/resource?with=params"
Inputs: url (required).
rustypaste_upload_fileUpload FileA
Upload a local file to rustypaste and get a shareable URL.
Reads a file from disk and uploads it to the rustypaste server. Supports any file type. The returned URL can be shared to download the file.
Args:
file_path (string): Absolute path to the file (e.g. "/home/user/doc.pdf")
Returns: The URL of the uploaded file.
Examples:
Upload an image: file_path="/home/user/screenshot.png"
Upload a document: file_path="/tmp/report.pdf"
Inputs: file_path (required).
rustypaste_upload_file_with_expiryUpload File with ExpiryA
Upload a local file to rustypaste with an expiration time.
The file will be available at the returned URL until the expiry time elapses, after which it is automatically deleted from the server.
Args:
file_path (string): Absolute path to the file (e.g. "/home/user/doc.pdf")
expiry (string): How long the file should be available (e.g. "10min", "1h", "1d", "1w")
Returns: The URL of the uploaded file.
Examples:
Upload for 1 hour: file_path="/tmp/log.txt", expiry="1h"
Upload for 7 days: file_path="/home/user/img.png", expiry="7d"
Inputs: file_path (required), expiry (required).
rustypaste_upload_remoteUpload from Remote URLA
Upload a file from a remote URL to rustypaste.
The rustypaste server fetches the file from the provided URL and hosts it. Useful for mirroring or re-hosting remote resources.
Args:
url (string): The remote file URL to fetch and upload (must be a valid URL)
Returns: The rustypaste URL for the uploaded file.
Examples:
Mirror an image: url="https://example.com/photo.jpg"
Re-host a file: url="https://cdn.example.com/release-v1.2.tar.gz"
Inputs: url (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Most tools have distinct purposes with clear boundaries: oneshot_file vs oneshot_url (file vs URL), paste_text vs upload_file (text vs file), shorten_url vs others (URL shortening). However, upload_file and upload_file_with_expiry overlap significantly in core functionality, differing only in expiry, which could cause confusion about which to use for basic uploads without expiry.
All tool names follow a consistent snake_case pattern with a 'rustypaste_' prefix and descriptive verb_noun combinations (e.g., upload_file, shorten_url, paste_text). The naming is highly predictable and readable throughout the set.
With 7 tools, the server is well-scoped for a paste/file-sharing service. Each tool serves a specific use case (e.g., oneshot, text paste, file upload, URL shortening, remote upload), and none feel redundant or missing for the domain.
The toolset comprehensively covers the rustypaste domain: it supports uploading files (with and without expiry), uploading text, creating one-shot links for files and URLs, shortening URLs, and fetching remote files. There are no obvious gaps for core operations like creation, sharing, or management of temporary content.
Maintenance
Related MCP Connectors
A MCP server built for developers enabling Git based project management with project and personal…
MCP server for OpenAI API (chat completions, image generation, embeddings) via AceDataCloud
Screenshots, PDFs, image editing, QR codes, email validation and more through one hosted MCP server.
Related MCP Servers
- AlicenseBqualityDmaintenanceA MCP server for managing and storing code snippets in various programming languages, allowing users to create, list, and delete snippets via a standardized interface.37MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that enables users to upload local files to S3-compatible storage and retrieve shareable public URLs. Files are automatically organized into unique UUID-based folders to prevent naming conflicts while preserving original filenames.12 npmMIT
- FlicenseNot gradedqualityDmaintenanceA comprehensive MCP server providing 21+ tools for mathematical operations, string manipulation, file handling, utilities, and web requests via FastAPI and WebSocket.-
- AlicenseAqualityDmaintenanceMCP server for uploading, listing, and retrieving files on S3-compatible storage (AWS S3, DigitalOcean Spaces) with public/private access and temporary URLs.4MIT