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
- 01Upload text and return a shareable link
- 02Upload files by local path
- 03Set automatic file expiration
- 04Create single-use links or shortened URLs
- 05Fetch and host remote URLs
Use cases
- 01Share a text snippet or local file
- 02Create expiring or single-view file links
- 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.
npx -y @rukh-pub/rustypaste-mcpRUSTYPASTE_URLThe URL of the rustypaste serverRUSTYPASTE_AUTH_TOKENSecretThe authentication token for the rustypaste serverLocal servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.
Tools
7Saved tool list · updated 2w ago
| Parameter | Type | Required | Description |
|---|---|---|---|
| content | string | Yes | The text content to paste |
| filename | string | No | Optional filename for the paste (e.g. 'notes.md'). Defaults to 'paste.txt' |
Details
From the project READMErustypaste-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 |
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
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.