Skip to main content
Glama
rustypaste-mcp-server

rustypaste-mcp-server

by rukh-debug

rustypaste-mcp-server

An MCP server that wraps the rustypaste API.

Tools

Tool

Description

rustypaste_paste_text

Upload text content and get a shareable URL

rustypaste_upload_file

Upload a local file by path

rustypaste_upload_file_with_expiry

Upload a file with auto-deletion after a duration

rustypaste_oneshot_file

Upload a file as a single-view link

rustypaste_oneshot_url

Create a single-use URL redirect

rustypaste_shorten_url

Shorten a long URL

rustypaste_upload_remote

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 tools
rustypaste_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:

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:

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:

Inputs: url (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.2/5.0

    Scored across 7 tools

    Disambiguation4/5

    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.

    Naming Consistency5/5

    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.

    Tool Count5/5

    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.

    Completeness5/5

    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

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      A MCP server for managing and storing code snippets in various programming languages, allowing users to create, list, and delete snippets via a standardized interface.
      3
      7
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      An 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 npm
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      A comprehensive MCP server providing 21+ tools for mathematical operations, string manipulation, file handling, utilities, and web requests via FastAPI and WebSocket.
      -
    • A
      license
      A
      quality
      D
      maintenance
      MCP server for uploading, listing, and retrieving files on S3-compatible storage (AWS S3, DigitalOcean Spaces) with public/private access and temporary URLs.
      4
      MIT