rustypaste-mcp-server
# rustypaste-mcp-server
An MCP server that wraps the [rustypaste](https://github.com/orhun/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 |
## Setup
Add the following to your MCP client configuration (e.g., `~/.config/claude/claude_desktop_config.json`):
```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
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.