# File Relay

> File Relay is an MCP server for files and documents. Remote MCP file relay: upload a file an agent made, get an expiring download link. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Platforms:** API
- **Website:** https://code.easyllms.com/relay
- **MCP Registry name:** io.github.yjq001/file-relay
- **Categories:** [files and documents](https://ai-powered.com/categories/files-and-documents)
- **Listing updated:** 2026-11-23

## About

Agents often produce a file inside a sandbox where you cannot reach it. File Relay gives the agent a one-time upload URL, the agent sends the file with curl, and you receive a link to download it. The agent therefore needs a shell with internet access, such as Claude Code, Codex or Cursor; on claude.ai the relay domain must be allowed in the code execution network settings.

Links last 24 hours by default and at most seven days, files can be up to 100 MB, and storage is permanently cleared within seven days of upload. Anyone holding a link can download the file, so secrets should not be relayed. Another agent can pick a file up by reading its info, and a delete token removes a file early.

The endpoint is Streamable HTTP with no sign-in.

## Features

- **One-time upload links:** The agent receives a single-use URL and uploads with curl.
- **Expiring downloads:** Links default to 24 hours and last at most 7 days.
- **100 MB files:** Each uploaded file can be up to 100 MB.
- **ChatGPT attachments:** A dedicated tool turns ChatGPT file references into download links.
- **Agent-to-agent pickup:** Info and read tools let another agent retrieve a relayed file.
- **Early deletion:** A delete token removes a file before it expires.

## Good for

- Receive a report or archive a coding agent generated
- Hand a file from one agent to another
- Download a chart or export created in a sandbox
- Clean up a shared file immediately after use

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http file-relay https://code.easyllms.com/relay/mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "file-relay": {
      "type": "http",
      "url": "https://code.easyllms.com/relay/mcp"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://code.easyllms.com/relay/mcp
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

### Cursor (~/.cursor/mcp.json)

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

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "file-relay": {
      "type": "http",
      "url": "https://code.easyllms.com/relay/mcp"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://code.easyllms.com/relay/mcp
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add file-relay --url https://code.easyllms.com/relay/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.file-relay]
url = "https://code.easyllms.com/relay/mcp"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "file-relay": {
      "httpUrl": "https://code.easyllms.com/relay/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http file-relay https://code.easyllms.com/relay/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "file-relay": {
      "serverUrl": "https://code.easyllms.com/relay/mcp"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "file-relay": {
      "url": "https://code.easyllms.com/relay/mcp",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "file-relay": {
      "type": "streamableHttp",
      "url": "https://code.easyllms.com/relay/mcp"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "file-relay": {
      "url": "https://code.easyllms.com/relay/mcp"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

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

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

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

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

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

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://code.easyllms.com/relay/mcp
```

Enter a Name (for example "File Relay"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "file-relay": {
      "type": "http",
      "url": "https://code.easyllms.com/relay/mcp"
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 1 of 5 tools deletes data and 1 changes data; 1 name doesn't say. From the server's own tool labels and tool names; not verified by us.

- `create_upload_link` (name suggests: changes): Returns a one-time upload URL for a file the agent saved locally.
- `relay_attached_file`: Turns a ChatGPT file reference into a download link.
- `get_file_info` (name suggests: reads): Lets another agent look up a relayed file.
- `read_file` (name suggests: reads): Lets another agent read a relayed file.
- `delete_file` (name suggests: deletes): Deletes a file early using its delete token.

## FAQ

### Do I need an account?

No. The server URL is used with no sign-in.

### How long are files kept?

Links expire after 24 hours by default, at most 7 days, and files are deleted from storage within 7 days.

### What does the agent need?

A shell with internet access to run curl for the upload.

### Is File Relay safe for sensitive files?

The site warns that anyone with the link can download until expiry, so do not relay secrets.

### How do I add File Relay to Claude Code?

Run this command in your terminal: claude mcp add --transport http file-relay https://code.easyllms.com/relay/mcp

### What are the best alternatives to File Relay?

The closest alternatives to File Relay are Scholar Sidekick, Stashpad, loremfile, Excel-AI-ze and SSRS2.

## Where this comes from

- Description: written from the project's website.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Scholar Sidekick](https://ai-powered.com/mcp/scholar-sidekick): Scholar Sidekick is a freemium MCP server for education and exams.
- [Stashpad](https://ai-powered.com/mcp/stashpad): Stashpad is an open-source MCP server for files and documents.
- [loremfile](https://ai-powered.com/mcp/loremfile): loremfile is a free MCP server for developer tools.
- [Excel-AI-ze](https://ai-powered.com/mcp/excel-ai-ze): Excel-AI-ze is an MCP server for files and documents.
- [SSRS2](https://ai-powered.com/mcp/ssrs2): SSRS2 is an MCP server for files and documents.
- [axross headless MCP](https://ai-powered.com/mcp/axross-headless-mcp): axross headless MCP is an open-source MCP server for cloud and infrastructure.
- [PlainByte Shopify Variant Metafields CSV Validator](https://ai-powered.com/mcp/plainbyte-shopify-variant-metafields-csv-validator): PlainByte Shopify Variant Metafields CSV Validator is a paid MCP server for files and documents.
- [Merrowick Tools](https://ai-powered.com/mcp/merrowick-tools): Merrowick Tools is an MCP server for files and documents.

---
Source: https://ai-powered.com/mcp/file-relay
