mcpField
R
rustypaste-mcp

rustypaste-mcp

Local
github.com/rukh-debugFiles & Storage0Updated 34w ago

About rustypaste-mcp

rustypaste-mcp wraps the rustypaste API in an MCP server for uploading text and files, hosting remote content and handling URLs. It also supports expiring files and single-view links.

Key features

  1. 01Upload text and return a shareable link
  2. 02Upload files by local path
  3. 03Set automatic file expiration
  4. 04Create single-use links or shortened URLs
  5. 05Fetch and host remote URLs

Use cases

  1. 01Share a text snippet or local file
  2. 02Create expiring or single-view file links
  3. 03Shorten a long URL or host remote content

MCP support

The MCP server exposes tools for uploading text and files, creating single-use links, shortening URLs and hosting remote content.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"rukh-debug-rustypaste": {
"command": "npx",
"args": [
"-y",
"@rukh-pub/rustypaste-mcp"
],
"env": {
"RUSTYPASTE_URL": "<RUSTYPASTE_URL>",
"RUSTYPASTE_AUTH_TOKEN": "<RUSTYPASTE_AUTH_TOKEN>"
}
}
}
}
Run commandnpx -y @rukh-pub/rustypaste-mcp
Environment variables to set
RUSTYPASTE_URLThe URL of the rustypaste server
RUSTYPASTE_AUTH_TOKENSecretThe authentication token for the rustypaste server

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@rukh-pub/rustypaste-mcp1.0.3

Tools

7

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
contentstringYesThe text content to paste
filenamestringNoOptional filename for the paste (e.g. 'notes.md'). Defaults to 'paste.txt'

Details

From the project 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

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.