Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| RUSTYPASTE_URL | Yes | The URL of the rustypaste server (e.g., https://paste.example.com) | |
| RUSTYPASTE_AUTH_TOKEN | Yes | The authentication token for the rustypaste server |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| rustypaste_paste_text | Upload text content to rustypaste and get a shareable URL. Use this to paste code snippets, notes, logs, or any text content. The text is uploaded as a file and a URL is returned. Args:
Returns: The URL of the created paste. Examples:
|
| rustypaste_upload_file | Upload a local file to rustypaste and get a shareable URL. Reads a file from disk and uploads it to the rustypaste server. Supports any file type. The returned URL can be shared to download the file. Args:
Returns: The URL of the uploaded file. Examples:
|
| rustypaste_upload_file_with_expiry | Upload a local file to rustypaste with an expiration time. The file will be available at the returned URL until the expiry time elapses, after which it is automatically deleted from the server. Args:
Returns: The URL of the uploaded file. Examples:
|
| rustypaste_oneshot_file | Upload a file as a one-shot link — it can only be viewed/downloaded once. After the first access, the file is automatically deleted from the server. Useful for sharing sensitive or temporary files securely. Args:
Returns: The one-shot URL. The file will be deleted after the first download. Examples:
|
| rustypaste_oneshot_url | Create a one-shot URL redirect — the link expires after a single visit. Wraps a URL in a one-time redirect. After the first person clicks it, the redirect is deleted from the server. Args:
Returns: The one-shot redirect URL. Examples:
|
| rustypaste_shorten_url | Shorten a long URL using rustypaste. Creates a short redirect URL that points to the original long URL. Args:
Returns: The shortened URL. Examples:
|
| rustypaste_upload_remote | Upload a file from a remote URL to rustypaste. The rustypaste server fetches the file from the provided URL and hosts it. Useful for mirroring or re-hosting remote resources. Args:
Returns: The rustypaste URL for the uploaded file. Examples:
|
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |