rukh-debug avatar

Rustypaste Mcp

rukh-debug/rustypaste-mcp

Wraps the rustypaste API for managing paste and file hosting operations. You get seven tools covering the standard workflow: paste text snippets, upload files from local paths, set expiry times for auto-deletion, create one-shot links that expire after a single view, shorten URLs, and fetch remote files to rehost them. Requires a rustypaste instance URL and auth token in your environment config. Useful when you need to programmatically share code snippets, logs, or files through a self-hosted paste service instead of manually uploading through a web interface.

tools
7
auth
Secret needed
transport
STDIO
env vars
2
last updated
Mar 6, 2026

Tools

7 tools

Public tool metadata for what this MCP can expose to an agent.

rustypaste_paste_textUpload text content and get a shareable URL

Upload text content and get a shareable URL

No parameter schema in public metadata yet.

rustypaste_upload_fileUpload a local file by path

Upload a local file by path

No parameter schema in public metadata yet.

rustypaste_upload_file_with_expiryUpload a file with auto-deletion after a duration

Upload a file with auto-deletion after a duration

No parameter schema in public metadata yet.

rustypaste_oneshot_fileUpload a file as a single-view link

Upload a file as a single-view link

No parameter schema in public metadata yet.

rustypaste_oneshot_urlCreate a single-use URL redirect

Create a single-use URL redirect

No parameter schema in public metadata yet.

rustypaste_shorten_urlShorten a long URL

Shorten a long URL

No parameter schema in public metadata yet.

rustypaste_upload_remoteFetch a remote URL and host it on rustypaste

Fetch a remote URL and host it on rustypaste

No parameter schema in public metadata yet.

Sponsors

Configuration

RUSTYPASTE_URL*

The URL of the rustypaste server

RUSTYPASTE_AUTH_TOKEN*secret

The authentication token for the rustypaste server

Readme

rustypaste-mcp-server

An MCP server that wraps the rustypaste API.

Tools

ToolDescription
rustypaste_paste_textUpload text content and get a shareable URL
rustypaste_upload_fileUpload a local file by path
rustypaste_upload_file_with_expiryUpload a file with auto-deletion after a duration
rustypaste_oneshot_fileUpload a file as a single-view link
rustypaste_oneshot_urlCreate a single-use URL redirect
rustypaste_shorten_urlShorten a long URL
rustypaste_upload_remoteFetch a remote URL and host it on rustypaste

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

Details

Repository
github.com/rukh-debug/rustypaste-mcp
Package
@rukh-pub/rustypaste-mcp
Transport
STDIO
Auth
Required
Registry
MCP registry, active