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.
An MCP server that wraps the rustypaste API.
| 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 |
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>"
}
}
}
}
MIT
RUSTYPASTE_URL*The URL of the rustypaste server
RUSTYPASTE_AUTH_TOKEN*secretThe authentication token for the rustypaste server