File Relay

Temporary file relay for AI agents: upload a generated file, get an expiring download link.

使うべきか

品質と安全性

A
説明の品質
100%
スキーマの完全性
100%
命名の品質
96%
ポイズニングのリスク
80%
権限の一致
100%
プロトコルへの準拠
100%

検出事項(2)

  • HIGHTool poisoning patterns detected
  • LOWTool description contains role marker that could confuse chat modelscreate_upload_link 内

ツール定義とプロトコルへの準拠に関する自動分析に基づいています。

コンテキストコスト

~783トークン数(ツール定義)
~1018 B一般的なレスポンスサイズ
注意への影響は中程度(128k コンテキストの 0.61%)

これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。

インストール

ワンクリックインストール

これを `claude_desktop_config.json` ファイルに追加してください:

{
  "mcpServers": {
    "file-relay": {
      "url": "https://code.easyllms.com/relay/mcp"
    }
  }
}

リモートエンドポイント

https://code.easyllms.com/relay/mcpstreamable-http

できること

ツール一覧

ツール(5)

🟢 読み取り専用🟡 書き込み🔴 削除⚪ 不明
🟡create_upload_link(content_type, filename, path, ttl_hours)

Relay a file of any size up to 100 MB. Save the file to local disk first, call this with its path, then run the returned curl command in your shell to upload it. The download link works as soon as the upload finishes. Requires outbound network access to code.easyllms.com; if curl is blocked, ask the user to allow that domain in their sandbox network settings (on claude.ai: Settings > Capabilities > Code execution).

入力スキーマ

{
  "type": "object",
  "properties": {
    "content_type": {
      "description": "Optional MIME type; guessed from the extension otherwise.",
      "type": "string"
    },
    "filename": {
      "description": "Optional name shown to the downloader; defaults to the file name in path.",
      "type": "string"
    },
    "path": {
      "description": "Local path of the file you saved, e.g. /tmp/report.pdf. Used to build the curl command.",
      "type": "string"
    },
    "ttl_hours": {
      "description": "Hours until the download link expires. Default 24, maximum 168 (7 days).",
      "maximum": 168,
      "minimum": 0.1,
      "type": "number"
    }
  },
  "required": [
    "path"
  ],
  "additionalProperties": false
}
🟢relay_attached_file(file, filename, ttl_hours)

ChatGPT only: relay a file from the conversation (the host passes it as a file reference) and get a temporary download link.

入力スキーマ

{
  "type": "object",
  "properties": {
    "file": {
      "description": "File reference provided by the host.",
      "properties": {
        "download_url": {
          "type": "string"
        },
        "file_id": {
          "type": "string"
        },
        "file_name": {
          "type": "string"
        },
        "mime_type": {
          "type": "string"
        }
      },
      "required": [
        "download_url"
      ],
      "type": "object"
    },
    "filename": {
      "description": "Optional file name override.",
      "type": "string"
    },
    "ttl_hours": {
      "description": "Hours until the download link expires. Default 24, maximum 168 (7 days).",
      "maximum": 168,
      "minimum": 0.1,
      "type": "number"
    }
  },
  "required": [
    "file"
  ],
  "additionalProperties": false
}
🟢get_file_info(id)

Look up a relayed file by id or download URL: name, size, type, expiry and download link.

入力スキーマ

{
  "type": "object",
  "properties": {
    "id": {
      "description": "File id or download URL returned by an upload tool.",
      "type": "string"
    }
  },
  "required": [
    "id"
  ],
  "additionalProperties": false
}
🟢read_file(id)

Read a relayed file's content (up to 1 MB) so an agent can pick up a file someone else relayed. Text comes back as text, images as images, other files as base64.

入力スキーマ

{
  "type": "object",
  "properties": {
    "id": {
      "description": "File id or download URL from this relay.",
      "type": "string"
    }
  },
  "required": [
    "id"
  ],
  "additionalProperties": false
}
🔴delete_file(delete_token, id)

Delete a relayed file before it expires. Requires the delete_token returned at upload.

入力スキーマ

{
  "type": "object",
  "properties": {
    "delete_token": {
      "description": "delete_token returned at upload.",
      "type": "string"
    },
    "id": {
      "description": "File id or download URL.",
      "type": "string"
    }
  },
  "required": [
    "id",
    "delete_token"
  ],
  "additionalProperties": false
}

コミュニティ

このサーバーを評価する

エビデンス

最近の観測

検証済みバージョンは記録されていませんツール 5 件