使用说明
rustypaste mcp服务器
MCP服务器,用于包装 锈迹 API
工具
| 工具 | 说明 |
|---|---|
rustypaste_paste_text |
上传文本内容并获取可共享的URL |
rustypaste_upload_file |
按路径上载本地文件 |
rustypaste_upload_file_with_expiry |
上传一个文件,并在一段时间后自动删除 |
rustypaste_oneshot_file |
将文件上传为单视图链接 |
rustypaste_oneshot_url |
创建一次性URL重定向 |
rustypaste_shorten_url |
缩短长URL |
rustypaste_upload_remote |
获取远程URL并将其托管在rustypaste上 |
设置
将以下内容添加到MCP客户端配置中(例如。, ~/.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>"
}
}
}
}
许可证
麻省理工学院
